Families, evolution and variants
A protein is understood through its relatives. GL1X gathers a chain's homologs from the archive and aligns them, measures how conserved each position is and paints it on the structure, builds trees, finds coevolving residue pairs that predict contacts, clusters sequences, searches the archive with profile HMMs, annotates sequences, carries annotations over from structural neighbours, and places variants on structures with the features models of mutational effects need — with GL1F models on chain predicting them. Every method follows its reference implementation and is checked against it (validation).
Each section says which question a tool answers, how GL1X computes the answer (step by step, as the code does it), the equations and parameters, a worked example, how to read the output and where the method stops being reliable. The numbers of the worked examples were computed with GL1X's own code, unless the text calls them an illustration.
Questions · Alignments · Conservation · Trees · Couplings · Clustering · Profile HMMs · Sequence annotation · Annotation transfer · Variants · API and MCP · Validation · References
Questions and tools #
| Question | Tool | Section |
|---|---|---|
| Which proteins are related to mine, and which of their residues correspond to mine? | multiple alignment of the chain's homologs | Alignments |
| Which positions are constrained, and what may replace each residue? | Jensen–Shannon conservation, position-specific scores | Conservation |
| How are the relatives related to each other? | neighbour-joining tree | Trees |
| Which residues touch each other? | direct coupling analysis | Couplings |
| How do I remove redundancy from a set of sequences? | clustering by identity | Clustering |
| Which proteins of the archive belong to a known family, even distantly? | profile HMM search | Profile HMMs |
| Is a stretch a coiled coil, disordered, a membrane helix or low complexity? | sequence annotation | Sequence annotation |
| What do structurally similar proteins say about my chain? | annotation transfer | Annotation transfer |
| What will a substitution do? | variant features, substitution scans, GL1F models | Variants |
The tools build on one another. The alignment is the raw material of conservation, trees, couplings, position-specific scores and the family features of variants, so its quality limits all of them. Clustering and HMM search decide which sequences belong in a set; annotation and transfer describe a chain from its own sequence and from its structural neighbours.
Multiple sequence alignment #
A multiple alignment writes related sequences as rows of one length, so
that each column holds residues descended from one position of a common
ancestor; a gap (-) marks a residue that a sequence lost, or that others
gained. Everything else on this page reads columns: a misaligned column
looks variable, gappy or falsely coupled.
Gathering homologs from the archive #
Homologs. Given a record's chain, its whole sequence is searched with BLAST (blastp, up to 5,000 hits) against every protein of the archive (E ≤ 10⁻³); hits covering at least half of it are kept, the query's part of each, dropping any sequence more than 95% identical to one already kept, up to 150 (all adjustable). Records and FASTA sequences can be added or aligned alone.
In detail:
- Each hit contributes its best local alignment (HSP) only, and only the stretch of the subject that aligns: the region homologous to the query, not the whole protein. Stretches under 10 residues, nucleotide records and exact duplicates are skipped.
- Coverage is the share of the query the HSP spans. Hits below
min_coverage(0.5) are dropped, so every row speaks for at least half of the query. - The rest are ranked by E-value and filtered greedily. Each candidate's
residues are placed on the query's positions (from its BLAST alignment);
it is dropped when, over the positions both fill, it is more than
max_identity(0.95) identical to the query itself or to a sequence already kept. - Up to
maxsequences are kept (150, at most 499). The query is the first row and the reference.
A BLAST E-value is the number of hits at least as good expected by chance
in a search of that size, so at 10⁻³ a chance hit is rare. The 95% filter
removes near-copies — the many structures of one protein, point mutants —
which add rows without adding evolutionary information. The answer's
homologs part counts the hits found, kept and dropped as redundant, and
gives the parameters used.
A record added by itself contributes each distinct protein chain sequence as one row, labelled with its PDB ID (else its molecular ID or accession) and chain.
Building the alignment step by step #
Alignment follows MUSCLE's progressive strategy (Edgar 2004a):
- Distances. For 30 sequences or fewer, every pair is aligned (with the profile aligner below) and its identity — identical residues over the columns where both have one — becomes a Kimura distance (formula; the share of differences is capped at 0.85 here). Above 30 sequences, aligning every pair would cost too much: the distance is 1 minus the share of 3-mers two sequences have in common (counted with multiplicity, over the shorter sequence), MUSCLE's alignment-free k-mer distance (Edgar 2004b).
- Guide tree. UPGMA joins the two closest groups again and again; the distance from a new group to any other is the size-weighted mean of its members' distances.
- Weights. CLUSTAL W's tree weights (Thompson et al. 1994): each sequence receives the length of every branch on its path to the root, shared equally among the sequences below that branch, and the weights are scaled to a mean of 1 (at least 0.001). Members of a crowded clade share their branches and weigh less, so fifty near-identical sequences do not outvote five diverse ones.
- Progressive alignment. Going up the tree, the two alignments (profiles) below each node are aligned to each other by dynamic programming, columns scored by weighted sum of pairs with BLOSUM62 (+1.5 offset), gap opening 8 scaled by each column's occupancy and by the share of sequences in which the gap really opens, extension 1, terminal gaps at half cost (scoring); columns left all gaps are removed.
- Second tree. Kimura distances are measured on the draft alignment, a new UPGMA tree and new weights are made, and the sequences are realigned along it: distances read from an alignment are better than k-mer estimates.
- Refinement. At each edge of the tree (the most even splits first)
the alignment is cut into the two groups of sequences on either side,
columns that are all gaps within a group are removed, and the two
profiles are realigned. The change is kept when the weighted
sum-of-pairs score rises; only pairs across the split can change. Two
passes by default (
refineallows up to 4), stopping early after a pass that changes nothing; one pass above 150 sequences, none above 400.
The weighted sum-of-pairs score that refinement maximises is
SP = Σ(i<j) wi · wj · Σ(columns) s
s = BLOSUM62(a, b) + 1.5 a residue against a residue
s = −8 when a gap opens, −1 for each gap column (half of both at either end)
s = 0 a gap against a gap
with wi the CLUSTAL W weights. Profile alignment never changes the columns inside a profile: a gap placed early stays, and refinement is what can undo an early mistake.
Scoring profiles against each other #
When profile A (a group of aligned sequences) is aligned with profile B, column i of A against column j of B scores
s(i, j) = Σa Σb fA(i, a) · fB(j, b) · (BLOSUM62(a, b) + 1.5)
open = 8 · occA(i) · openB(j) a new gap in B facing column i of A
extend = 1 · occA(i) each column the gap spans
where fA(i, a) is the weighted share of A's sequences with residue a in column i, occA(i) the weighted share with any residue there, and openB(j) the weighted share of B's sequences that have residues on both sides of the boundary j where the gap goes. Only in those does a new gap open; sequences that already have a gap there merely extend it. Gaps facing either end of the alignment cost half. Scores are in BLOSUM62's half-bits, per pair of sequences.
The parameters (gap opening 8, extension 1, terminal factor 0.5, offset 1.5) were tuned on curated reference alignments. The offset matters: two random residues score −1.0 half-bit on average with BLOSUM62 (under its own background frequencies), and +0.5 with the offset, so the aligner prefers pairing residues to opening gaps, as aligning homologs end to end requires.
Worked example (equal weights, ten sequences in B, A's column full so occA = 1): a gap that opens in all ten sequences of B costs 8 × 1 × 1 = 8, plus 1 per column; if four of the ten already have a gap at that boundary it opens in six and costs 8 × 0.6 = 4.8. Facing the end of the alignment the same gaps cost 4 and 2.4 to open and 0.5 per column. New gaps are cheapest where gaps already are — usually in loops — as in real families.
Formats and limits of alignments #
Up to 500 sequences of up to 3,000 residues; an alignment stops when its time limit (150 s) is reached or its requester leaves. Alignments made elsewhere — up to 5,000 sequences of 10,000 columns — are read as aligned FASTA, A2M/A3M, Clustal or Stockholm and scored the same way; a tree is drawn for 1,000 sequences at most (and not when the pairs of sequences times the columns exceed 2.5 × 10⁹).
In A2M/A3M, upper-case letters and - are the match columns; lower-case
letters and dots are insertions relative to them, and are left out. format
says how to read the text: a2m or a3m leave the insertions out, fasta
reads every letter as a column (lower case as upper case), clustal and
stockholm check the text is one, and auto (the default) takes FASTA rows
as A2M/A3M when they differ in length or when a row mixes upper- and
lower-case letters, as plain aligned FASTA otherwise; Stockholm is read the
same way (hmmalign writes its insert states in lower case), Clustal with
every letter a column. So
>ref AaaCD and >other ACddD read as two rows of three columns, ACD
and ACD, four insertion letters left out (before 3.4.0 the two rows,
equal in length, were read as five columns). Every answer says how its
alignment was read (input: the format, rows, columns, insertion letters
left out). ., - and ~ are gaps. In sequences to
be aligned, letters other than the 20 amino acids (X, B, Z, J, U, O) are
kept as unknown residues and scored with BLOSUM62's X row.
Reading an alignment answer #
| Field | Meaning |
|---|---|
sequences[].row | the aligned row |
sequences[].weight | the sequence's Henikoff weight (below) times the number of sequences, so the weights average 1; below 1 for a sequence with close relatives |
sequences[].identity_to_reference | identity to the reference row over the columns both fill |
conservation.jsd | Jensen–Shannon conservation of each column (null where more than 30% are gaps) |
conservation.entropy, gaps, consensus | Shannon entropy of the residues (bits), share of gaps, the most frequent residue by weight (- when half or more of the column is gaps) |
tree | the neighbour-joining tree in Newick, and the distance used (tree_note says why when none is drawn) |
structure | for each residue of the reference chain's structure, its column and conservation |
homologs | the hits found, kept and dropped as redundant, with the parameters |
method | the aligner and its parameters |
Each sequence's weight and its identity to the reference come with each
alignment. The reference row is the first: the query chain for homologs,
otherwise the first sequence given (homologs come first, then FASTA
sequences, then records). For an alignment made elsewhere it is the row
named by reference, or else the row most like the record's chain: the
five rows sharing the most 3-mers with the chain are aligned to it and the
one with the most identical residues wins.
Pitfalls of alignments #
- Accuracy falls as a family diverges, and GL1X's lead shrinks with it: on curated Pfam seeds it matches MUSCLE and passes MAFFT, while on simulated families of 30–60% identity MAFFT does better (0.880 against 0.839; see validation).
- A homolog that shares one domain of a multi-domain query fills only part
of its row;
min_coveragekeeps such rows to those spanning at least half the query. - Repeats and low-complexity stretches can be aligned out of register: look at the alignment around a surprising score.
- A column that is mostly gaps holds an insertion in a few sequences; it is not scored for conservation and is left out of couplings.
- Sets of your own may hold many copies of one protein: cluster them first (clustering).
Conservation and profiles #
Why conservation points to function #
A residue that matters — a catalytic residue, a ligand contact, a buried residue that holds the fold, a glycine in a tight turn — tolerates few substitutions. Most changes there harm the protein and are removed by selection, so across a family its column stays nearly invariant, while a surface residue without a role drifts freely. Conservation reads the constraint from the column's variability. Capra and Singh (2007) found that comparing a column with the background distribution of amino acids, and taking the neighbouring columns into account, improves the prediction of catalytic and ligand-binding residues; GL1X computes their score.
Sequence weights #
Families are sampled unevenly: some branches hold dozens of close sequences, others one. Henikoff position-based weights (Henikoff and Henikoff 1994) correct for this. At each column, every residue receives
1 / (number of residue types in the column × number of sequences with that residue)
and a sequence's weight is the mean of what it receives over all columns. Gaps and letters other than the 20 amino acids take no part. The example of the original paper, as GL1X computes it:
GYVGS 4/15
GFDGF 4/15
GYDGF 1/5
GYQGG 4/15
In the second column (Y, F, Y, Y) each Y receives 1/(2 × 3) = 1/6 and the
lone F 1/2. GYDGF shares its residues with others at every variable
column, so it weighs least. Conservation and the position-specific scores use these
weights; the aligner uses CLUSTAL W's tree weights.
The Jensen–Shannon score step by step #
Jensen–Shannon divergence (Capra and Singh 2007), exactly as their
score_conservation.py: each column's amino-acid distribution (Henikoff
sequence weights, pseudocount 10⁻⁷) against the BLOSUM62 background
distribution, multiplied by the weighted share of non-gap residues; columns
with more than 30% gaps are not scored; the score is smoothed over a window
of 3 columns on each side with weight λ = 0.5.
1 counts n(a) = Σk wk [sequence k has a] + 10⁻⁷ a: 20 amino acids and the gap
(other letters count as gaps)
f(a) = n(a) / (Σk wk + 21 · 10⁻⁷)
2 residues q(a) = f(a) / Σ(b ≠ gap) f(b)
3 divergence r(a) = ½ q(a) + ½ p(a) p: BLOSUM62 background
JSD = ½ Σa q(a) log2(q(a) / r(a)) + ½ Σa p(a) log2(p(a) / r(a))
4 gaps raw = JSD × (1 − weighted share of gaps)
no score when more than 30% of the sequences have a gap there
5 window score(c) = ½ raw(c) + ½ × mean raw of the scored columns c−3 … c+3 (c left out)
the first and last three columns keep their raw score
With base-2 logarithms JSD lies between 0, a column that looks exactly like the background, and 1. Each column also comes with its Shannon entropy (−Σ q log2 q over the residues, from 0 to 4.32 bits), its share of gaps and its consensus residue. The answers give the windowed score.
What a conservation score means #
Raw scores of typical columns of ten equally weighted sequences, from GL1X's formula:
| Column | Raw score |
|---|---|
| W ×10 | 0.948 |
| C ×10 | 0.919 |
| A ×10 | 0.799 |
| G ×10 | 0.790 |
| L ×10 | 0.773 |
| D ×5, E ×5 | 0.741 |
| I ×8, V ×2 | 0.727 |
| L ×9, P ×1 | 0.717 |
| I ×5, V ×5 | 0.704 |
| I ×4, V ×3, L ×3 | 0.584 |
| ten different residues (A R N D C Q E G H I) | 0.323 |
| exactly the background composition | 0.000 |
| L ×8 and 2 gaps | 0.619 |
| L ×7 and 3 gaps | 0.541 |
| L ×6 and 4 gaps | not scored |
Three lessons follow.
- The ceiling depends on the residue. An invariant column scores 0.773 for leucine, the commonest residue of the background (9.2%), and 0.948 for tryptophan, the rarest (1.4%). The score measures how far the column is from what chance would give, and an invariant rare residue is further. Scores near 1 come only from invariant rare residues; in the table, columns of one or two residue types score 0.70–0.95, a column of three similar residues 0.58.
- Residues are symbols. JSD knows no chemistry: a column split evenly between isoleucine and valine (a conservative hydrophobic position) scores 0.704, a leucine column with one proline 0.717, although a proline breaks a helix. The position-specific scores below bring in similarity.
- Gaps lower the score in proportion, and above 30% gaps a column has no score.
The window then mixes neighbours in. As an illustration, a column scoring 0.80 between five scored neighbours averaging 0.40 (and one unscored) becomes 0.5 × 0.80 + 0.5 × 0.40 = 0.60. A conserved patch is reinforced and a lone conserved residue in a variable stretch is pulled down: the windowed score can understate an isolated invariant residue, so check its column.
Conservation on the structure #
The reference chain's residues sit on the columns, so conservation is
painted on its structure and conserved surface patches — functional sites —
stand out. The reference row is mapped onto the chain's whole sequence by
alignment, and from there onto the residues the structure contains; the
answer's structure gives each structure residue its column and score.
The explorer colours them in ConSurf's nine grades by rank: the chain's scored residues are sorted by score and cut into nine groups of equal size, from grade 1 (the most variable ninth, turquoise) through grade 5 (white) to grade 9 (the most conserved ninth, maroon). Residues without a score stay uncoloured. Grades are relative to the chain — grade 9 means among the most conserved ninth of this protein, whatever the absolute scores — so compare scores, not grades, between proteins.
A conserved residue on the surface suggests a functional site, a binding
or catalytic patch; a conserved buried residue more likely holds the fold.
The accessibility in the sequence annotation and
the variant features (mut_rsa, mut_conservation) tell the two apart.
Position-specific scoring matrix #
PSSM. Position-specific log-odds (bits) with PSI-BLAST's BLOSUM62 conditional pseudocounts (Altschul et al. 1997; β = 10, α = the number of distinct residues in the column − 1, at least 1: PSI-BLAST's Nc − 1 taken column by column), the substitution scores of the variant tools.
A PSSM answers: how much more often than chance would this family put residue b at this position? A column of a few sequences never shows every acceptable residue, so the observed frequencies are mixed with pseudocounts that spread probability to residues BLOSUM62 finds similar to those observed:
f(a) weighted frequency of residue a in the column (Henikoff weights, gaps left out)
P(b|a) = p(b) · 2^(BLOSUM62(a,b)/2) / Σb' p(b') · 2^(BLOSUM62(a,b')/2)
g(b) = Σa f(a) · P(b|a) pseudocount frequencies
α = max(Nc − 1, 1) Nc: distinct residues in the column
β = 10
Q(b) = (α · f(b) + β · g(b)) / (α + β)
score = log2(Q(b) / p(b)) bits; 0 for every residue in a column of gaps
P(b|a) is the probability, under BLOSUM62's target frequencies, that a position holding a holds b in a relative. Scores of example columns (weighted frequencies as given):
| Column | α | Highest scores (bits) | Lowest scores (bits) |
|---|---|---|---|
| W 100% | 1 | W +5.43, Y +0.69, F +0.19 | D, N, P −2.31 |
| C 100% | 1 | C +4.52, A −0.24 | E −2.24 |
| G 100% | 1 | G +2.89; A, N, S −0.35 | I, L −2.35 |
| L 100% | 1 | L +2.19, I +0.83, M +0.83, V +0.33 | D, G −2.17 |
| I 80%, V 20% | 1 | I +2.16, V +1.55, L +0.73, M +0.31 | G −2.07 |
| I, L, V, M, F 20% each | 4 | M +2.01, F +1.59, I +1.32, V +1.16, L +1.06 | G −2.18, D −2.09 |
Each bit doubles the odds: +2 bits means four times more likely than in proteins at large. Three things to know when reading them:
- Rarity counts. An invariant tryptophan scores +5.43 and an invariant leucine +2.19; in the last column the five residues are equally frequent, yet methionine (2.4% of the background) scores highest.
- Pseudocounts dominate uniform columns. With one or two residue types α = 1 against β = 10, so the data weigh 1/11 and the BLOSUM62 relatives of the observed residues take the rest: leucine, never seen in the I/V column, scores +0.73.
- α counts residue types, not sequences. A column of 500 identical residues gets the same scores as a column of three; the scores do not grow more confident with the depth of the family.
Limits of conservation scores #
- Scores are only as informative as the family is deep and diverse: in an alignment of ten near-identical sequences every column looks conserved. Weights reduce the effect but cannot create diversity; look at the number of sequences and their identities.
- Conservation reflects any constraint — fold, function, interaction, expression — and does not say which.
- The window blurs single sites; columns with more than 30% gaps have no score; a misaligned region looks variable.
Trees #
A tree summarises how the sequences of a family are related: which pairs diverged most recently and how much change separates them. GL1X builds neighbour-joining trees from distances measured on the alignment.
Neighbour joining (Saitou and Nei 1987; Studier and Keppler's formulation, 1988) on Kimura distances for proteins (−ln(1 − p − 0.2p²)), or p-distances, or Poisson-corrected; written as Newick, drawn in the workbench.
Distances between aligned sequences #
Each pair is compared over the columns where both sequences have a residue (an X counts as compared but never as identical):
p = 1 − identical / compared
p-distance = p
Poisson = −ln(1 − p) 1 − p at least 10⁻⁶, distance at most 10
Kimura = −ln(1 − p − 0.2 p²) the default; the argument at least 0.05
As sequences diverge, some positions change more than once, so the share of differences p underestimates the substitutions that happened. The Poisson correction assumes every site changes at one rate; Kimura's empirical formula for proteins (Kimura 1983) corrects more. Both estimate substitutions per site:
| p | Poisson | Kimura |
|---|---|---|
| 0.10 | 0.105 | 0.108 |
| 0.30 | 0.357 | 0.383 |
| 0.50 | 0.693 | 0.799 |
| 0.70 | 1.204 | 1.600 |
| 0.80 | 1.609 | 2.631 |
| 0.82 and above | 1.715 and more | 2.996 |
Kimura's formula breaks down near p = 0.854, where its argument reaches zero; GL1X floors the argument at 0.05, so every pair more than about 82% different gets the same distance, 2.996, and such pairs cannot be told apart. A pair without a single column that both fill gets the largest distance found among the other pairs (10 if there is none).
Neighbour joining step by step #
Joining the two closest sequences first, as UPGMA does, is right only if every lineage evolves at the same rate. Neighbour joining instead corrects each distance by how far each of the two nodes is from all the others:
r(i) = Σk d(i,k) / (m − 2) m: nodes not yet joined
Q(i,j) = d(i,j) − r(i) − r(j) join the pair with the smallest Q
li = (d(i,j) + r(i) − r(j)) / 2 branch from i to the new node u
lj = d(i,j) − li
d(u,k) = (d(i,k) + d(j,k) − d(i,j)) / 2 distances of the new node
The joins repeat until two nodes remain, which are linked by the distance between them. The tree is unrooted; it is drawn rooted at the last join and written in Newick with five decimals (names with spaces or Newick's reserved characters are quoted).
Worked example. Distances measured along the tree ((A:0.10,B:0.20):0.15,C:0.30,(D:0.05,E:0.25):0.10):
| A | B | C | D | E | |
|---|---|---|---|---|---|
| A | 0 | 0.30 | 0.55 | 0.40 | 0.60 |
| B | 0.30 | 0 | 0.65 | 0.50 | 0.70 |
| C | 0.55 | 0.65 | 0 | 0.45 | 0.65 |
| D | 0.40 | 0.50 | 0.45 | 0 | 0.30 |
| E | 0.60 | 0.70 | 0.65 | 0.30 | 0 |
In the first round r(A) = 1.85/3 = 0.617 and r(B) = 2.15/3 = 0.717, so Q(A,B) = 0.30 − 0.617 − 0.717 = −1.033, the smallest; D and E are as close (0.30) but Q(D,E) = −1.000. A and B are joined with branches (0.30 + 0.617 − 0.717)/2 = 0.10 and 0.20. GL1X returns
(D:0.05000,(C:0.30000,(B:0.20000,A:0.10000):0.15000):0.10000,E:0.25000);
the original tree with its branch lengths, drawn from another root. Neighbour joining recovers the tree exactly whenever the distances fit a tree.
Reading a tree #
- Branch lengths are estimated substitutions per site. The drawing's root (the last join) carries no evolutionary meaning; root the tree on an outgroup you know.
- GL1X gives no support values (no bootstrap), so the tree does not say which splits are robust.
- When distances do not fit a tree exactly, neighbour joining can return short negative branches; GL1X writes them as computed. Read them as zero.
- Pairwise distances over shared columns are noisy for gappy pairs, and saturate beyond about 82% difference.
- The tree of one family is a gene tree; it need not follow the species' history.
Direct coupling analysis #
Why coevolution reveals contacts #
Residues in contact coevolve. When a substitution at one residue weakens its contact with another — a charge reversed, a small side chain turned large — a substitution at the partner can restore it; over many generations the two columns of the family vary together. Correlation is transitive, though: if A covaries with B and B with C, A and C correlate without touching. Direct coupling analysis (Weigt et al. 2009) fits one statistical model to the whole family, a Potts model in which every pair of columns has its own coupling,
P(x1 … xL) = exp( Σi hi(xi) + Σ(i<j) Jij(xi, xj) ) / Z
with fields h and couplings J chosen so that the model's frequencies of single residues and of residue pairs equal the alignment's. Indirect correlations are then explained by chains of direct couplings and do not need a coupling of their own. Mean-field DCA (Morcos et al. 2011) approximates the couplings by minus the inverse of the correlation matrix.
Direct and indirect correlations #
An illustration with three continuous variables shows why an inverse separates the two. Let A and B correlate at 0.6, B and C at 0.6, and A and C at 0.36 = 0.6 × 0.6, all of it passed on through B. GL1X's Cholesky inversion gives
correlation A B C inverse A B C
A 1.00 0.60 0.36 A 1.5625 −0.9375 0.0000
B 0.60 1.00 0.60 B −0.9375 2.1250 −0.9375
C 0.36 0.60 1.00 C 0.0000 −0.9375 1.5625
The A–C element of the inverse is exactly zero: the correlation of 0.36 is fully explained by the links A–B and B–C. Mean-field DCA does the same with a block of 20 × 20 states for each pair of columns (step 4 below).
The computation step by step #
Mean-field DCA (Morcos et al. 2011), as the authors' dca.m: 21 states
(gap and 20 amino acids), sequences reweighted at 80% identity, pseudocount
0.5, the coupling matrix from the inverse of the correlation matrix
(Cholesky), direct information for each pair of columns, and the
APC-corrected Frobenius norm of the couplings in the zero-sum gauge
without gaps (Ekeberg et al. 2013), the better contact predictor.
- Alphabet. The gap comes first, then the amino acids in alphabetical
order (as
dca.mnumbers them); any other character counts as a gap. - Reweighting. Sequences that differ at fewer than 20% of the columns
(more than 80% identical, gaps compared as a state) count as one:
wk = 1 / (1 + number of other sequences that close to k) Meff = Σk wk the effective number of sequences - Frequencies with a pseudocount weight λ = 0.5: an even mixture of the
data and a uniform distribution, which regularises the model and makes
the correlation matrix invertible:
fi(a) = (1 − λ) · Σk wk [xk,i = a] / Meff + λ / 21 fij(a,b) = (1 − λ) · Σk wk [xk,i = a][xk,j = b] / Meff + λ / 21² i ≠ j fii(a,b) = fi(a) when a = b, 0 otherwise Cij(a,b) = fij(a,b) − fi(a) · fj(b) - Reference state. The 21 frequencies of a column sum to one, so its 21
rows of C depend on each other. One state per column (the last, Y) is
left out, as in
dca.m, and the couplings are measured against it: C is 20L × 20L for L columns. - Inversion. C is factorised by Cholesky's method (a lower-triangular matrix times its transpose) and inverted; a matrix that is not positive definite fails the job ("more diverse sequences are needed"). The couplings are eij(a,b) = −(C⁻¹)ij(a,b), and 0 for the left-out state.
- Direct information. For each pair, a model of the two columns that
contains only their direct coupling, with fields fitted (up to 10,000
rounds, until no marginal moves by more than 10⁻⁴) so that its marginals
are fi and fj; DI is its mutual information, in nats:
Pij(a,b) = exp(eij(a,b) + h̃i(a) + h̃j(b)) / z DIij = Σa,b Pij(a,b) · ln( Pij(a,b) / (fi(a) · fj(b)) ) - Frobenius norm. Couplings are only defined up to terms that depend
on one column alone (the gauge); the zero-sum gauge removes them, and
the norm leaves out the gap state, so that sequences sharing gaps do not
pass for contacts:
J'ij(a,b) = eij(a,b) − ēij(a,·) − ēij(·,b) + ēij(·,·) means over the 21 states FNij = √( Σa,b J'ij(a,b)² ) a, b: the 20 amino acids - Average product correction (Dunn et al. 2008):
It removes the part of a column's scores that comes from the column itself — its variability, the shared ancestry of the sequences — rather than from a partner. An illustration with four columns whose pairs score (1,2) 0.30, (1,3) 0.20, (1,4) 0.25, (2,3) 0.40, (2,4) 0.35 and (3,4) 0.15: column 2's mean is 0.35, the others' 0.25, the overall mean 0.275. APC subtracts 0.35 × 0.25 / 0.275 = 0.318 from column 2's pairs and 0.227 from the others, leaving (2,3) 0.082, (2,4) 0.032 and (1,4) 0.023, while (1,2) falls to −0.018 and (3,4) to −0.077. Column 2 scores highly with every column; only its pair with column 3 stands out.FN-APCij = FNij − F̄i · F̄j / F̄ F̄i: mean FN of column i, F̄: mean of all pairs - Ranking. Pairs are ranked by FN-APC, with DI alongside.
Effective sequences and when to trust couplings #
A pair's coupling is estimated from the joint frequencies of 21 × 21 pairs of states, so DCA needs many diverse sequences. Meff counts them after reweighting: in an illustration with 1,000 sequences of which 600 lie within 80% identity of one another and 400 have no close relative, the 600 weigh 1/600 each and Meff = 1 + 400 = 401. A family with fewer effective sequences than half its length gives a warning: its couplings are noise.
Worked example: the Cys-knot alignment of the tests holds 25 sequences of 112 columns. Leaving out the columns with more than half gaps keeps 105; 14 sequences keep full weight and 11 share theirs with close relatives, so Meff = 18.4, below 105/2 = 52.5, and GL1X would warn. The same alignment shows a limit no depth cures: a column that never varies cannot covary. Its nine invariant cysteines all receive identical, unremarkable coupling scores (at best 1.18 after APC, against 2.87 for the top pair), so DCA cannot tell which cysteines form the disulfides — while conservation flags all nine (raw score 0.919 each).
Reading the couplings #
Columns with more than half gaps are left out; up to 300 columns. Coupled pairs come with their distance in the reference structure, and the precision of the top L/5, L/2 and L pairs as contacts (Cβ within 8 Å, six or more residues apart).
| Field | Meaning |
|---|---|
columns, sequences, meff | the columns analysed (L), the sequences, the effective number of sequences |
reference_row, reference | the row that defines the columns and the positions |
pairs | the 3L strongest pairs by FN-APC |
pairs[].i, j | positions in the reference sequence (1-based) |
pairs[].column_i, column_j | the alignment's columns |
pairs[].fn_apc, di | the two scores |
pairs[].residue_i, residue_j, distance, contact | the structure's residue numbers, the Cβ–Cβ distance (Å; Cα for glycine or a missing Cβ) and whether it is 8 Å or less |
structure.precision_fn_apc, precision_di | top_l5, top_l2, top_l for each ranking |
warning | Meff below L/2 |
Only columns where the reference row has a residue are analysed, and
max_gaps sets the gap limit (0.5 by default); 10 to 300 columns and 10 to
5,000 sequences are accepted. The reference row is the query for homologs;
for an alignment given, the row named by reference, else the row most
like the record's chain, else the first. seqid and pseudo change the
reweighting identity (0.8) and the pseudocount weight (0.5).
Precision is the share of contacts among the top k pairs that lie six or more residues apart in the reference sequence and whose distance the structure gives, for k = L/5, L/2 and L (the contact definition CASP uses). With L = 120, for instance, k = 24, 60 and 120, and a top-L/5 precision of 0.75 means three in four of those pairs are contacts. Pairs closer than six residues appear in the list, but nearly all of them are in contact anyway, so the precision leaves them out. A strong pair far apart in the structure may be a contact of another conformation or of a homo-oligomer, a phylogenetic artefact, or noise.
Jobs, queue and limits #
DCA runs as a job (POST /api/bio/msa/dca, then GET /api/bio/msa/dca/{id}):
one runs at a time and four may be queued or running (two of one client), an
alignment given is read when the job is asked for (one that cannot run is
refused at once), results kept for an hour. A job has 30 minutes; the 256
most recent finished jobs are kept. A job's status (queued, running, done
or failed) comes with its stage (alignment, frequencies, inversion,
scores) and progress, and with the result once it is done. A family of
1,000 sequences × 200 columns takes 11.7 s on two CPUs.
Pitfalls of coupling analysis #
- Too few effective sequences: heed the warning, and gather more homologs
(raise
max, relaxevalue) or use an alignment from a larger database. - Invariant columns carry no coupling signal.
- Reweighting at 80% identity reduces, but does not remove, the correlations shared ancestry creates.
- Contacts between copies of a chain in an oligomer look like long-range couplings within the chain.
- Mean-field DCA is an approximation; pseudolikelihood inference predicts contacts better (Ekeberg et al. 2013), and GL1X implements only the mean-field method.
- At most 300 columns: analyse a long protein domain by domain, giving the alignment of one domain.
Clustering and non-redundant sets #
The greedy incremental method #
CD-HIT's greedy incremental clustering (Li and Godzik 2006): sequences
longest first, each joining the first representative it matches at the
identity threshold (identical residues of a global alignment over the
shorter sequence), else founding a cluster; a short-word filter (5-mers at
70% identity and above, 4-mers at 60%, 3 at 50%, 2 below) skips alignments
that cannot reach the threshold. Up to 5,000 sequences of 5,000 residues,
within two minutes. Datasets (POST /api/bio/dataset) take non_redundant
to keep one representative per cluster — the standard guard against
overfitting.
Because sequences are taken longest first, each cluster's representative is its longest member; a new sequence is compared with the representatives in the order they were created and joins the first that matches. The alignment is GL1X's pairwise global alignment (BLOSUM62 + 1.5, gaps 8 and 1, terminal gaps at half cost). The threshold is 0.9 by default, 0.3 to 1.
The short-word filter #
A sequence of length L that is at least t identical to a representative differs from it at no more than (1 − t)·L positions, and each difference destroys at most k of its L − k + 1 words of length k. It must therefore share at least
need = (L − k + 1) − k · (1 − t) · L
k-words with the representative (counted with multiplicity); a representative sharing fewer is skipped without aligning. For L = 300 and 5-mers:
| Threshold | Words needed (of 296) |
|---|---|
| 0.95 | 221 |
| 0.90 | 146 |
| 0.85 | 71 |
| 0.80 and below | none: every representative is aligned |
With 5-mers the bound is positive only above 80% identity, so at 90% most alignments are skipped, while at 80% and below every sequence is aligned with every representative — why low thresholds are slow, and bounded by the time limit.
Choosing a threshold #
- At the default 0.9, clusters gather the same protein from many structures, constructs and point mutants.
- For machine learning,
non_redundantkeeps one row per cluster, so that near-identical proteins cannot sit on both sides of a split between training and test data; lower thresholds give stricter sets at a higher cost. Proteins longer than 5,000 residues are kept without clustering, and nucleotide rows are kept as they are. - Identity is measured over the shorter sequence and no coverage is required: a 33-residue fragment of a 66-residue protein has identity 1 and joins its cluster at any threshold.
- Clustering is greedy: a sequence joins the first representative that matches, even when a later one is more similar, and changing the input can change the clusters.
The answer lists the clusters, largest first, each with its representative and members (identifier, label, length, record), and the representatives as FASTA: a non-redundant set.
Profile HMM search #
A profile hidden Markov model (a Pfam family, or one built with hmmbuild)
is searched against every protein of the archive with hmmsearch's pipeline
(Eddy 2011), in GL1X's own code. GL1X does not build models: bring one from
Pfam, or build one with hmmbuild from an alignment, for instance one
exported from the alignment tool.
Profile HMMs compared with BLAST #
| BLAST (blastp) | Profile HMM search | |
|---|---|---|
| Query | one sequence | a model of a family, built from its alignment |
| Substitutions | one matrix, BLOSUM62, at every position | each position's own residue probabilities |
| Insertions and deletions | the same gap costs everywhere | each position's own insert and delete probabilities |
| Score | the best local alignment | Forward: the sum over every alignment |
| Statistics | Karlin–Altschul E-values | the model's own calibration |
A profile knows that one position must be a glycine and that another takes any hydrophobic residue; BLAST charges a substitution of a catalytic residue as it charges one on the surface. A family's profile therefore finds distant members that a single sequence misses (Eddy 1998). BLAST's E-values come from Karlin–Altschul statistics (Karlin and Altschul 1990) for its scoring system; a profile HMM's from the distributions fitted to the model itself (below).
The model and its configuration #
A model has one node per consensus position k (M nodes): a match state
emitting residue a with probability ek(a), an insert state for residues
between positions, a silent delete state that skips the position, and the
seven transition probabilities between them. GL1X reads HMMER3 text files
(HMMER3/f, written since HMMER 3.1, and HMMER3/b from HMMER 3.0): protein
models (ALPH amino), probabilities stored as negative natural logarithms
(* for zero), each distribution summing to one within 0.01, up to 3,000
match states, files of up to 8 MiB. The STATS LOCAL FORWARD line is
required (hmmbuild writes it); the MSV and Viterbi lines are used when
present.
The model is configured as hmmsearch configures it: local, multihit, the length model set for each target, HMMER's background and null model, degenerate residues scored by their average.
- Match scores are log-odds against HMMER's background (BLOSUM62's composition): ln(ek(a) / p(a)). X, and B (D or N), Z (E or Q) and J (I or L), score the background-weighted mean of their residues' scores; U scores as C, O as K, any other letter as X.
- Local: a path may enter the model at any match state, with probability occ(k) / Σk' occ(k')·(M − k' + 1), occ(k) being the chance that a path through the whole model uses match state k, and leave it at any position.
- Multihit: residues before, between and after domains are emitted by special states at background frequencies; after a domain the path ends or begins another with probability ½ each, and the flanking loops stay with probability L/(L + 3), so that the expected unaligned length fits the target's length L.
- Null model: random sequence of the background composition, with ln P(null) = L · ln(L/(L + 1)) + ln(1/(L + 1)).
Scores are in bits: S = (ln P(sequence | model) − ln P(sequence | null)) / ln 2. A score of S bits means the model explains the sequence 2^S times better than chance: 20 bits is a millionfold. The Forward algorithm computes P(sequence | model) by summing over every path, that is over every alignment of the sequence to the model, weighted by its probability; the Viterbi algorithm keeps the best path alone (Durbin et al. 1998).
The filter pipeline #
Most sequences are unrelated, and filters of rising cost discard them
early: MSV (ungapped segments, P ≤ 0.02, in HMMER's integer arithmetic),
the bias filter (a two-state composition model), Viterbi (P ≤ 10⁻³) and
Forward (P ≤ 10⁻⁵, raised to E/Z so a reportable hit is never dropped);
P-values from the model's own calibration (STATS LOCAL lines). A model
without the MSV calibration line is not filtered by MSV.
| Stage | What it scores | P-value | Passes at |
|---|---|---|---|
| MSV | the best set of ungapped segments, in thirds of a bit | Gumbel, STATS LOCAL MSV (μ, λ) | 0.02 |
| Bias | the MSV score again, against a null model that may take on the model's composition | the same Gumbel | 0.02 |
| Viterbi | the best gapped path, in 500ths of a bit | Gumbel, STATS LOCAL VITERBI | 10⁻³ (skipped when the MSV P-value is already this low, or the line is absent) |
| Forward | the sum over all paths | exponential tail, STATS LOCAL FORWARD (τ, λ) | 10⁻⁵, raised to E/Z |
Gumbel P(S > x) = 1 − exp(−e^(−λ (x − μ))) MSV, Viterbi
exponential P(S > x) = e^(−λ (x − τ)) for x > τ Forward; 1 for x ≤ τ
hmmbuild fits these distributions to scores of random sequences when it builds the model; GL1X takes them from the file. The bias filter's null model is a two-state HMM: one state emits the background composition with a mean stay of 400 residues, the other the model's own composition with a mean stay of M/8, entered with probabilities 0.999 and 0.001. A protein rich in the residues the model favours can pass MSV without being related; against this null model its advantage largely disappears. Raising the Forward threshold to E/Z (Z sequences searched, reporting threshold E) keeps every hit that could be reported: with E = 10 and Z = 50,000, for instance, it becomes 2 × 10⁻⁴.
Searches of 2,000 sequences or fewer (a collection) score every sequence
fully, like hmmsearch --max, without the bias filter.
Worked example: the globin model of the tests (built from 45 globins, 148 match states) against the 215 test sequences (45 globins, 95 cyclins, 25 cystine-knot proteins and 50 others). With the default filters 170 sequences stop at MSV and 45 pass every stage: the 45 globins, all included. Without filters all 215 run through, 175 receive domains and 64 are reported at E ≤ 10 — the 19 more, at E between 0.8 and 10, are chance hits, mostly cyclins — and the same 45 are included: the filters dropped nothing significant.
Domains and the composition correction #
A target that passes is cut into domains by posterior decoding: regions where residues are likely in the model, split into domains by clustering 200 sampled paths when more than one is expected, each domain rescored alone.
- Forward and Backward give, for each residue, the probability that it lies inside a domain, and the expected numbers of domains begun and ended up to it.
- A region opens where a residue is at least 0.25 likely to be in a domain (its start taken back to where the probability rose from below 0.10) and closes where the probability drops below 0.10.
- A region probably holds more than one domain when, at some point inside it, at least 0.2 domains are expected to end before and 0.2 to begin after. Then 200 paths are sampled from the region's Forward matrix (with a fixed seed); sampled domains are linked when they overlap by 80% of the shorter on both the sequence and the model and lie on nearby diagonals (within 4); each cluster present in at least 25% of the samples becomes an envelope, its ends trimmed of the outermost 2%. A region too large to sample (more than 8 × 2²⁰ residues × states) is split where its best path leaves and re-enters the model.
- Each envelope is rescored alone, the model passing through it once, and
aligned by its best path:
ali_from–ali_toon the sequence andhmm_from–hmm_toon the model, insert residues in lower case against., deletions as-.
The null2 composition correction: sequence and domain scores lose the part a biased composition explains. From an envelope's posterior state use, GL1X computes the composition the model emits there (match emissions weighted by their expected use, insert and flanking residues at background), scores each residue by its odds under that composition, and sums them (Σ null2, at least 0). Scores lose
bias = ln(1 + ω · e^(Σ null2)) ω = 1/256
score = (ln P(seq | model) − ln P(seq | null) − bias) / ln 2
| Σ null2 (nats) | Correction (bits) |
|---|---|
| 0 | 0.006 |
| 2 | 0.041 |
| 5 | 0.66 |
| 10 | 6.4 |
| 20 | 20.9 |
The prior ω says a biased composition is unlikely, so the correction stays negligible for ordinary proteins and grows almost bit for bit once the composition explains more than ln 256 ≈ 5.5 nats; without it, low-complexity proteins would score tens of bits too high. When the domains that stay positive after correction explain the sequence better than the whole sequence score, their sum is used, as HMMER does. A domain's score is its envelope's score plus the rest of the sequence at the loop cost, less the null model and its own bias. An envelope larger than 16 × 2²⁰ cells gets no composition correction.
E-values and inclusion #
E-values = P × the number of sequences searched; a domain's conditional E-value (c-Evalue) = P × the number of sequences reported and its independent E-value (i-Evalue) = P × the number searched, as hmmsearch gives them; a sequence is included at E ≤ 0.01, a domain of it at c-Evalue ≤ 0.01. The number searched (Z) is the archive's protein count, or the collection's when one is given.
Hits are reported at E ≤ 10 by default (evalue), and up to 200 are
listed (max, at most 2,000), with alignments for the first 200. The
E-value is the number of sequences expected to score this well by chance
in a search of this size: the same score is less significant in a larger
search. The c-Evalue asks the narrower question of whether a domain is
real given that its sequence is a hit.
Worked example with the globin model (STATS LOCAL FORWARD −4.2765 0.70962). λ is close to ln 2, so each extra bit multiplies P by
e^−0.71 ≈ 0.49:
| Forward score | P | E over 2,000 sequences | E over 100,000 |
|---|---|---|---|
| 10 bits | 4.0 × 10⁻⁵ | 0.080 | 4.0 |
| 20 bits | 3.3 × 10⁻⁸ | 6.6 × 10⁻⁵ | 3.3 × 10⁻³ |
| 30 bits | 2.7 × 10⁻¹¹ | 5.5 × 10⁻⁸ | 2.7 × 10⁻⁶ |
E = 0.01 needs 12.9 bits over 2,000 sequences, 18.4 over 100,000 and 21.7 over a million. The best test hit, glob34 (146 residues), scores 232.8 bits with a bias of 0.09, E = 1.9 × 10⁻⁷¹ over the 215 sequences, one domain spanning residues 1–146 and model positions 1–148.
Reading a hit #
Each hit lists its domains with envelope and alignment coordinates on the sequence and the model, scores, biases and the alignment.
| Field | Meaning |
|---|---|
score, bias | the sequence score after the composition correction, and the correction (bits) |
evalue, pvalue, included | significance, and inclusion at E ≤ 0.01 |
expected_domains, regions | the posterior expected number of domains, and the regions found |
domains[].env_from, env_to | the envelope: where the domain lies, its edges uncertain |
domains[].ali_from, ali_to, hmm_from, hmm_to | the best alignment within it, on the sequence and on the model |
domains[].score, bias, cevalue, ievalue, included | the domain's own score and significance |
domains[].model, target | the aligned consensus and target |
The answer also gives database_size (Z), the filters used and the
pipeline counts (searched, past MSV, bias, Viterbi and Forward, with
domains). A bias close to the score means composition, not homology, made
the hit. A domain whose hmm_from–hmm_to spans part of the model is a
fragment or a divergent member. A domain whose c-Evalue is above 0.01 in
an included sequence is reported but not included: a weak or spurious
extra match.
Limits of the search #
- E-values are only as good as the model's calibration lines: a model edited by hand needs recalibrating.
- Envelopes of multi-domain regions and their composition corrections come from sampled paths with GL1X's random number generator, so they agree with HMMER's statistically, not to the digit.
- A search has five minutes; models of up to 3,000 match states.
Sequence annotation #
| Feature | Method |
|---|---|
| Coiled coils | COILS with the MTIDK matrix (Lupas et al. 1991; Lupas 1996), windows of 14, 21 (default) or 28 residues, a and d positions optionally weighted 2.5×, probability from the coiled-coil and globular score distributions as ncoils computes it; P ≥ 0.5 is a coiled coil |
| Disorder | FoldIndex (Prilusky et al. 2005): 2.785⟨H⟩ − |⟨R⟩| − 1.151 over 51 residues (mean scaled hydropathy and net charge, after Uversky's boundary); negative = likely unfolded |
| Transmembrane helices | Kyte–Doolittle hydropathy over 19 residues (Kyte and Doolittle 1982); stretches above 1.6 are candidate membrane-spanning helices |
| Low complexity | SEG (Wootton and Federhen 1993; window 12, 2.2, 2.5), as BLAST masks queries |
Each predictor reads the sequence alone; proteins of up to 40,000 residues
are annotated. Segments are reported as from–to (1-based, inclusive)
with their length and, except for low complexity, their mean value.
Coiled coils (COILS) #
A coiled coil is two or more α-helices wound around each other. Its sequence repeats every seven residues, positions a to g, with hydrophobic residues at a and d forming the seam between the helices and often charged residues at e and g. COILS (Lupas et al. 1991) recognises the repeat:
- The MTIDK profile gives each amino acid at each heptad position a value above 1 when the residue is more common there in known coiled coils than in proteins at large: leucine 3.85 at d and 3.00 at a, glutamate 4.87 at e, proline 0.11 or less everywhere.
- Every window of 21 residues (or 14 or 28) is read in the heptad frame
that puts its first residue at a, and scored by the geometric mean of
its profile values:
s = exp( Σk wk · ln m(residue k, position k) / Σk wk ) wk = 2.5 at a and d when weighted, 1 otherwise - Each residue keeps the best score of the windows covering it, and that window's heptad position; as windows start at every residue, all seven frames are tried.
- The score becomes a probability from two Gaussian distributions, fitted
to coiled coils and to globular proteins, and the prior ratio r of
globular to coiled-coil residues:
P = Gcc(s) / (r · Gglob(s) + Gcc(s)) - Residues with P ≥ 0.5 form the coiled-coil segments.
| Window | Weighted | Coiled coils: mean (SD) | Globular: mean (SD) | r | P = 0.5 at score |
|---|---|---|---|---|---|
| 14 | no | 1.82 (0.28) | 0.95 (0.26) | 20 | 1.62 |
| 21 | no | 1.74 (0.23) | 0.86 (0.21) | 25 | 1.46 |
| 28 | no | 1.69 (0.18) | 0.80 (0.18) | 30 | 1.37 |
| 14 | yes | 1.89 (0.30) | 1.04 (0.27) | 20 | 1.73 |
| 21 | yes | 1.79 (0.24) | 0.92 (0.22) | 25 | 1.53 |
| 28 | yes | 1.74 (0.20) | 0.86 (0.18) | 30 | 1.42 |
Worked example: the leucine zipper of the yeast transcription factor GCN4,
RMKQLEDKVEELLSKNYHLENEVARLKKLVGER (the test sequence), window 21
unweighted. Residues 2–22 score 1.81 (P = 0.999), residues 23–29 score 1.56
(P = 0.87) and residues 30–32 score 1.10 (P = 0.001): one segment, residues
2–29. Its heptads put L5, L12, L19 and L26 at d and M2, V9, N16 and V23 at
a, the zipper's known core. Weighted, residues 2–22 score 1.99 (P = 1.000).
COILS says whether a stretch forms a coiled coil, not how many helices it has or which way they run. Highly charged helical stretches can score as coiled coils; weighting a and d 2.5× lets the core positions count more than the charged surface ones (Lupas 1996). Short windows find short coiled coils but are noisier; long windows are stricter.
Intrinsic disorder (FoldIndex) #
Some proteins or stretches have no fixed structure on their own. Uversky et al. (2000) observed that natively unfolded proteins combine a low mean hydropathy with a high mean net charge, and drew the line between folded and unfolded proteins in that plane. FoldIndex (Prilusky et al. 2005) measures on which side of the line each window falls:
H(x) = (KD(x) + 4.5) / 9 Kyte–Doolittle hydropathy scaled to 0–1
R(x) = +1 for K and R, −1 for D and E, 0 for the others
FI = 2.785 · ⟨H⟩ − |⟨R⟩| − 1.151 means over 51 residues centred on the residue
The window is shortened at the ends of the sequence, and letters other than the 20 amino acids are left out. Stretches of five or more residues with FI below 0 are reported as disordered.
The boundary FI = 0 means, for a window without net charge, a mean scaled
hydropathy of 0.413, a mean Kyte–Doolittle value of −0.78; with a net charge
of 0.1 per residue it moves to 0.449 (−0.46). Worked example: the test
sequence of a 58-residue hydrophobic segment followed by a 27-residue
charged tail (EEKKEESSEEKPEDKKESEEPKKESSE) falls from FI +0.69 at residue
1 to −0.72 at residue 81, and the disordered segment runs from residue 48
to 85 — the 51-residue window starts calling the tail 11 residues before it
begins.
Limits. Boundaries are blurred by up to 25 residues, and a short disordered loop inside a folded domain is averaged away. FoldIndex sees composition only: a glycine–serine linker, (GS)n, has ⟨H⟩ = 0.433 and no charge, so FI = +0.056 and it is called folded. It cannot tell a stretch that folds on binding a partner.
Transmembrane helices (hydropathy) #
An α-helix crossing a lipid bilayer must bury about 20 hydrophobic residues in the membrane's hydrocarbon core (some 30 Å, at 1.5 Å per residue). Kyte and Doolittle (1982) gave each amino acid a hydropathy value and proposed that a window of 19 residues averaging above 1.6 marks a membrane-spanning segment:
| Residue | I | V | L | F | C | M | A | G | T | S | W | Y | P | H | E, Q, D, N | K | R |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hydropathy | 4.5 | 4.2 | 3.8 | 2.8 | 2.5 | 1.9 | 1.8 | −0.4 | −0.7 | −0.8 | −0.9 | −1.3 | −1.6 | −3.2 | −3.5 | −3.9 | −4.5 |
h(i) = mean hydropathy over the 19 residues centred on residue i
The profile is given for every residue (windows shortened at the ends); only full windows decide. Each window above 1.6 marks its 19 residues, and marked residues joined into stretches of at least 19 are the candidate helices, scored by the mean of the best window covering each residue.
Worked example (the test sequence): MSKKRDENKPQ +
LLVALIVGLLAFILAVLGIA + KNRDESKKQTEPRSDNK. The 20 hydrophobic residues
(12–31) average 3.10; windows centred on residues 17 to 25 pass 1.6 (the
best, 3.16, on residue 21); the candidate helix reported is residues 8–34.
It is 27 residues long for a 20-residue hydrophobic stretch, because it
includes the nine residues on either side of the outermost passing
windows: trust the middle of a segment, not its ends.
Limits. Signal peptides and buried helices of soluble proteins can pass; transmembrane helices rich in polar residues, as in channels and transporters, can fail; two helices joined by a short loop can merge into one segment; the β-strands of β-barrel membrane proteins are not detected; and nothing is said of which side of the membrane each end lies on.
Low complexity (SEG) #
Low-complexity stretches — homopolymers, short repeats, strongly biased compositions — give spurious BLAST hits and misalign. SEG (Wootton and Federhen 1993), with BLAST's parameters:
- The complexity of a window of 12 residues is the Shannon entropy of its
residue counts:
K = − Σa (na / 12) · log2(na / 12) bits, from 0 to log2 12 = 3.58 - A window with K ≤ 2.2 bits triggers a segment, which extends over the neighbouring windows with K ≤ 2.5 bits; windows with more than two non-standard residues are not scored.
- The segment is trimmed to its most improbable part — the stretch whose composition is least likely by chance — and overlapping segments are merged.
| 12-residue window | K (bits) | |
|---|---|---|
QQQQQQQQQQQQ | 0.00 | triggers |
QQQQQQQQQQQA | 0.41 | triggers |
SGSGSGSGSGSG | 1.00 | triggers |
PAPAPKPAPKPA | 1.46 | triggers |
EEKKEESSEEKP | 1.73 | triggers |
MKTAYIAKQRQI | 2.92 | ordinary sequence |
ACDEFGHIKLMN | 3.58 | the maximum |
Low complexity is not the same as disorder, though the two often overlap, and a functional repeat is masked like any other: SEG serves searches, not structural prediction.
Prediction beside the structure #
For a record's chain the structure's view comes beside the prediction: B-factors or pLDDT, the residues it lacks, DSSP and accessibility per residue — a predicted disordered stretch missing from a crystal structure, or a low-pLDDT loop of a model, confirms each other.
The answer's structure gives per residue the B-factor (experimental
structures) or pLDDT (predicted models), the DSSP letter (. for residues
the structure lacks), the relative accessibility in percent and the
structure's residue numbers, with the counts of residues observed and
missing. In predicted models pLDDT below 50 usually marks disorder.
Annotation transfer #
Proteins of similar structure often share function, but how much carries over depends on how similar they are. Annotation transfer gives what a chain's structural neighbours (structure search, TM-score ≥ 0.5 by the query, one per record) say about it, each at the confidence their similarity supports: EC numbers, ligand sites, pocket sites and names.
Choosing the neighbours #
- A structure search of the archive, whose 200 best candidates are rescored by TM-score.
- Kept: hits with a TM-score of at least
min_tm(0.5), normalised by the query's length, so it measures how much of the query is matched; other records only (the query's own record is left out); the best chain of each record; up tolimitneighbours (30, at most 100); optionally only from one collection. - Identity is counted over the residue pairs of the structural alignment — identical pairs over aligned pairs — not over a sequence alignment.
A TM-score of 0.5 or more indicates, in most cases, the same fold (Xu and Zhang 2010).
EC numbers by depth #
EC numbers are truncated to the digits the neighbour's identity in the superposition carries (Tian and Skolnick 2003) — four at ≥ 60%, three at ≥ 40%, two at ≥ 30% with TM-score ≥ 0.7, the class alone from a TM-score of 0.5 — each with how many neighbours support it:
| Identity in the superposition | TM-score | Digits kept | Confidence |
|---|---|---|---|
| ≥ 60% | any | 4, as 3.2.1.17 | high |
| ≥ 40% | any | 3, as 3.2.1.- | medium |
| ≥ 30% | ≥ 0.7 | 2, as 3.2.-.- | low |
| lower | ≥ 0.5 | 1, as 3.-.-.- | fold |
Tian and Skolnick found that enzymes keep their first three EC digits above about 40% identity and all four above about 60%; below that, structural similarity alone supports little more than the class. Each truncated number is listed with the number of neighbours giving it, the best confidence, and the best TM-score and identity among them, highest confidence first.
An illustration: neighbours with EC 3.2.1.17 at TM-score 0.92 and 65% identity, 0.81 and 35%, and 0.58 and 18% give three entries — 3.2.1.17 (high, 1 neighbour), 3.2.-.- (low, 1) and 3.-.-.- (fold, 1). A neighbour counts only at its own depth, so read the deepest number that enough neighbours support.
Ligand sites #
Ligand sites: the neighbours' ligands (not additives or ions) with their binding residues mapped onto the query through the structural alignment — where a cofactor or a drug would sit in a structure that has none.
The ligands carried are small molecules and cofactors, metals and sugars; crystallisation additives and inorganic ions are not. Their binding residues are the residues of the aligned chain with a heavy atom within 4.5 Å of one of the ligand's (binding sites); each is carried to the query residue it is aligned to, and residues outside the structural alignment are dropped. The sites are gathered per chemical component: the number of neighbours, a score (the sum of their TM-scores), the best TM-score, and each query residue with the number of neighbours that put the ligand there, best score first. A residue named by many close neighbours is a confident binding-site residue; a component seen in a single distant neighbour is a hint.
Pocket sites #
Pocket sites: the neighbours' pockets carried onto the query the same way, when most of a pocket's lining on the aligned chain aligns (three residues at least); pockets of several neighbours sharing 30% of their carried residues (Jaccard) are one site, ranked by the TM-scores of the neighbours that support it, with the best and mean druggability, how many held a ligand and which, and each residue with how many pockets line it — a binding site an apo structure or a model does not show by itself.
"Most" means at least half of the pocket's lining residues on that chain. Carried pockets are merged greedily, those of the closest neighbours first: each joins the site whose residues it overlaps most, if the Jaccard index (shared residues over all residues of the two) is at least 0.3, and otherwise founds a site. As an illustration, a pocket carried onto residues {10, 11, 14, 15, 40, 41} meets a site holding {11, 14, 15, 40, 44, 45, 46}: 4 shared of 9, Jaccard 0.44, so it joins. A site's score is the sum of the TM-scores of its distinct neighbours; ties go to the best druggability (pockets). Each site lists the pockets it gathers, with their record, rank, druggability, volume and TM-score.
Molecule names and limits #
The names the neighbours give their molecule are listed upper-cased, with how many neighbours give each (the ten commonest): a quick reading of what the chain probably is.
Gene Ontology terms are not in structure files, so GL1X does not invent them; EC numbers, ligands and names are what the archive holds.
A shared fold does not mean a shared function: folds such as the TIM barrel host many enzymatic activities, which is why a neighbour at fold level passes on only the EC class. Transferred sites rest on the residue pairs of a structural alignment, and a local shift in the alignment moves them. Neighbours come from the archive only, so a chain without close relatives there receives little.
Variants and mutational effects #
Writing and placing variants #
Variants are written as A123V, p.Ala123Val, 123V or with a chain
A:K72E, numbered along the chain's whole sequence or by the author; the
variants of one request are of one chain. Each is placed on the structure
and described by 61 features (mut_), the inputs of models of
mutational effects.
Variants are separated by commas, semicolons, spaces or new lines; up to
2,000 per request. numbering: sequence (the default) counts along the
chain's whole sequence; author uses the structure's residue numbers. A
variant whose wild type differs from the sequence, whose position lies
beyond it, whose author number the structure lacks, or whose mutant is the
wild type is returned with the reason and left out of any dataset; text
that is not a substitution is listed under unread.
The 61 features #
| Features | |
|---|---|
mut_wt_A … mut_wt_Y, mut_mt_A … mut_mt_Y | wild-type and mutant amino acid (one-hot, 40) |
mut_blosum62, mut_hydropathy_wt, mut_hydropathy_mt, mut_hydropathy_delta, mut_volume_delta, mut_charge_delta | the substitution's physicochemical change |
mut_rsa, mut_ss_helix, mut_ss_strand, mut_ss_loop, mut_contacts, mut_bfactor | the residue in the structure: accessibility, secondary structure, Cβ neighbours within 10 Å, B-factor or pLDDT |
mut_pocket, mut_interface, mut_ligand | lining a pocket, at an interface, within 4.5 Å of a ligand |
mut_conservation, mut_pssm_wt, mut_pssm_mt, mut_pssm_delta | the family: Jensen–Shannon conservation and log-odds (from an alignment or the chain's homologs) |
mut_relpos, mut_predicted | position along the sequence; predicted model or experiment |
They describe what models of mutational effects commonly weigh: how different the new residue is, how buried and packed the site is, whether it touches a ligand, a pocket or another chain, and how much the family tolerates change there. In detail:
- Change.
mut_blosum62is the BLOSUM62 score of the substitution (half-bits; Henikoff and Henikoff 1992); hydropathy is Kyte and Doolittle's;mut_volume_deltauses Zamyatnin's residue volumes (ų, Zamyatnin 1972);mut_charge_deltacounts D and E as −1, K and R as +1, every other residue as 0. - Structure.
mut_rsais the relative accessibility (0–1): the residue's accessible surface (Shrake–Rupley, as DSSP computes it) over its maximum in a Gly-X-Gly tripeptide (Tien et al. 2013); secondary structure is DSSP's (Kabsch and Sander 1983): H, G and I count as helix, E and B as strand, everything else as loop;mut_contactscounts the residues of all the record's protein chains with a Cβ (Cα for glycine) within 10 Å of the residue's;mut_rsaandmut_bfactorare −1, and the other structure features 0, for a residue the structure lacks. - Sites.
mut_pocketmarks a residue lining one of the record's pockets (pockets);mut_interfaceone that buries surface against another chain (interfaces);mut_ligandone within 4.5 Å of any ligand of the record, ions and crystallisation additives included. - Family. With an alignment (its row most like the chain is the
reference) or
homologs: true(the chain's homologs aligned, the query as reference):mut_conservationis the windowed Jensen–Shannon score of the residue's column (−1 without a family or for an unscored column), andmut_pssm_wt,mut_pssm_mtandmut_pssm_deltathe position-specific log-odds (bits; 0 without a family). - Context.
mut_relposis the position divided by the sequence's length;mut_predictedis 1 for a predicted model.
Features of three substitutions #
The substitution features, from GL1X's tables:
| Feature | A123V | K72E | W62Y |
|---|---|---|---|
mut_blosum62 | 0 | 1 | 2 |
mut_hydropathy_wt | 1.8 | −3.9 | −0.9 |
mut_hydropathy_mt | 4.2 | −3.5 | −1.3 |
mut_hydropathy_delta | +2.4 | +0.4 | −0.4 |
mut_volume_delta (ų) | +51.4 | −30.2 | −34.2 |
mut_charge_delta | 0 | −2 | 0 |
A123V adds a larger, more hydrophobic side chain — harmless on the surface,
disruptive if the site is tightly packed, which mut_rsa and
mut_contacts tell. K72E reverses a charge, whose effect depends on its
partners nearby. W62Y is a conservative exchange by BLOSUM62, yet if the
family keeps the tryptophan invariant its log-odds fall by 4.74 bits (the
invariant W column of the PSSM table).
Family log-odds and the substitution scan #
A scan scores every substitution of a stretch (up to 1,500 positions): the family log-odds change when an alignment or homologs are given, else BLOSUM62, drawn as a residues × amino acids heatmap; a model's predictions replace them when given.
family score = PSSM(mutant) − PSSM(wild type) bits
without family = BLOSUM62(wild type, mutant) half-bits
The stretch is given as from–to along the whole sequence (the whole
chain by default); the matrix has one row per position and one column per
amino acid, in the order ARNDCQEGHILKMFPSTWYV, the wild type left empty.
Each substitution's features are computed too, for a model.
Worked example: a position where the family has isoleucine at 80% and valine at 20% (weighted).
| Substitution | Family score (bits) | BLOSUM62 (half-bits) |
|---|---|---|
| I→V | −0.61 | +3 |
| I→L | −1.44 | +2 |
| I→M | −1.85 | +1 |
| I→F | −2.44 | 0 |
| I→A | −2.74 | −1 |
| I→P | −3.74 | −3 |
| I→D | −3.85 | −3 |
| I→G | −4.24 | −4 |
A negative family score means the family puts the mutant at this position less often than the wild type: −3 bits is eight times less often. The score compares with the wild type, so at a conserved position every substitution scores negative, even to the column's second residue. Scoring tolerance from the family is the principle behind SIFT (Ng and Henikoff 2003): substitutions a family never accepts at a position tend to harm the protein. A BLOSUM62 score is general: each 2 half-bits halves or doubles the odds of the exchange across all proteins (−4 is four times less often than chance), whatever the position.
Training data and GL1F models #
With measured effects (labels, e.g. ΔΔG), the variants become a training
dataset (CSV) for a GL1F model. With model, a GL1F model on chain — a free
or tips forest model with public internals, a regression (ΔΔG) or a binary
classification (damaging), whose inputs are mut_ features — predicts each
variant; GL1X replays the model reconstructed from the chain and checks its
first prediction against the chain's own answer.
- Datasets.
labelsgives one number per variant, in order; thedataset_csvholds the 61 feature columns andy, one row per variant read without error. - Models. A model's inputs may be any subset of the
mut_features in any order. Each input is turned into the model's integers at its scale (running a model); the model reconstructed from the chain is evaluated locally for every variant, and the first variant is also run on chain:checked_on_chainsays whether the integer results are identical. A regression gives a value in its training units, a binary classification a probability. GET /api/bio/variants/featureslists the features and, among the 50 newest forest models, those whose inputs are allmut_features.
Pitfalls of variant scoring #
- The features describe one structure: check
mut_predicted, and expect −1 for residues the structure lacks. mut_contactsandmut_interfacesee the record's other chains, so the same residue gains contacts in an oligomer.- Family scores measure what evolution tolerates, not energies: a substitution can destabilise a protein and still be tolerated, or harm its function without destabilising it, and the scores say nothing about gains of function.
- GL1X keeps labels as given: decide whether positive ΔΔG means destabilising, and keep one convention for the dataset and the model.
- Variants of one protein are strongly correlated: split training and test data by protein, or by cluster of proteins, not by variant.
In the explorer #
The menu's Bioinformatics onchain section opens each tool on its own page, and the research workbench runs them on one structure:
- Families & evolution (
/bio/families): Alignment & conservation aligns a record's homologs, sequences or records — or scores an alignment made elsewhere — and shows the alignment with its conservation bar, the structure painted in ConSurf's nine grades (a column click shows its residue), the neighbour-joining tree, and downloads (aligned FASTA, Newick, conservation table); Couplings (DCA) runs a job with its progress and draws the strongest couplings on a contact map against the structure's contacts; Clustering, HMM search (paste or load a HMMER3 model; hits with their domain alignments) and Sequence annotation (tracks of disorder, coiled coils, hydropathy and low complexity) complete it. - In the workbench (
/bio/workbench/{contract}/{token}): Conservation paints the family's conservation and draws the couplings as rods between residues (green when the structure has them in contact, red when not); Variants · ΔΔG scans every substitution of a stretch as a heatmap — family log-odds, BLOSUM62, or a GL1F model's ΔΔG or damage probability — with the mean per residue painted on the structure, and places named variants; Annotation paints disorder, coiled coils, transmembrane helices or B-factors and pLDDT; Neighbours lists the EC numbers, ligand sites and pocket sites carried over and paints the chosen site.
API and MCP #
| Route | MCP tool | What it does |
|---|---|---|
POST /api/bio/msa | msa_build | homologs, records or sequences aligned; conservation, weights, identities, tree |
POST /api/bio/msa/score | msa_build (with alignment) | an alignment made elsewhere, scored |
POST /api/bio/msa/dca, GET /api/bio/msa/dca/{id} | coupling_analysis | direct coupling analysis jobs |
POST /api/bio/cluster | sequence_cluster | clusters by identity |
POST /api/bio/hmm/search | hmm_search | profile HMM search of the archive |
POST /api/bio/sequence/annotation, GET /api/bio/records/{contract}/{tokenId}/sequence-annotation | sequence_annotation | coiled coils, disorder, transmembrane helices, low complexity |
GET /api/bio/records/{contract}/{tokenId}/transfer | annotation_transfer | EC numbers, ligand and pocket sites and names from structural neighbours |
POST /api/bio/variants | variant_effects | variants on a structure, features, datasets, model predictions |
POST /api/bio/variants/scan | mutation_scan | every substitution of a stretch |
GET /api/bio/variants/features | mutation_features | the mut_ features and the models that take them |
msa_build aligns a record's homologs when it is given a record and nothing
else, and scores an alignment when it is given one. coupling_analysis
starts a job and waits for it up to wait seconds (20 by default, 120 at
most), asking every second; called with job, it polls an existing one.
The parameters of every route are listed in the API reference
and the MCP tools.
Example requests #
# a chain's family from the archive: aligned, scored, with a tree
curl -s https://YOUR-DOMAIN/api/bio/msa -H 'Content-Type: application/json' \
-d '{"homologs": {"contract": "CONTRACT", "token_id": "TOKEN", "chain": "A", "max": 300}}'
# couplings of the same family: start a job, then ask for it
curl -s https://YOUR-DOMAIN/api/bio/msa/dca -H 'Content-Type: application/json' \
-d '{"homologs": {"contract": "CONTRACT", "token_id": "TOKEN", "chain": "A"}}'
curl -s https://YOUR-DOMAIN/api/bio/msa/dca/JOB
# every substitution of residues 1-100, scored by the family
curl -s https://YOUR-DOMAIN/api/bio/variants/scan -H 'Content-Type: application/json' \
-d '{"contract": "CONTRACT", "token_id": "TOKEN", "chain": "A", "from": 1, "to": 100, "homologs": true}'
# named variants with a GL1F model of mutational effects
curl -s https://YOUR-DOMAIN/api/bio/variants -H 'Content-Type: application/json' \
-d '{"contract": "CONTRACT", "token_id": "TOKEN", "variants": "A123V, K72E", "homologs": true, "model": ID}'
# a profile HMM search: the model file as the "hmm" string
jq -Rs '{hmm: .}' globins.hmm | curl -s https://YOUR-DOMAIN/api/bio/hmm/search \
-H 'Content-Type: application/json' -d @-
# annotation of a record's chain, and what its structural neighbours say
curl -s 'https://YOUR-DOMAIN/api/bio/records/CONTRACT/TOKEN/sequence-annotation?chain=A&coils_window=28'
curl -s 'https://YOUR-DOMAIN/api/bio/records/CONTRACT/TOKEN/transfer?min_tm=0.6&limit=50'
Validation #
- Alignment, on 8 curated reference alignments (Pfam seeds of 12TM_1, 3Beta_HSD, ArsP_1, COX2_TM, Cyclin_N with 95 sequences, Phage_Coat_Gp8, Cys_knot, and HMMER's 45 globins), mean sum-of-pairs / total-column scores: GL1X 0.900 / 0.754; MUSCLE 5.1 0.901 / 0.756; MAFFT 7.505 0.889 / 0.733; Clustal Omega 1.2.4 0.868 / 0.680. On simulated families (40–200 sequences, 30–60% identity): GL1X 0.839, MAFFT 0.880, Clustal Omega 0.793. 500 sequences of ~300 residues align in 2.8 s. (The sum-of-pairs score is the share of the reference's aligned residue pairs that an alignment reproduces; the total-column score the share of its columns reproduced entirely.)
- Conservation follows
score_conservation.pyterm by term (Henikoff weights, pseudocount, background, gap penalty, window), checked against a computation by hand; DCA's direct information equalsdca.m(ProDy's reference output) to 10⁻⁶; a family of 1,000 sequences × 200 columns takes 11.7 s on two CPUs. - Trees: splits and branch lengths identical to Biopython 1.88's neighbour joining on 15 matrices of 3–25 taxa.
- Clustering against CD-HIT 4.8.1 on four simulated families at 90%, 70% and 50% identity: cluster counts equal in 7 of 12 cases and within 10% in all (450 vs 451, 131 vs 133, 38 vs 42).
- Profile HMM search against hmmsearch 3.4 with default settings on 22,338 sequences (2,005 NCBI proteins, the 215 test sequences of globins, cyclins, cystine-knot proteins and others, 79 Pfam family members, 20,050 shuffled decoys) and 8 models of 52–449 match states: the same hits at E ≤ 0.01 for every model (none missed, none extra); sequence scores within 0.05 bits (hmmsearch prints tenths) for single-domain regions and within 0.33 bits where paths are sampled; composition corrections within 0.38 bits; MSV filter decisions identical. The whole pipeline runs at about 1.5 ns per residue and model state on one core.
- Coiled coils equal ncoils (26,128 residues, within 0.0006).
Checks in the test suite #
The tests of internal/msa, internal/hmm and internal/seqann run on
their reference data in every build; the family test of internal/bio
runs when a test database is configured. They hold GL1X to these
references:
- Henikoff weights reproduce the example of the original paper; a column's Jensen–Shannon score equals a computation by hand to 10⁻¹², and the window its definition.
- Direct information equals
dca.m's on the first eight columns of the Cys-knot alignment to 10⁻⁶; the Cholesky inverse gives A·A⁻¹ = I to 10⁻⁸. - Neighbour-joining splits and branch lengths equal Biopython's to 10⁻⁹.
- For the globin and cyclin models, the Forward score of every target
hmmsearch 3.4 reports (filters off) equals its sequence score plus its
bias within 0.15 bits, and the E-values agree within 0.05 in log10; every
target hmmsearch finds at E ≤ 10⁻³ passes the MSV filter; Forward in
rescaled probabilities equals Forward in logarithms to 10⁻⁶ bits, Backward
equals Forward, and the composition GL1X computes from a model equals
hmmbuild's
COMPOline to 2 × 10⁻⁵. - COILS scores and probabilities equal those of ncoils within 0.0006 for window 21, unweighted and weighted, and for windows 14 and 28 (heptad positions may differ at ties, at most 1% of residues).
- On a lysozyme family built from a test archive: an invariant site scores above a variable one, a coupling job finishes with the structure's precision, variants and scans carry their features, a lysozyme HMM finds every lysozyme (the best at E ≤ 10⁻³⁰), GCN4's zipper is one coiled-coil segment of 25 residues or more, and clustering at 50% identity gives one cluster.
References #
- Altschul SF, Madden TL, Schäffer AA, et al. (1997) Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. Nucleic Acids Res 25:3389–3402.
- Capra JA, Singh M (2007) Predicting functionally important residues from sequence conservation. Bioinformatics 23:1875–1882.
- Cock PJA, Antao T, Chang JT, et al. (2009) Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 25:1422–1423.
- Dunn SD, Wahl LM, Gloor GB (2008) Mutual information without the influence of phylogeny or entropy dramatically improves residue contact prediction. Bioinformatics 24:333–340.
- Durbin R, Eddy SR, Krogh A, Mitchison G (1998) Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press.
- Eddy SR (1998) Profile hidden Markov models. Bioinformatics 14:755–763.
- Eddy SR (2011) Accelerated profile HMM searches. PLoS Comput Biol 7:e1002195.
- Edgar RC (2004a) MUSCLE: multiple sequence alignment with high accuracy and high throughput. Nucleic Acids Res 32:1792–1797.
- Edgar RC (2004b) Local homology recognition and distance measures in linear time using compressed amino acid alphabets. Nucleic Acids Res 32:380–385.
- Edgar RC (2022) Muscle5: high-accuracy alignment ensembles enable unbiased assessments of sequence homology and phylogeny. Nat Commun 13:6968.
- Ekeberg M, Lövkvist C, Lan Y, Weigt M, Aurell E (2013) Improved contact prediction in proteins: using pseudolikelihoods to infer Potts models. Phys Rev E 87:012707.
- Henikoff S, Henikoff JG (1992) Amino acid substitution matrices from protein blocks. Proc Natl Acad Sci USA 89:10915–10919.
- Henikoff S, Henikoff JG (1994) Position-based sequence weights. J Mol Biol 243:574–578.
- Kabsch W, Sander C (1983) Dictionary of protein secondary structure: pattern recognition of hydrogen-bonded and geometrical features. Biopolymers 22:2577–2637.
- Katoh K, Standley DM (2013) MAFFT multiple sequence alignment software version 7: improvements in performance and usability. Mol Biol Evol 30:772–780.
- Karlin S, Altschul SF (1990) Methods for assessing the statistical significance of molecular sequence features by using general scoring schemes. Proc Natl Acad Sci USA 87:2264–2268.
- Kimura M (1983) The Neutral Theory of Molecular Evolution. Cambridge University Press.
- Kyte J, Doolittle RF (1982) A simple method for displaying the hydropathic character of a protein. J Mol Biol 157:105–132.
- Li W, Godzik A (2006) Cd-hit: a fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics 22:1658–1659.
- Lupas A (1996) Prediction and analysis of coiled-coil structures. Methods Enzymol 266:513–525.
- Lupas A, Van Dyck M, Stock J (1991) Predicting coiled coils from protein sequences. Science 252:1162–1164.
- Morcos F, Pagnani A, Lunt B, et al. (2011) Direct-coupling analysis of residue coevolution captures native contacts across many protein families. Proc Natl Acad Sci USA 108:E1293–E1301.
- Ng PC, Henikoff S (2003) SIFT: predicting amino acid changes that affect protein function. Nucleic Acids Res 31:3812–3814.
- Prilusky J, Felder CE, Zeev-Ben-Mordehai T, et al. (2005) FoldIndex: a simple tool to predict whether a given protein sequence is intrinsically unfolded. Bioinformatics 21:3435–3438.
- Saitou N, Nei M (1987) The neighbor-joining method: a new method for reconstructing phylogenetic trees. Mol Biol Evol 4:406–425.
- Sievers F, Wilm A, Dineen D, et al. (2011) Fast, scalable generation of high-quality protein multiple sequence alignments using Clustal Omega. Mol Syst Biol 7:539.
- Studier JA, Keppler KJ (1988) A note on the neighbor-joining algorithm of Saitou and Nei. Mol Biol Evol 5:729–731.
- Thompson JD, Higgins DG, Gibson TJ (1994) CLUSTAL W: improving the sensitivity of progressive multiple sequence alignment through sequence weighting, position-specific gap penalties and weight matrix choice. Nucleic Acids Res 22:4673–4680.
- Tian W, Skolnick J (2003) How well is enzyme function conserved as a function of pairwise sequence identity? J Mol Biol 333:863–882.
- Tien MZ, Meyer AG, Sydykova DK, Spielman SJ, Wilke CO (2013) Maximum allowed solvent accessibilities of residues in proteins. PLoS ONE 8:e80635.
- Uversky VN, Gillespie JR, Fink AL (2000) Why are "natively unfolded" proteins unstructured under physiologic conditions? Proteins 41:415–427.
- Weigt M, White RA, Szurmant H, Hoch JA, Hwa T (2009) Identification of direct residue contacts in protein–protein interaction by message passing. Proc Natl Acad Sci USA 106:67–72.
- Wootton JC, Federhen S (1993) Statistics of local complexity in amino acid sequences and sequence databases. Comput Chem 17:149–163.
- Xu J, Zhang Y (2010) How significant is a protein structure similarity with TM-score = 0.5? Bioinformatics 26:889–895.
- Zamyatnin AA (1972) Protein volume in solution. Prog Biophys Mol Biol 24:107–123.