Search bioRxiv⌕ Search

Biology subjects

Baghbanzadeh, M.

Publications and source records attributed to Baghbanzadeh, M..

4 recordsLinked to original sources

Using deep learning to estimate the shifting mutational fitness landscape of SARS-CoV-2 spike along a phylogeny

A longstanding challenge in evolutionary biology is to determine the fitness effects of mutations, and how they change during evolution. For SARS-CoV-2, millions of naturally evolved viral sequences are available. Bloom and Neher devised a method to estimate the effects of mutations from these sequences. The method counts how many times each mutation occurs on the branches of a phylogenetic tree and compares that count to the count expected under neutral mutation. However, the method assumes that the effect of a mutation at a site does not depend on the sequence at other sites. To estimate shifts in effects, it must divide the tree into clades chosen in advance and make a separate estimate for each clade. Here we train a deep-learning model on the entire SARS-CoV-2 tree. Because the model estimates the effects of mutations as a function of the entire sequence, it has the potential to learn a fitness landscape in which the effect of a mutation at each site depends on the sequence at all other sites. Indeed, the model learns numerous large shifts in fitness effects supported by the underlying mutation counts and in some cases independent experimental data. Further, the model's estimated effects correlate with deep mutational scanning measurements better than those of clade-specific counts models, most notably for recent clades. Against the same measurements, our model also outperforms a recent deep-learning model that does not separate the neutral mutation rate from selection. This result suggests that separating the two helps isolate the fitness effects of mutations. We also demonstrate that, under suitable conditions, the ratio of observed to expected counts in the method of Bloom and Neher is the maximum-likelihood estimate of the selection factor in a context-free version of our model. Overall, we show how deep learning can be used to estimate a shifting fitness landscape from millions of viral sequences.

bioinformatics↗

Curating 16S rRNA databases enhances taxonomic accuracy and computational efficiency in microbial profiling

The 16S rRNA gene serves as the gold standard molecular marker for microbial profiling, yet taxonomic assignment accuracy depends critically on reference database quality. Substantial heterogeneity exists among databases in sequence coverage, curation standards, and taxonomic nomenclature, leading to conflicting taxonomic assignments. Despite previous comparisons highlighting performance differences, the impact of database preprocessing, including sequence cleaning and redundancy removal, on taxonomic classification remains understudied. To improve database quality, we implemented novel cleaning approaches to remove nested sequences, duplicate sequences, and correct missing taxonomic nomenclature. We compared four major 16S databases (SILVA, Greengenes2, RefSeq, and MIMt) using 69 mock communities and the DADA2 analysis pipeline for microbial genus-level profiling. Database size was significantly reduced after cleaning: SILVA reduced from 452,055 to 291,733 sequences, Greengenes2 from 337,506 to 277,982 sequences, MIMt from 48,749 to 34,734 sequences, and RefSeq from 27,376 to 25,970 sequences. Greengenes2, MIMt, and RefSeq, which exhibited comparable performance, consistently outperformed SILVA in recall, precision, and abundance estimation accuracy across all sample types. Cleaning SILVA improved computational efficiency by up to 50% while maintaining classification performance. We provide a benchmarking framework with the cleaned databases as resources for accurate 16S rRNA analysis and profiling.

bioinformatics↗

seqLens: optimizing language models for genomic predictions

Understanding evolutionary variation in genomic sequences through the lens of language modeling has the potential to revolutionize biological research. Yet to maximize the utility of language modeling in genomics, we must overcome computational challenges in tokenization and model architecture adapted to diverse genomic features across evolutionary timescales. In this study, we investigated key elements in genomic language modeling (gLM), including tokenization, pretraining datasets, fine-tuning approaches, pooling methods, and domain adaptation, and applied the language models to diverse genomic data. We gathered two evolutionarily distinct pretraining datasets: one consisting of 19,551 reference genomes, including over 18,000 prokaryotic genomes (115B nucleotides) and the remainder eukaryotic genomes, and another more balanced dataset with 1,354 genomes, including 1,166 prokaryotic and 188 eukaryotic reference genomes (180B nucleotides). We trained five byte-pair encoding tokenizers and pretrained 52 gLMs, systematically comparing different architectures, hyperparameters, and classification heads. We introduce seqLens, a family of models based on disentangled attention with relative positional encoding, which outperforms relatively similar-sized models in 13 of 19 benchmarking phenotypic predictions. We further explore continual pretraining, domain adaptation, and parameter-efficient fine-tuning methods to assess trade-offs between computational efficiency and accuracy. Our findings demonstrate that relevant pretraining data significantly boost performance, alternative pooling techniques can enhance classification, tokenizers with larger vocabulary sizes negatively impact generalization, and gLMs are capable of understanding evolutionary relationships. These insights provide a foundation for optimizing genomic language models for identifying diverse evolutionary genomic features and improving genome annotations.

bioinformatics↗

Discovering genotype-phenotype relationships with machine learning and the Visual Physiology Opsin Database (VPOD)

BackgroundPredicting phenotypes from genetic variation is foundational for fields as diverse as bioengineering and global change biology, highlighting the importance of efficient methods to predict gene functions. Linking genetic changes to phenotypic changes has been a goal of decades of experimental work, especially for some model gene families including light-sensitive opsin proteins. Opsins can be expressed in vitro to measure light absorption parameters, including {lambda}max - the wavelength of maximum absorbance - which strongly affects organismal phenotypes like color vision. Despite extensive research on opsins, the data remain dispersed, uncompiled, and often challenging to access, thereby precluding systematic and comprehensive analyses of the intricate relationships between genotype and phenotype. ResultsHere, we report a newly compiled database of all heterologously expressed opsin genes with {lambda}max phenotypes called the Visual Physiology Opsin Database (VPOD). VPOD_1.0 contains 864 unique opsin genotypes and corresponding {lambda}max phenotypes collected across all animals from 73 separate publications. We use VPOD data and deepBreaks to show regression-based machine learning (ML) models often reliably predict {lambda}max, account for non-additive effects of mutations on function, and identify functionally critical amino acid sites. ConclusionThe ability to reliably predict functions from gene sequences alone using ML will allow robust exploration of molecular-evolutionary patterns governing phenotype, will inform functional and evolutionary connections to an organisms ecological niche, and may be used more broadly for de-novo protein design. Together, our database, phenotype predictions, and model comparisons lay the groundwork for future research applicable to families of genes with quantifiable and comparable phenotypes. Key PointsO_LIWe introduce the Visual Physiology Opsin Database (VPOD_1.0), which includes 864 unique animal opsin genotypes and corresponding {lambda}max phenotypes from 73 separate publications. C_LIO_LIWe demonstrate that regression-based ML models can reliably predict {lambda}max from gene sequence alone, predict non-additive effects of mutations on function, and identify functionally critical amino acid sites. C_LIO_LIWe provide an approach that lays the groundwork for future robust exploration of molecular-evolutionary patterns governing phenotype, with potential broader applications to any family of genes with quantifiable and comparable phenotypes. C_LI

bioinformatics↗