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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

nf-TOSCA: a tumor-only somatic variant calling pipeline for GDC-compatible and reproducible cancer genomics

Rodrigo Juliani Siqueira Dalmolin, Mateus Lucas Falco, Marcel da Câmara Ribeiro-Dantas, Altair Rodrigues Pires de Paula Filho et al.
Research Square
Cancer Genomics and Diagnostics
preprint

nf-TOSCA: a tumor-only somatic variant calling pipeline for GDC-compatible and reproducible cancer genomics

Rodrigo Juliani Siqueira Dalmolin, Mateus Lucas Falco, Marcel da Câmara Ribeiro-Dantas, Altair Rodrigues Pires de Paula Filho, Rafaela Rosa-Ribeiro, Roberto Herai
preprint en

Abstract

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.

Research Square
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)
Cancer Genomics and Diagnostics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon