Protein sequence alignment explorer
The app accepts a multi-FASTA file, shows a color-coded alignment with a conservation row. The user can download aligned FASTA for the next step in the phylogeny workflow. Multiple sequence alignment is performed in this browser using BioMSA v0.3.3 by Paul Pillot.
There are many excellent sequence viewers out there — Protein Alignment Explorer is intended for my use by my students and limited to 14 taxa. It will of course accept any 14 sequences. Import your protein FASTA files as downloaded from BLASTP. For the BI-308L project, select Review taxon labels, then Use BI-308L export labels. The tool reads scientific names in recognized FASTA headers and suggests short labels such as Chicken and Human. Review the suggestions and fill in any labels the tool couldn’t match. The same labels are used in all alignment exports, so your PhyML and MrBayes trees can use consistent tip names.
Example sequences include five cytochrome c — yeast, frog, turtle, chicken, & human — in honor of Zuckerkandl, Pauling, and Margoliash (Neely & Palmblad 2021).
Protein alignment explorer
- Explore the whole alignment. Click or drag across the conservation overview to navigate. A separate coverage track helps distinguish variable regions from regions with many gaps.
- Find and investigate conserved stretches. Adjust the minimum agreement and stretch length, then select a region to see residue and gap counts and its coordinates in the reference protein. Students can bookmark stretches during the session and copy their coordinates. Provides the following statistics for evaluating alignment fits:
- Pairwise identity and overlap, with exact-match and comparable-column counts.
- Gap positions and gap runs for each taxon.
- A BLOSUM62 evaluation score, with the substitution subtotal and gap penalty shown separately. Each gap opening costs 11 points and each extension costs 1.
- Change how residues are displayed. Switch among Clustal X (Thompson et al 1997), Zappo (Jalview), and reference-based BLOSUM62 (Henikoff & Henikoff 1992), with three residue widths.
- Work with FASTA sequences from your computer.
- Send results to Open in FastTree or Open in CladeBuilder.
- Download results to Aligned FASTA or Protein NEXUS for MrBayes.
- BI-308L student: Bring in course data. Import up to 14 protein FASTA records, check the BI-308L roster.
- Tajima-like relative-rate comparison. After completing alignment, choose two aligned protein sequences, $a$ and $b$, and an outgroup, c. Compare amino acid differences from the outgroup, with and without gaps, and view the test statistic and approximate p-value for each. The test statistic is $m₁$ ($a \text{vs.} c$), $m₂$ ($b \text{vs.} c$), the number of sites compared in each pair, and $\frac{(m_1-m_2)^2}{(m_1+m_2)}$.
Protein Alignment Explorer
Align protein FASTA sequences and explore conserved regions across up to 14 taxa.
After alignment, choose two sequences and an outgroup for a Tajima-like relative-rate comparison.
Five UniProt cytochrome c sequences, in honor of Zuckerkandl, Pauling, and Margoliash. Source accessions are listed below.
Alignment fit
The evaluation sums BLOSUM62 scores over all sequence pairs and subtracts 11 points for each gap opening and 1 for each extension. This uses a separate scoring rule from the alignment search. Compare scores for alternative placements of the same sequences over equivalent regions.
Pairwise identity and overlap
Comparable columns contain two standard amino acids. Overlap is comparable columns divided by the columns in scope.
Gap positions and runs by taxon
A run is a continuous stretch of gap symbols. A run that crosses the edge of the selected stretch is counted once in the table.
Scoring rules for gaps and ambiguous residues
Terminal gaps are scored. Two gaps in a pair contribute zero and are skipped when counting openings and extensions. An ambiguous residue contributes zero and ends an active gap run in that pair. A gap already open before the selected stretch contributes only extension costs within the stretch.
Whole-alignment overview. Top shows exact agreement averaged over 15 columns. Bottom shows residue coverage. Click or drag to navigate.
Tajima-like relative-rate comparison
Choose two ingroup taxa and an outgroup. The comparison uses your choices for all three roles.
Each pair is counted separately. Gap-excluded counts use columns with two standard amino acids. Gap-inclusive counts also count an amino acid opposite a gap as one difference and two gaps as zero differences. Both counts skip columns with ambiguous residues in the pair.
The test statistic is (m₁ − m₂)² / (m₁ + m₂), where m₁ is the number of differences between a and c, and m₂ is the number between b and c. The approximate p-value is the upper-tail probability from a chi-square distribution with one degree of freedom. Interpret it cautiously when there are few differences.
| Gap handling | m₁ (a vs. c) | m₂ (b vs. c) | Test statistic | Approximate p-value |
|---|
References and suggested reading
Henikoff, S., & Henikoff, J. G. (1992). Amino acid substitution matrices from protein blocks. Proceedings of the National Academy of Sciences, 89(22), 10915–10919.
Neely, B. A., & Palmblad, M. (2021). Rewinding the Molecular Clock: Looking at Pioneering Molecular Phylogenetics Experiments in the Light of Proteomics. Journal of Proteome Research, 20(10), 4640–4645.
Pillot, P. (2024). BioMSA: Multiple sequence alignment in JavaScript (Version 0.3.3) [Computer software]. Source code on GitHub · Version 0.3.3 on npm
Thompson, J. D., Gibson, T. J., Plewniak, F., Jeanmougin, F., & Higgins, D. G. (1997). The CLUSTAL_X windows interface: Flexible strategies for multiple sequence alignment aided by quality analysis tools. Nucleic Acids Research, 25(24), 4876–4882.
Zappo. Jalview. (n.d.). Zappo colour scheme. This documentation lists the amino acid groups used to color residues by physicochemical properties. Scheme documentation. jalview.org