Metabarcoding and MetagenomicsBioinformaticsPeer-reviewed journal article
Alignment-free identification of COI DNA barcode data with the Python package Alfie
Abstract
Characterization of biodiversity from environmental DNA samples and bulk metabarcoding data is hampered by off-target sequences that can confound conclusions about a taxonomic group of interest. Existing methods for isolation of target sequences rely on alignment to existing reference barcodes, but this can bias results against novel genetic variants. Effectively parsing targeted DNA barcode data from off-target noise improves the quality of biodiversity estimates and biological conclusions by limiting subsequent analyses to a relevant subset of available data. Here, we present Alfie, a Python package for the alignment-free classification of cytochrome c oxidase subunit I (COI) DNA barcode sequences to taxonomic kingdoms. The package determines k-mer frequencies of DNA sequences, and the frequencies serve as input for a neural network classifier that was trained and tested using ~58,000 publicly available COI sequences. The classifier was designed and optimized through a series of tests that allowed for the optimal set of DNA k-mer features and optimal machine learning algorithm to be selected. The neural network classifier rapidly assigns COI sequences to kingdoms with greater than 99% accuracy and is shown to generalize effectively and make accurate predictions about data from previously unseen taxonomic classes. The package contains an application programming interface that allows the Alfie packages functionality to be extended to different DNA sequence classification tasks to suit a users need, including classification of different genes and barcodes, and classification to different taxonomic levels. Alfie is free and publicly available through GitHub (https://github.com/CNuge/alfie) and the Python package index (https://pypi.org/project/alfie/).
- assay: DNA methylation
- assay: metagenomics
- research focus: database / resource
- approach: machine learning (classical)
- Citations
- 19
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The Barcode Inference Pipeline (BIP): From Sequencer Output to DNA Barcodes
Sean W. J. Prosser, Ken A. Thompson, … Paul D. N. Hebert·bioRxiv·Jul 24, 2026
- Access COI barcode efficiently using high throughput Single End 400 bp sequencing
- Bacteria are everywhere, even in your COI marker gene data!
Haris Zafeiropoulos, Laura M. Gargan, … Jens Carlsson·Metabarcoding and MetagenomicsPeer-reviewed·Nov 3, 2021
- COInr and mkCOInr: Building and customizing a non-redundant barcoding reference database from BOLD and NCBI using a lightweight pipeline.
Emese Meglécz·Molecular Ecology ResourcesPeer-reviewed·Jan 19, 2023
- coil: an R package for cytochrome C oxidase I (COI) DNA barcode data cleaning, translation, and error evaluation.
Cameron M. Nugent, Tyler A. Elliott, … Sarah J. Adamowicz·GenomePeer-reviewed·May 14, 2020
- Over 2.5 million COI sequences in GenBank and growing
T. M. Porter, M. Hajibabaei·bioRxiv·Jun 22, 2018