Build a tree from DNA
What is COI? COI (cytochrome c oxidase subunit I) is a gene in mitochondria, the parts of a cell that help make usable energy. A short stretch of COI is often used as a DNA barcode for animals, including mollusks. Scientists compare the letters in that same stretch of DNA across specimens.
What does the tree show? The tool lines up matching parts of the sequences and counts how often the DNA letters differ. The branches summarize how similar the specimens are at this one gene. A full picture of how species evolved takes more evidence.
COI neighbor-joining tree
Edit common names (optional)
Enter a name beside any accession to use it on the tree. Clear the field to restore the available default. Edits apply to this page session.
When a common name is unavailable, the tree shows the scientific name or accession number. Newick exports use accession numbers.
Custom records are aligned to the first accession, using the better strand orientation and keeping only positions with an unambiguous base in every sequence. The example set uses a precomputed starter alignment. Branch lengths use the fraction of differing bases. The center or left junction is a drawing origin. Negative estimated lengths are shown as zero in the graphic. To inspect your tree in NCBI Tree Viewer, download the Newick file and use the viewer’s Upload control.
GenBank accessions to try
These records contain partial mitochondrial cytochrome c oxidase subunit I (COI) sequences. The eight starter accessions include five muricid gastropod records and three bivalve records. Two of the gastropod records are from separate specimens of the same identified species. The two horse conch accessions are listed below for custom trees.
| Species | GenBank accession | Specimen or role |
|---|---|---|
| Chicoreus brevifrons | MK308494.1 | Muricid gastropod · voucher MNHN-IM-2013-73167 |
| Chicoreus brevifrons | MK308447.1 | Muricid gastropod · second specimen, voucher MNHN-IM-2013-72990 |
| Muricopsis sp. | MK216520.1 | Muricid gastropod · voucher MNHN-IM-2013-72549 |
| Muricopsis sp. | MK216536.1 | Muricid gastropod · voucher MNHN-IM-2013-72648 |
| Pygmaepterys sp. | MK216521.1 | Muricid gastropod · voucher MNHN-IM-2013-72239 |
| Spondylus ictericus | MH012205.1 | Spiny oyster · bivalve comparison |
| Chama macerophylla | MH012206.1 | Bivalve · isolate AMNH-2F |
| Limaria pellucida | MH012207.1 | Bivalve · isolate AMNH-3F |
| Triplofusus giganteus | KT754003.1 | Florida horse conch · 658 bp · voucher MCZ:Mala:382636 |
| Triplofusus giganteus | AF373885.1 | Florida horse conch · 591 bp · deposited as Pleuroploca gigantea |
Methods
Sequence retrieval and alignment. The application retrieves FASTA records from NCBI for at least 3 unique GenBank nucleotide accessions. User-selected records must be labeled as mitochondrial cytochrome c oxidase subunit I (COI) and contain 200–2,000 nucleotides. The browser globally aligns each sequence to the first submitted sequence in both orientations and retains the higher-scoring alignment (match +2, mismatch −1, gap −3 per nucleotide). Insertions relative to the reference are omitted. Only reference positions with an unambiguous nucleotide (A, C, G, or T) in every sequence are retained. Analysis requires at least 200 retained positions.
Starter dataset. The eight example accessions use a precomputed alignment with MK308494.1 as the reference. The reference-guided procedure used global pairwise alignments in Biopython (match +2, mismatch −1, gap opening −8, gap extension −1), evaluated both orientations, and retained 657 unambiguous positions shared by all eight records. Download the starter alignment (FASTA) or starter tree (Newick).
Tree inference and display. Pairwise distances were calculated as the fraction of retained positions at which two sequences differed (uncorrected p-distance). The application applies neighbor joining (Saitou and Nei, 1987) to infer an unrooted tree. Circular and rectangular layouts display the same inferred relationships. Negative branch lengths are drawn at zero in the browser plots and preserved in the Newick export.
Branch lengths and bootstrap support. The optional statistics display shows neighbor-joining branch lengths in differences per aligned site, with negative estimates displayed numerically and drawn at zero. Where the drawing origin splits a branch, the two displayed lengths sum to the original estimate. The tool uses 200 bootstrap replicates with a fixed random seed (1701). For each replicate it randomly draws the same number of alignment columns with replacement, then rebuilds the neighbor-joining tree. Internal branch support is the percentage of replicate trees that split the specimens into the same two groups. Terminal branches have no support percentage because each individual specimen is always present. Support is omitted when all aligned sequences are identical. Ties in neighbor joining are resolved deterministically and can affect support. Felsenstein (1985)
Bootstrap in plain language. Imagine each column of DNA letters is a card. Draw a card, write down its column, put it back, and draw again until you have a new alignment of the same length. Some columns appear several times and others are skipped. If a branch has 85% support, the same split appeared in 170 out of 200 such trees. This shows how consistently the split appears when the same DNA evidence is resampled. It does not give the probability that the branch is correct.
Likelihood. The tool uses the Jukes–Cantor (JC69) model, which assumes equal base frequencies and equal substitution rates. It calculates the log likelihood of the observed alignment by summing over possible ancestral bases. The neighbor-joining topology stays fixed. The tool clamps negative lengths to zero and fits a single shared branch-length multiplier between 0 and 32 to maximize the model likelihood within that range, using a minimum effective length of 10⁻⁸ substitutions per site in the likelihood calculation. The reported log likelihood describes the fit of the whole tree. It is separate from the bootstrap percentages. The tool does not search for a maximum-likelihood topology or fit each branch independently.
Interpretation. The tree describes relationships among the sampled COI sequences. Inference about species relationships requires additional evidence, including broader taxon sampling and independent loci. The order of submitted accessions can affect which alignment positions are retained because the first sequence defines the reference.
How to cite
Zirzow, A. C. (n.d.). Shell Phylogenetics [Web application]. Zirzow Lab. Retrieved [Month Day, Year], from https://zirzowlab.org/shell-phylogenetics.html
For reproducibility, report the GenBank accession numbers with version suffixes, the reference accession, and the number of retained alignment positions. Archive the aligned FASTA and Newick exports with your analysis. Cite the sequence authors’ publications when available and acknowledge NCBI Tree Viewer if you used it to visualize the tree.
Saitou, N., & Nei, M. (1987). The neighbor-joining method: A new method for reconstructing phylogenetic trees. Molecular Biology and Evolution, 4(4), 406–425. https://doi.org/10.1093/oxfordjournals.molbev.a040454
Background reading: NCBI’s introduction to DNA barcoding.