DeepCDS: Ab initio coding sequence prediction in prokaryotic short reads
1 DeepCDS is presented as an ab initio CDS predictor designed specifically for short, fragmented prokaryotic reads where assembly is difficult and reference mapping can fail (unknown origins, novel taxa, sequencing errors).
2 The central idea is to bring protein language model signal into a nucleotide-level task: each of the 3 reading frames is translated, embedded with ESM-2 (8M), and combined with nucleotide one-hot codon features to decide whether each codon position is coding and where CDS boundaries lie.
3 Architecturally, it encodes each reading frame independently (shared weights), then performs joint structured decoding across all three frames using a linear-chain CRF over a shared state space of biologically valid cross-frame label combinations, enforcing consistent transitions around starts/stops and frameshifts.
4 The model is trained end-to-end on simulated 300 bp reads from 1,125 complete prokaryotic genomes, partitioned by taxonomic family to reduce leakage: 813 genomes for training, 97 for validation, and 215 for testing (phylogenetically diverse, spanning GC-content ranges).
5 Three practical model variants are provided to match data quality: DeepCDS N (noise-free), DeepCDS S (substitutions), and DeepCDS S I (substitutions indels, also predicts indel positions). The paper recommends DeepCDS S as a default for modern short-read data.
6 In benchmarking against MetaProdigal and FragGeneScan (via FragGeneScanRs) across multiple read lengths and Illumina-like error regimes, DeepCDS consistently improves CDS detection and codon-level classification, with gains increasing under harsher error conditions and at challenging lengths.
7 Boundary accuracy is a major focus: DeepCDS improves start and stop codon localization, including on very short reads where context is minimal. Example reported: on 75 bp error-free reads, median start-codon F1 rises from 0.152 (MetaProdigal) to 0.438 (DeepCDS N); under 300 bp stress-error, start-codon F1 is 0.771 (DeepCDS S) vs 0.469 (MetaProdigal).
8 DeepCDS is evaluated for robustness beyond standard assumptions: it generalizes across phylogenetic diversity, shows reduced dependence on genomic GC-content when trained with noise (S and S I), and remains strong on organisms using an alternative genetic code (e.g., Mycoplasmataceae where TGA encodes Trp), despite translating inputs with the standard table during inference.
9 DeepCDS extends into âultra-short fragmentâ territory below existing tool limits (MetaProdigal and FragGeneScan minimum CDS length thresholds). When retaining CDS fragments down to 30 bp, DeepCDS retains meaningful signal (e.g., 60 bp error-free CDS-level F1 reported as 0.813 for DeepCDS N).
10 Ablations indicate complementary contributions: codon-only and pLM-only models both work, but the combined model is best, especially at short lengths; pLM features particularly help start-codon identification, consistent with protein-language priors about N-termini and protein-like composition.
đPaper:
biorxiv.org/content/10.64898âŠ
#metagenomics #geneprediction #bioinformatics #deeplearning #proteinlanguagemodels #prokaryotes #shortreads #ESM2 #computationalbiology