nf-TOSCA: a tumor-only somatic variant calling pipeline for GDC-compatible and reproducible cancer genomics
Background: Cancer genomic data generated outside the Genomic Data Commons (GDC) rarely shares the same reference build, tool versions and filtering conventions as the GDC's own published somatic calls, which breaks direct comparability with public Cancer Genome Atlas (TCGA) data. This matters in practice because widely used downstream analysis packages in the R/Bioconductor ecosystem, including TCGAbiolinks and maftools, were designed around the GDC's Mutation Annotation Format (MAF) conventions, so combining MAFs produced by a materially different pipeline risks introducing pipeline-driven bias into any such comparison, independent of the underlying biology. Exactly replicating the GDC's production pipeline is not fully achievable with currently available tooling, since legacy co-cleaning steps and specific tool versions are no longer distributed, and this work treats that limitation as something to quantify and document rather than something to hide. Results: We present nf-TOSCA, a tumor-only Mutect2-based somatic variant calling pipeline implemented in Nextflow and offered in two complementary calling modes. strict_gdc follows the GDC's documented conventions as closely as currently possible, while tosca_improved layers an additional, independently validated filter stack on top of that same core. Both modes were benchmarked against the SEQC2 HCC1395/HCC1395BL reference samples in fresh-frozen (FF) and formalin-fixed paraffin-embedded (FFPE) preparations. tosca_improved reached an F1 score of 0.820 (FF) and 0.730 (FFPE) on single-nucleotide variants, outperforming strict_gdc (F1 0.713 FF, 0.625 FFPE) on both tissues. It also outperformed a stock nf-core/sarek tumor-only run scored against the same truth set, capture region and metric, and outperformed DeepSomatic's tumor-only exome model on a chromosome DeepSomatic's own training held out. The pipeline is portable across Docker, Singularity and Conda execution profiles, and reference resources are distributed as pre-compressed bundles via the GitHub Container Registry, cutting cold-start reference preparation time by a measured 77-78% relative to building every reference locally. Conclusions: nf-TOSCA provides a documented, quantified path between faithfulness to the GDC's own production pipeline and measurably improved accuracy, without sacrificing output-format compatibility with downstream GDC-oriented tooling. Both calling modes are validated against public reference samples, portable across common container and environment technologies, and available for community use and testing.
Authors
- Rodrigo Juliani Siqueira Dalmolin (ORCID: https://orcid.org/0000-0002-1688-6155)
- Mateus Lucas Falco (ORCID: https://orcid.org/0000-0002-0210-2612)
- Marcel da Câmara Ribeiro-Dantas (ORCID: https://orcid.org/0000-0001-5751-8386)
- Altair Rodrigues Pires de Paula Filho
- Rafaela Rosa-Ribeiro
- Roberto Herai
Institutions
- Universidade Tecnológica Federal do Paraná (BR)
- Pontifícia Universidade Católica do Paraná (BR)
- Universidade de São Paulo (BR)
- Universidade Federal do Rio Grande do Norte (BR)
- Universidade Potiguar (BR)
- Universidade Estadual do Centro-Oeste (BR)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-11382231/v1
- Primary Topic
- Cancer Genomics and Diagnostics
- Type
- preprint