Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.01.30.702815

Reducing haystacks to needles - ViralClust: A Nextflow pipeline to cluster viral sequences

Abstract

BackgroundThe rapid accumulation of viral genome sequences presents major challenges for downstream analysis tools, including tools for multiple sequence alignments, phylogeny, and genome/alignment visualization, due to computational constraints and sampling biases caused by outbreak-driven over-representation. Selecting representative genomes through clustering offers a principled alternative to random subsampling, yet choosing appropriate clustering strategies remains non-trivial and context dependent. ResultsHere, we present ViralClust, a modular Nextflow pipeline for bias-aware representative selection from large viral genome datasets. ViralClust integrates five distinct clustering algorithms (CD-HIT-EST, SUMACLUST, VSEARCH, MMSeqs2, and HDBSCAN) within a unified workflow, enabling direct comparison of clustering outcomes and flexible adaptation to diverse biological questions, considering a balanced phylogenic distribution of the selected sequences. We evaluated ViralClust on six RNA and DNA virus datasets ranging from 632 to 156,586 sequences and spanning genome lengths from 890 to 197,185 nucleotides. Across all datasets, clustering reduced dataset size by [~]95 % or more while preserving genetic diversity across species, genera, and families, and effectively mitigating biases introduced by outbreaks, partial genomes, and sequence orientation artifacts. ConclusionsBy supporting whole-genome clustering and scalable representative selection, ViralClust enables efficient and reproducible downstream analyses that would otherwise be computationally infeasible. Our framework provides a flexible foundation for large-scale viral genomics and supports future applications in comparative analysis and virus classification. Key PointsO_LIViralClust is a modular Nextflow pipeline for selecting representative viral genomes from (very) large sequence datasets. C_LIO_LIIt combines multiple clustering approaches to reduce dataset size while minimizing bias and preserving genetic diversity. C_LIO_LITests on six RNA and DNA virus datasets show reductions of [~]95 % across a wide range of genome sizes and sequence counts. C_LIO_LIViralClust enables efficient and reproducible downstream analyses that are otherwise impractical with full viral genome collections. C_LI

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Triebel, S., Lamkiewicz, K., Marz, M.. 2026-01-30. Reducing haystacks to needles - ViralClust: A Nextflow pipeline to cluster viral sequences. https://doi.org/10.64898/2026.01.30.702815

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Targeted finetuning enables co-folding models to learn ligand-induced protein conformational states

Advances in protein structure prediction have enabled all-atom protein-ligand co-folding models that predict bound conformations directly from sequence and small-molecule structure. However, these models often fail to generalize to novel binding sites or alternative protein conformational states, limiting their utility for chemical biology and drug discovery. Here we show this limitation reflects training data bias rather than architectural constraints and can be overcome through targeted finetuning. Using ten previously unseen X-ray structures of Werner (WRN) helicase from a drug discovery program, we finetune Boltz-1 to learn both an allosteric binding site and a large conformational change locking the enzyme in an inactive state, while preserving accuracy on the ATP-bound state. The finetuned model generalizes to different chemical series and transfers the conformational logic across RecQ-family helicases in a binding-site sequence-dependent manner. This approach provides a blueprint for adapting foundation models as new structural and mechanistic data emerge, enabling co-folding networks to capture ligand-induced conformational switches and binding poses absent from their training data but central to biological regulation and therapeutic intervention.

bioinformatics↗

Benchmarking single-cell foundation models for aging biology

Single cell foundation models (scFMs) provide representations of cellular states, but their utility across biological questions in aging research remains unclear. We established a benchmark of cellular representations for aging research, evaluating ten general-purpose scFMs, three aging-specific models and conventional methods across five biological questions using more than 2.5 million single cell transcriptomes. Using frozen pretrained representations, Geneformer performed best among scFMs for chronological age prediction and age pseudotime concordance, although 2,000 highly variable genes achieved higher mean performance. Several scFMs captured positive molecular age shifts across three disease contexts, consistent with reported aging-associated changes. SCimilarity performed well for rare cellular state identification across out-of-distribution datasets, exceeding aging specific models and conventional baselines. At the gene level, scGPT showed the highest recovery of reference TF target interactions, including aging-related regulatory hubs. Overall, scFMs supported diverse aging analyses, but performance depended on the biological question, highlighting their utility for rare cellular state identification and regulatory analysis.

bioinformatics↗

CryoMV: Structure-Prior-Guided Modeling and Real-Particle Validation of Continuous Conformational Transitions in Cryo-EM

Continuous protein conformations are essential for understanding fundamental biological processes and supporting drug discovery. Although cryo-EM can resolve individual states at high resolution, recovering continuous heterogeneity from 2D particle images remains challenging. High noise, motion blur, and limited structural priors make it difficult to accurately generate and validate high-resolution continuous conformations using raw particle data. Here, we introduce cryoMV, a framework that integrates structure-prior-guided modeling with real-particle validation for continuous conformational transitions. CryoMV uses reference density maps to establish structural anchors and motion priors, models candidate transition paths between selected conformations, and transfers the learned representation to raw 2D cryo-EM particle images. Each candidate conformation is subsequently evaluated using the estimated particle poses and contrast transfer functions. Supported conformations are reconstructed through raw particle back-projection and assessed using canonical half-maps and Fourier shell correlation. On EMPIAR-10516 and EMPIAR-10345, cryoMV achieves excellent performance in terms of robustness, verifiability, and reconstruction resolution. By incorporating structure-prior modeling and evidence from the raw particles, cryoMV offers an explicit mechanism for assessing whether generated conformations are supported by experimental data and provides a practical approach to reducing model-induced artifacts in continuous cryo-EM heterogeneity analysis.

bioinformatics↗