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

IF 5 2区 生物学 Q1 MULTIDISCIPLINARY SCIENCES
Sandra Triebel, Kevin Lamkiewicz, Tom Eulenfeld, Manja Marz
{"title":"Reducing haystacks to needles-ViralClust: a Nextflow pipeline to cluster viral sequences.","authors":"Sandra Triebel, Kevin Lamkiewicz, Tom Eulenfeld, Manja Marz","doi":"10.1093/gigascience/giag090","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>The 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.</p><p><strong>Results: </strong>Here, we present ViralClust, a modular Nextflow pipeline for bias-aware representative selection from large viral genome datasets. ViralClust integrates 5 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 phylogenetic distribution of the selected sequences. We evaluated ViralClust on 6 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.</p><p><strong>Conclusions: </strong>By supporting whole-genome clustering and scalable representative selection, ViralClust enables efficient and reproducible downstream analyses that would otherwise be computationally infeasible. Rather than offering a prescriptive, guided analysis engine, our framework functions as a flexible comparative collection of complementary strategies, allowing users to empirically evaluate trade-offs and choose the ideal method tailored to their specific analytical endpoints.</p>","PeriodicalId":12581,"journal":{"name":"GigaScience","volume":" ","pages":""},"PeriodicalIF":5.0000,"publicationDate":"2026-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13660479/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GigaScience","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1093/gigascience/giag090","RegionNum":2,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Background: The 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.

Results: Here, we present ViralClust, a modular Nextflow pipeline for bias-aware representative selection from large viral genome datasets. ViralClust integrates 5 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 phylogenetic distribution of the selected sequences. We evaluated ViralClust on 6 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.

Conclusions: By supporting whole-genome clustering and scalable representative selection, ViralClust enables efficient and reproducible downstream analyses that would otherwise be computationally infeasible. Rather than offering a prescriptive, guided analysis engine, our framework functions as a flexible comparative collection of complementary strategies, allowing users to empirically evaluate trade-offs and choose the ideal method tailored to their specific analytical endpoints.

把干草堆变成针——ViralClust:一个Nextflow管道来聚类病毒序列。
背景:病毒基因组序列的快速积累给下游分析工具带来了重大挑战,包括用于多序列比对、系统发育和基因组/比对可视化的工具,这是由于计算限制和由疫情驱动的过度代表性引起的抽样偏差。通过聚类选择具有代表性的基因组,为随机子抽样提供了一个原则性的替代方案,但选择适当的聚类策略仍然是非琐碎的和依赖于上下文的。结果:在这里,我们提出了ViralClust,这是一个模块化的Nextflow管道,用于从大型病毒基因组数据集中进行偏差感知代表性选择。ViralClust在一个统一的工作流程中集成了五种不同的聚类算法(CD-HIT-EST, SUMACLUST, VSEARCH, MMSeqs2和HDBSCAN),可以直接比较聚类结果并灵活适应不同的生物学问题,考虑到所选序列的平衡系统发育分布。我们在6个RNA和DNA病毒数据集上对ViralClust进行了评估,这些数据集的序列范围从632到156,586,基因组长度从890到197,185个核苷酸。在所有数据集中,聚类将数据集大小减少了约95%或更多,同时保留了物种、属和科之间的遗传多样性,并有效减轻了由疫情、部分基因组和序列定向伪像引入的偏差。结论:通过支持全基因组聚类和可扩展的代表性选择,ViralClust可以实现高效和可重复的下游分析,否则计算上是不可行的。我们的框架不是提供一个规定性的、指导性的分析引擎,而是作为一个灵活的互补策略的比较集合,允许用户根据经验评估权衡,并选择适合他们特定分析端点的理想方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
GigaScience
GigaScience MULTIDISCIPLINARY SCIENCES-
CiteScore
15.50
自引率
1.10%
发文量
119
审稿时长
1 weeks
期刊介绍: GigaScience seeks to transform data dissemination and utilization in the life and biomedical sciences. As an online open-access open-data journal, it specializes in publishing "big-data" studies encompassing various fields. Its scope includes not only "omic" type data and the fields of high-throughput biology currently serviced by large public repositories, but also the growing range of more difficult-to-access data, such as imaging, neuroscience, ecology, cohort data, systems biology and other new types of large-scale shareable data.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书