Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Metazoan mitochondrial gene sequence reference datasets for taxonomic assignment of environmental samples


Mitochondrial-encoded genes are increasingly targeted in studies using high-throughput sequencing approaches for characterizing metazoan communities from environmental samples (e.g., plankton, meiofauna, filtered water). Yet, unlike nuclear ribosomal RNA markers, there is to date no high-quality reference dataset available for taxonomic assignments. Here, we retrieved all metazoan mitochondrial gene sequences from GenBank, and then quality filtered and formatted the datasets for taxonomic assignments using taxonomic assignment tools. The reference datasets—‘Midori references’—are available for download at Two versions are provided: (I) Midori-UNIQUE that contains all unique haplotypes associated with each species and (II) Midori-LONGEST that contains a single sequence, the longest, for each species. Overall, the mitochondrial Cytochrome oxidase subunit I gene was the most sequence-rich gene. However, sequences of the mitochondrial large ribosomal subunit RNA and Cytochrome b apoenzyme genes were observed for a large number of species in some phyla. The Midori reference is compatible with some taxonomic assignment software. Therefore, automated high-throughput sequence taxonomic assignments can be particularly effective using these datasets.

Design Type(s) database creation objective • data integration objective
Measurement Type(s) Taxonomy
Technology Type(s) digital curation
Factor Type(s) gene list
Sample Characteristic(s) Metazoa

Machine-accessible metadata file describing the reported data (ISA-Tab format)

Background & Summary

Massively parallel sequencing technologies have revolutionized our ability to survey and monitor biological diversity. Samples containing multiple species are collected directly from the environment (e.g., from water, sediments, traps, feces) and variants of one or several sets of genes are inventoried using PCR-based (e.g., metagenetics) or PCR-free (e.g., mitogenomics, metatranscriptomics, metagenomics) approaches.

Two types of gene sequences have been widely used as phylogenetic and taxonomic markers in metazoans: nuclear-encoded ribosomal RNA genes (18S and 28S ribosomal RNA genes1,2) and mitochondrial-encoded genes3,4. Nuclear-encoded ribosomal RNA fragments, especially hypervariable regions of the 18S rRNA gene, were prime targets in early metagenetic analyses because broad-range primers well conserved across the eukaryotic domain were available2,5,6. As a result, considerable efforts have already been made to build quality filtered and formatted reference sequence datasets of nuclear-encoded ribosomal RNA genes for taxonomic assignments7,8. Mitochondrial genes, which provide higher taxonomic resolution for most metazoan groups9, have been increasingly used following the design of highly degenerate primer sets4,1012 and the development of bioinformatics tools to facilitate the assembly of mitogenomes from environmental samples13. However, high quality reference datasets that are compatible with taxonomic assignment software are not yet available for metazoan mitochondrial genes. Therefore, at the moment, most of the metazoan metagenetic studies target low-resolution nuclear ribosomal RNA gene as a marker (e.g., SILVA7). Some exceptions, which target high-resolution mitochondrial genes, used Blastn searches against sequences from GenBank for taxonomic assignments10,12 without explicit taxonomic quality control of the database. This means that high-throughput sequence taxonomic assignment with quality controlled mitochondrial gene reference dataset is currently not feasible. Here, we constructed quality-controlled reference datasets ‘Midori’ for thirteen protein-coding and two ribosomal RNA genes sequences encoded in the mitochondrial genome.

After downloading the nt datasets from GenBank, we implemented the following informatics procedures to construct the datasets (Fig. 1): (I) extraction of mitochondria-related gene sequences, (II) extraction of metazoan gene sequences, (III) insertion of taxonomic ranking information onto each sequence, (IV) removal of sequences that did not have species-level taxonomic information, (V) splitting the sequences into thirteen protein and two ribosomal RNA gene sequences, (VI) preparation of a taxonomy rank file.

Figure 1: Schematic outline illustrating the preparation of the mitochondrial-encoded genes reference datasets.
figure 1

We have prepared two versions of the 15 datasets: (I) Midori-UNIQUE, which contains for each species a representative sequence of each unique haplotype and (II) Midori-LONGEST, which contains for each species the single longest sequence. Each dataset is composed of two ribosomal RNA (Large [lrRNA] and Small [srRNA] ribosomal subunit RNA) and thirteen protein (ATP synthase subunit 6 [A6] and 8 [A8]; Cytochrome oxidase subunit I [COI], II [COII] and III [COIII]; Cytochrome b apoenzyme [Cytb]; NADH dehydrogenase subunits 1–4 [ND1-ND4], 4 L [ND4L], 5 [ND5] and 6 [ND6]) gene sequences (thirteen mitochondrial protein-coding genes found in most but not all phyla of metazoans14). In both datasets, COI had the largest number of sequences overall (Table 1). However, Cytb had a higher number of sequences in Chordata, while the lrRNA gene had the highest coverage among Cnidaria, Hemichordata and Placozoa (Fig. 2, Table 2).

Table 1 Numbers of sequences included in the reference datasets.
Figure 2: A heat map of observed gene sequence number (Z-score transformed percentage) per phylum.
figure 2

Midori-LONGEST (one sequence per species) was used for this comparison. Percentages of species with sequence data are indicated in each column. Loricifera was removed because no mitochondrial sequence was found in the nt dataset. Refer to the text for the abbreviation of gene names.

Table 2 Percentage of species with mitochondrial gene sequences out of the total described or estimated species in each phylum.

We provide two formats of Midori-UNIQUE and Midori-LONGEST ( that are compatible with taxonomic assignment software such as RDP Classifier15, SPINGO16 and BLAST+ ref. 17. We believe these datasets will improve the accuracy of taxonomic assignments of the massive numbers of sequences obtained from high throughput sequencing experiments.


Mitochondrial DNA sequence curation

The nt fasta file was downloaded from the National Centre for Biotechnology Information (NCBI) server ( on 18 September 2015 (Fig. 1). Mitochondria-related gene sequences (including nuclear-encoded mitochondrial genes) were extracted from the fasta file using a custom Perl script ( available online ( along with following scripts described below to build the reference datasets. Next, GenBank flat files of all the mitochondria-related gene sequences were downloaded using NCBI Edirect (efetch -db nucleotide -id gene_id -format gb), and metazoan flat files were extracted using a custom perl script ( Next, CDS and rRNA features were extracted from the metazoan flat files using a custom Perl script (, each combination (feature, gene and product) was counted using MySQL, and the CDS and rRNA feature table (11_Database_mtRecords_final.xlsx) was created. The table with feature combinations was manually examined to assign each gene. Sequences that could not be assigned unambiguously to one of the thirteen protein-coding genes or one of the two ribosomal RNA genes were discarded. Accession number, feature, position, gene, product and gene abbreviations of those assigned sequences were extracted using MySQL. The mitochondrial fasta file that was prepared as described above was partitioned in 15 individual fasta files with sequences of each mitochondrial-encoded gene.

Taxonomic information curation

We extracted the GI number from the mitochondrial fasta file using a custom perl script ( Then, taxonomy ID and taxonomy ranking were extracted using the gb_taxonomy_tool ( These two output files were combined into a taxonomy file using a custom perl script ( RDP classifier15 utilizes only eight taxonomic rankings (Root, Kingdom, Phylum, Class, Order, Family, Genus and Species); therefore, we extracted only those ranks. At this stage, we performed the following quality controls: (I) removal of sequences that did not have species name in the species rank; (II) removal of sequences containing the following text in the taxonomy ranks: ‘cf.’, ‘aff.’, ‘sp.’, ‘environment’, ‘undescribed’, ‘uncultured’, ‘complex’, ‘unclassified’, ‘nom.’, ‘nud.’ and ‘unidentif’ (because these terms indicate uncertainty of species identity); (III) removal of sequences with the following identifiers ‘sp0936BC’, ‘MG98.09’, ‘sp0942A’ and ‘EEG-2007’ (since these are obviously not Latin names). This quality filtration was performed using a combination of Perl, MySQL and Unix commands.

Insertion of sequences into taxonomy rank file

Each mitochondrial sequence prepared previously was added onto the taxonomy rank file using a custom perl script ( Each sequence was separated into single files using a custom perl script (, and the target region of each gene was excised and separated into different gene regions using a custom perl script ( In some cases using RDP Classifier15, incorrect taxonomy assignment was observed if the reference contained sequences that were very long or very short. Therefore, we removed sequences outside the following length ranges (nt) for srRNA: 200–2,000, lrRNA: 100–2,500, A6: 100–1,000, A8: 100–500, COI: 100–2,000, COII: 100–1,500, COIII: 100–1,300, Cytb: 100–1,500, ND1: 50–1,200, ND2: 150–1,500, ND3: 100–600, ND4: 150–2,000, ND4L: 100–700, ND5: 150–2,000 and ND6: 150–1,500.

Creation of taxonomy rank file for RDP classifier

First, we counted the number of occurrences of each taxonomy rank. Next, we extracted the eight taxonomic rankings. Then, the taxonomy rank file was formatted in two steps using two custom Perl scripts ( and On some occasions, a conflict of taxonomic names was observed, such as the same genus name for animals in different higher taxonomic groups. Such cases, caused by duplicated taxonomic names above the species level (which are prohibited within the Metazoa but occur through error) caused the taxonomic assignment software to report error messages and abort analysis. In those cases, we made some modifications to the taxonomic name, such as addition of a distinguishing number to one of them (e.g., from Automolus to Automolus01).

Code availability

Scripts used for the present reference datasets preparation are freely available from the site

Data Records

All reference datasets are freely available from the Midori reference web site ( and also Dryad Digital Repository (Data Citation 1). Midori-UNIQUE and Midori-LONGEST (see usage notes for more information) are available in two formats, one compatible with the RDP Classifier15 and the other compatible with SPINGO16. Both formats are compatible with BLAST+17; however, because the RDP format contains taxonomic rank information, we recommend using an RDP formatted file as an input to build the local BLAST+17 database (see usage notes for more information on how to build the local database). The numbers of sequences included in the datasets are listed in Table 1.

Technical Validation

Three kinds of quality filtrations were performed in the present study. First, we included only sequences that have binomial names (genus and species names). Here, we assume that species-level identifications of metazoan are more likely to be performed by well-trained taxonomic specialists, although this step does not ensure the absence of mislabelled sequences, it increases taxonomic accuracy, particularly at higher taxonomic levels. For example, a specimen identified at the species level is more likely to have a correct genus name. Second, we also performed systematic sequence length restrictions by removing extremely long or short gene sequences in the original nucleotide datasets (restriction limits are dependent on the genes, see Methods for details). We observed that sequences at the extremities of the length distribution of each gene were more likely the result of mis-annotations. We also observed that the RDP Classifier consistently provided erroneous sequence taxonomic assignments if very long or very short sequences were included in the reference datasets. Third, we attempted to detect and remove taxonomically mislabelled sequences in the datasets. To do so, we performed a high similarity (99%) clustering of the reference datasets (Table 3) within the typical range of intra-specific variations for mitochondrial-encoded genes. We assumed that, given the low threshold, sequences in each cluster should possess same taxonomic labels at least at the higher phylum-, class- and order-level. The clustering was performed on Midori-UNIQUE using UCLUST18 and clusters were flagged if they contained sequences of multiple phyla, classes or orders. To identify which sequence was mislabeled in each flagged cluster, we performed a similarity search using the BLAST server19 (blastn with ‘low complexity region filter’ and ‘mask for lookup table only’ function disabled). The distance tree functionality on the BLAST server was used to explore phylogenetic relationships with 100 close matches to each query. Sequences confidently identified as mislabelled were deleted from the datasets. Whenever we could not confidently determine which sequence of the cluster was mislabelled we retained all sequences. Overall, we found that the number of such cases was very low (Table 3) which indicates that the upstream quality filtration was effective (e.g., the inclusion of sequences with binomial names only). We did not attempt to detect mislabelled sequences at lower taxonomic levels, such as family, genus and species in the present study as they may result from a range of evolutionary factors (e.g., incipient species, hybridization, introgression) but also from issues related to classification and systematics (e.g., synonyms, taxonomic confusions, taxonomic revisions).

Table 3 Number of clusters containing multiple higher level taxonomic groups (phylum, class, order) after 99% similarity clustering.

In some cases, we observed missing taxonomic information, such as class, order or family name (e.g., accession numbers JN392469 and JF760210). In those cases, estimation of statistical support for the missing taxonomic level is not feasible. Therefore, we recommend including all standard levels of taxonomic names in the GenBank taxonomy.

Usage Notes

Midori reference datasets are compatible with the RDP Classifier15. An example of RDP Classifier usage, which required two steps, is as follows. The first step consists of training the reference dataset: $ java -Xmx64g (available memory) -jar /path-to-the-file/classifier.jar train -o /path-to-outfolder/out -s one_of_the_MIDORI_Reference.fasta -t./TaxonomyFile.txt. The second step is the actual taxonomic assignment: $ java -Xmx64g (available memory) -jar /path-to-the-file/classifier.jar classify -t /path-to-the-outfile-from-training/ -o./outfile_name.txt./query.fasta.

We also prepared the Midori reference datasets in a format compatible with SPINGO16. An example of SPINGO usage is as follows: $ spingo -b 100 -k 13 -d /database/ one_of_the_MIDORI_Reference.fasta -i /SPINGO-master/infile/query.fasta>outfile.txt.

Both formats are compatible with BLAST+17. An example of usage, which required two steps, is as follows. The first step consists of building a local database: $ makeblastdb -in DB.fasta -dbtype nucl. The second step is the actual search: $ blastn -query example.fasta -db DB.fasta. Refer to for more detailed information.

All three taxonomic assignment approaches can be used with Midori-UNIQUE and Midori-LONGEST.

Additional Information

How to cite this article: Machida, R. J. et al. Metazoan mitochondrial gene sequence reference datasets for taxonomic assignment of environmental samples. Sci. Data 4:170027 doi: 10.1038/sdata.2017.27 (2017).

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.



  1. Hillis, D. M. & Dixon, M. T. Molecular evolution and phylogenetic inference. Q. Rev. Biol. 66, 411–453 (1991).

    CAS  Article  Google Scholar 

  2. Machida, R. J. & Knowlton, N. PCR primer for metazoan nuclear 18S and 28S ribosomal DNA sequences. PLoS ONE 7, e46180 (2012).

    ADS  CAS  Article  Google Scholar 

  3. Kocher, T. D. et al. Dynamics of mitochondrial DNA evolution in animals: Amplification and sequencing with conserved primers. Proc. Natl. Acad. Sci. USA 86, 6196–6200 (1989).

    ADS  CAS  Article  Google Scholar 

  4. Machida, R. J., Kweskin, M. & Knowlton, N. PCR primers for metazoan mitochondrial 12S ribosomal DNA Sequences. PLoS ONE 7, e35887 (2012).

    ADS  CAS  Article  Google Scholar 

  5. Fonseca, V. G. et al. Second-generation environmental sequencing unmasks marine metazoan biodiversity. Nat. Commun. 1, 98 (2010).

    ADS  Article  Google Scholar 

  6. Bik, H. M. et al. Sequencing our way towards understanding global eukaryotic biodiversity. Trends Ecol. Evol. 27, 233–243 (2012).

    Article  Google Scholar 

  7. Quast, C. et al. The SILVA ribosomal RNA gene database project: improved data processing and web-based tools. Nucl. Acid Res. 41 (D1): D590–D596 (2013).

    MathSciNet  CAS  Article  Google Scholar 

  8. Guillou, L. et al. The protest ribosomal reference database (PR2): a catalog of unicellular eukaryote small sub-unit rRNA sequences with curated taxonomy. Nucl. Acid Res. 41 (D1): D597–D604 (2013).

    CAS  Article  Google Scholar 

  9. Brown, W. M., George, M. & Wilson, A. C. Rapid evolution of animal mitochondrial DNA. Proc. Natl. Acad. Sci. USA 76, 1967–1971 (1979).

    ADS  CAS  Article  Google Scholar 

  10. Leray, M. & Knowlton, N. Censusing marine eukaryotic diversity in the twenty-first century. Philos. Trans. R. Soc. Lond., B, Biol. Sci 371, 1702 (2016).

    Article  Google Scholar 

  11. Leray, M. et al. A new versatile primer set targeting a short fragment of the mitochondrial COI region for metabarcoding metazoan diversity: application for characterizing coral reef fish gut contents. Front. Zool. 10, 34 (2013).

    Article  Google Scholar 

  12. Leray, M. & Knowlton, N. DNA barcoding and metabarcoding of standardized samples reveal patterns of marine benthic diversity. Proc. Natl. Acad. Sci 112, 2076–2081 (2015).

    ADS  CAS  Article  Google Scholar 

  13. Yu, D. W. et al. Biodiversity soup: metabarcoding of arthropods for rapid biodiversity assessment and biomonitoring. Methods Ecol. Evol 3, 613–623 (2012).

    Article  Google Scholar 

  14. Gissi, C., Iannelli, F. & Pesole, G. Evolution of the mitochondrial genome of metazoan as exemplified by comparison of congeneric species. Heredity 101, 301–320 (2008).

    CAS  Article  Google Scholar 

  15. Wang, Q., Garrity, G. M., Tiedje, J. M. & Cole, J. R. Naïve Bayesian classifier for rapid assignment for rRNA sequences into the new bacterial taxonomy. Appl. Environ. Microbiol. 73, 5261–5267 (2007).

    CAS  Article  Google Scholar 

  16. Allard, G., Ryan, F. J., Jeffery, I. B. & Claesson, M. J. SPINGO: a rapid species-classifier for microbial amplicon sequences. BMC Bioinformatics 16, 324 (2015).

    Article  Google Scholar 

  17. Camacho, C. et al. BLAST+: architecture and applications. BMC Bioinformatics 10, 421 (2008).

    Article  Google Scholar 

  18. Edgar, R. C. Search and clustering orders of magnitude faster than BLAST. Bioinformatics 26, 2460–2461 (2010).

    CAS  Article  Google Scholar 

  19. Altschul, S. F., Gish, W., Miller, W., Myers, E. W. & Lipman, D. J. Basic local alignment search tool. J. Mol. Biol. 215, 403–410 (1990).

    CAS  Article  Google Scholar 

  20. Chapman, A. D . Numbers of living species in Australia and the world. 2nd edition, Australian Government, Department of the Environment and Energy. (2009).

    Google Scholar 

Data Citations

  1. Machida, R. J. Dryad Digital Repository (2016)

Download references


We are grateful to Peter Hsiao and Slash Pan for helping us to establish the Midori reference website. We also express our thanks to the members of the Machida Laboratory at the Biodiversity Research Centre, Academia Sinica. This work was funded by the Ministry of Science and Technology (102-2611-M-001-002-MY3, 105-2621-B-001-003) and Academia Sinica, Taiwan. The funders had no role in the study design, data analysis, decision to publish or preparation of the manuscript.

Author information

Authors and Affiliations



Conceived and designed the experiments: R.J.M., M.L. and N.K. Performance of informatics analyses: R.J.M. and S.L.H. Wrote the paper: R.J.M., M.L. and N.K.

Corresponding author

Correspondence to Ryuji J. Machida.

Ethics declarations

Competing interests

The authors declare no competing financial interests.

ISA-Tab metadata

Rights and permissions

This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder to reproduce the material. To view a copy of this license, visit Metadata associated with this Data Descriptor is available at and is released under the CC0 waiver to maximize reuse.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Machida, R., Leray, M., Ho, SL. et al. Metazoan mitochondrial gene sequence reference datasets for taxonomic assignment of environmental samples. Sci Data 4, 170027 (2017).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:

Further reading


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing