classLog: Logistic regression for the classification of genetic sequences
Michael A. ZelleriD, Zebulun W. ArendseeiD, Gavin J. D. SmithiD, Tavis K. AndersoniD
Abstract
Sequencing and phylogenetic classification have become a common task in human and animal diagnostic laboratories. It is routine to sequence pathogens to identify genetic variations of diagnostic significance and to use these data in real-time genomic contact tracing and surveillance. Under this paradigm, unprecedented volumes of data are generated that require rapid analysis to provide meaningful inference. We present a machine learning logistic regression pipeline that can assign classifications to genetic sequence data. The pipeline implements an intuitive and customizable approach to developing a trained prediction model that runs in linear time complexity, generating accurate output more rapidly than other classification methods. Our approach was benchmarked against porcine respiratory and reproductive syndrome virus (PRRSv) and swine H1 influenza A (IAV) datasets. Trained classifiers were tested against sequences and simulated datasets that artificially degraded sequence quality at 0, 10, 20, 30, and 40%. When applied to a poor-quality sequence data, the classifier achieved between >85% to 95% accuracy for the PRRSv and the swine H1 IAV HA dataset and this increased to near perfect accuracy when using the full dataset. The model also identifies amino acid positions used to determine genetic clade identity through a feature selection ranking within the model. These positions can be mapped onto a maximum-likelihood phylogenetic tree, allowing for the inference of clade defining mutations. Our approach is implemented as a python package with code available at https://github.com/flu-crew/classLog.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 0.36
- Field percentile
- 50th percentile
- Assay
- Research Focus
- Approach
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
- An Improved Dataset for Predicting Mammal Infecting Viruses from Genetic Sequence Information
Tyler J. Reddy, Austin Schneider, … Nicolas Hengartner·bioRxiv·Sep 17, 2025
- ViRNN: A Deep Learning Model for Viral Host Prediction
Pierre Sphabmixay, Blake Lash·bioRxiv·Mar 30, 2024
- Alignment Free Viral Sequence Classification
Daniel J. van Zyl, Marcel Dunaiski, … Xin Wu·BMC GenomicsPeer-reviewed·Apr 18, 2025
- Analysis of SARS-CoV-2 RNA-Sequences by Interpretable Machine Learning Models
Marika Kaden, Katrin Sophie Bohnsack, … Thomas Villmann·bioRxiv·May 15, 2020
- Phylogenetic-based methods for fine-scale classification of PRRSV-2 ORF5 sequences: a comparison of their robustness and reproducibility
Kimberly L. VanderWaal, Nakarin Pamornchainavakul, … Igor A. D. Paploski·Frontiers in VirologyPeer-reviewed·Aug 13, 2024
- Development of avian influenza A(H5) virus datasets for Nextclade enables rapid and accurate clade assignment
Jordan T. Ort, Samuel S. Shepard, … Louise H. Moncla·Virus EvolutionPeer-reviewed·Jan 1, 2025