This content will become publicly available on January 1, 2027

Title: Normalized compression distance for DNA classification
Analyzing the origin and diversity of numerous genomic sequences, such as those sampled from the human microbiome, is an important first step in genomic analysis. The use of normalized compression distance (NCD) has demonstrated capabilities in the field of text classification as a low-resource alternative to deep neural networks (DNNs) by leveraging compression algorithms to approximate Kolmogorov information distance. In an effort to apply this technique toward genomics tasks akin to tools such as Many-against-Many sequence searching (MMseqs) and Kraken2, we have explored the use of agzip-based NCD combination in both gene labeling of open reading frames (ORFs) and taxonomic classification of short reads. Our implementation achieved 0.89 accuracy and 0.88 macro-F1 on human gene classification, surpassing similar NCD-based approaches. In prokaryotic gene labeling tasks, NCD shows superior classification accuracy to traditional alignment or exact-match tools in out-of-distribution settings, while also outperforming comparable sequence-embedding methods in in-distribution classification. However, the computational complexity of O(MN) (in standard big-O notation, where M and N denote the sizes of the training and test databases, respectively) constrains scalability to very large datasets, though these findings nonetheless demonstrate that compression-based approaches provide an effective alternative for genomic sequence classification, particularly in low-data environments.  more » « less
Award ID(s):
2107108
PAR ID:
10708447
Author(s) / Creator(s):
 ;  ;  ;  ;  
Publisher / Repository:
PeerJ
Date Published:
Journal Name:
PeerJ
Volume:
14
ISSN:
2167-8359
Page Range / eLocation ID:
e20677
Subject(s) / Keyword(s):
Sponsoring Org:
National Science Foundation
More Like this
  1. Abstract Adapting language models to genomic and metagenomic sequences presents unique challenges, particularly in tokenization and task-specific generalization. Standard methods, such as fixed-length k-mers or byte pair encoding, often fail to preserve biologically meaningful patterns essential for downstream tasks. We introduceGuided Tokenization(GT), a strategy that prioritizes biologically and statistically important subsequences based on importance scores, model attention, and class distributions. Combined withdomain adaptation, which incorporates prior domain specific biological knowledge, this approach improves both representation quality and classification accuracy in compact genomic language models (gLMs). GT enhances biological awareness in genomic language models, particularly for effective small and mid-sized models across key tasks, including DNA sequence read classification, promoter detection, antimicrobial resistance classification, and targeted amplicon taxonomic profiling. Our results highlight the promise of guided tokenization and domain-aware modeling for building efficient, biologically grounded language models for scalable genomic applications. 
    more » « less
  2. We introduce Operational Genomic Unit (OGU), a metagenome analysis strategy that directly exploits sequence alignment hits to individual reference genomes as the minimum unit for assessing the diversity of microbial communities and their relevance to environmental factors. This approach is independent from taxonomic classification, granting the possibility of maximal resolution of community composition, and organizes features into an accurate hierarchy using a phylogenomic tree. The outputs are suitable for contemporary analytical protocols for community ecology, differential abundance and supervised learning while supporting phylogenetic methods, such as UniFrac and phylofactorization, that are seldomly applied to shotgun metagenomics despite being prevalent in 16S rRNA gene amplicon studies. As demonstrated in one synthetic and two real-world case studies, the OGU method produces biologically meaningful patterns from microbiome datasets. Such patterns further remain detectable at very low metagenomic sequencing depths. Compared with taxonomic unit-based analyses implemented in currently adopted metagenomics tools, and the analysis of 16S rRNA gene amplicon sequence variants, this method shows superiority in informing biologically relevant insights, including stronger correlation with body environment and host sex on the Human Microbiome Project dataset, and more accurate prediction of human age by the gut microbiomes in the Finnish population. We provide Woltka, a bioinformatics tool to implement this method, with full integration with the QIIME 2 package and the Qiita web platform, to facilitate OGU adoption in future metagenomics studies. Importance Shotgun metagenomics is a powerful, yet computationally challenging, technique compared to 16S rRNA gene amplicon sequencing for decoding the composition and structure of microbial communities. However, current analyses of metagenomic data are primarily based on taxonomic classification, which is limited in feature resolution compared to 16S rRNA amplicon sequence variant analysis. To solve these challenges, we introduce Operational Genomic Units (OGUs), which are the individual reference genomes derived from sequence alignment results, without further assigning them taxonomy. The OGU method advances current read-based metagenomics in two dimensions: (i) providing maximal resolution of community composition while (ii) permitting use of phylogeny-aware tools. Our analysis of real-world datasets shows several advantages over currently adopted metagenomic analysis methods and the finest-grained 16S rRNA analysis methods in predicting biological traits. We thus propose the adoption of OGU as standard practice in metagenomic studies. 
    more » « less
  3. Abstract Genome search and/or classification typically involves finding the best-match database (reference) genomes and has become increasingly challenging due to the growing number of available database genomes and the fact that traditional methods do not scale well with large databases. By combining k-mer hashing-based probabilistic data structures (i.e. ProbMinHash, SuperMinHash, Densified MinHash and SetSketch) to estimate genomic distance, with a graph based nearest neighbor search algorithm (Hierarchical Navigable Small World Graphs, or HNSW), we created a new data structure and developed an associated computer program, GSearch, that is orders of magnitude faster than alternative tools while maintaining high accuracy and low memory usage. For example, GSearch can search 8000 query genomes against all available microbial or viral genomes for their best matches (n = ∼318 000 or ∼3 000 000, respectively) within a few minutes on a personal laptop, using ∼6 GB of memory (2.5 GB via SetSketch). Notably, GSearch has an O(log(N)) time complexity and will scale well with billions of genomes based on a database splitting strategy. Further, GSearch implements a three-step search strategy depending on the degree of novelty of the query genomes to maximize specificity and sensitivity. Therefore, GSearch solves a major bottleneck of microbiome studies that require genome search and/or classification. 
    more » « less
  4. The blue crab Callinectes sapidus is one of the most widely studied marine crustaceans due to its high economic value and ecological significance. Despite extensive research on the blue crab in North America, many questions remain about the distribution and abundance of the species in the subtropics and tropics. In many places, C. sapidus is sympatric with morphologically similar Callinectes spp., which has implications for seafood mislabeling. To enable rapid identification of the species, we designed and tested two PCR-based assays targeting the 12S rRNA mitochondrial gene. The first assay discriminates C. sapidus from other Callinectes spp. via post-PCR restriction digestion (PCR-RFLP) and the second assay discriminates among multiple Callinectes spp. through High Resolution Melting (HRM) analysis and supervised machine learning analyses. A total of 58 DNA samples from five Callinectes spp. (validated via 12S gene sequencing) were used for assay testing. The PCR RFLP assay was 100% accurate identifying C. sapidus from other Callinectes spp. HRM analysis of amplicons showed good discrimination among species, with distinct clusters formed between species with higher sequence homology. Linear discriminant analysis (LDA) classification of HRM curves was quite successful given the small dataset available, producing ∼90–91% mean accuracy in classification over all species with 100-fold cross validation. Much of the error came from misclassifications between C. similis and C. danae, which are ∼99% similar in sequence for the amplicon; collapsing them into a single class increased overall classification success to 94%. Error also arose from C. bocourti classifications, which had a reference set containing only three samples. Classification accuracy of C. sapidus alone via HRM was 97.5%. Overall, these assays show great promise as rapid and inexpensive methods to identify Callinectes spp. and have application for both ecological research and seafood identification or labeling. 
    more » « less
  5. The commonly used analytical tools for metabolomics cannot directly probe metabolic activities or distinguish metabolite differences between cells and suborgans in multicellular organisms. These issues can be addressed byin-vivoisotope labeling and mass spectrometry imaging (MSI), respectively, but the combination of the two, a newly emerging technology we call MSIi, has been rarely applied to plant systems. In this study, we explored MSIiofArabidopsis thalianawith D2O labeling to study and visualize D-labeling in three classes of lipids: arabidopsides, chloroplast lipids, and epicuticular wax. Similar to other stress responses, D2O-induced stress increased arabidopsides in an hour, but it was relatively minor for matured plants and reverted to the normal level in a few hours. The D-labeling isotopologue patterns of arabidopsides matched with those of galactolipid precursors, supporting the currently accepted biosynthesis mechanism. Matrix-assisted laser desorption/ionization (MALDI)-MSI was used to visualize the spatiotemporal distribution of deuterated chloroplast lipids, pheophytina, MGDGs, and DGDGs, after growing day-after-sowing (DAS) 28 plants in D2O condition for 3–12 days. There was a gradual change of deuteration amount along the leaf tissues and with a longer labeling time, which was attributed to slow respiration leading to low D2O concentration in the tissues. Finally, deuterium incorporation in epicuticular wax was visualized on the surfaces of the stem and flower. The conversion efficiency of newly synthesized C30 aldehyde to C29 ketone was very low in the lower stem but very high at the top of the stem near the flower or on the flower carpel. This study successfully demonstrated that MSIican unveil spatiotemporal metabolic activities in various tissues ofA. thaliana. 
    more » « less