bbglab/deepUMIcaller is a bioinformatics best-practice analysis pipeline to produce duplex consensus reads and call mutations.
The pipeline was developed from the nf-core/fasquorum pipeline that implemented the fgbio Best Practices FASTQ to Consensus Pipeline.
The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!
- Read QC (
FastQC) - Fastq to BAM, extracting UMIs (
fgbio FastqToBam) - Align (
bwa mem), reformat (fgbio ZipperBam), and template-coordinate sort (samtools sort) - Group reads by UMI (
fgbio GroupReadsByUmi) - Call duplex consensus reads (
fgbio CallDuplexConsensusReads)- Collect duplex sequencing specific metrics (
fgbio CollectDuplexSeqMetrics) - In house plotting of single strand consensus reads family size distribution.
- Collect duplex sequencing specific metrics (
- Align consensus reads(
bwa mem) - Filter out reads with potential ambiguous mapping. (using AS-XS criteria)
- Filter consensus reads (
fgbio FilterConsensusReads). - Variant calling (
VarDict). - Variant calling postprocessing. Called variants are further processed to contain more information on pileup-based recounting of allele depths, proportion of Ns per position filters and optionally filtering mutations per position. All filters are annotated in the FILTER field but no variant is discarded from the VCF.
- Plotting of somatic variants. Plotting mutations per position in read as a QC to look for enrichment and plotting mutational profile as well.
- (optional) Variant annotation (
Ensembl VEP). - Present QC for all the metrics computed in the process (
MultiQC).
-
Install
Nextflow(>=25.04.2) -
Install any of
Docker,Singularity(you can follow this tutorial),Podman,ShifterorCharliecloudfor full pipeline reproducibility (you can useCondaboth to install Nextflow itself and also to manage software within pipelines. Please only use it within pipelines as a last resort; see docs).
bbglab/deepUMIcaller was written mainly by Ferriol Calvet and Miquel L. Grau, with contributions from Raquel Blanco and Marta Huertas
Starting from the nf-core/fastquorum pipeline at commit 09a6ae27ce917f2a4b15d2c5396acb562f9047aa. This was originally written by Nils Homer. This original pipeline implemented the fgbio Best Practices FASTQ to Consensus Pipeline.
For extensive documentation of the different running modes of the pipeline and more details on which are the requirements check the usage section of the documentation.
For instructions on how to obtain the test data required to run the test suite, see the test data setup documentation.
Find a detailed explanation of the deepUMIcaller pipeline and its use within the DeepClone protocol for the analysis of duplex sequencing data here:
DeepClone, an end-to-end protocol to study somatic mutagenesis and selection at high resolution.
Ferriol Calvet, Morena Pinheiro-Santin, Erika Lopez-Arribillaga, Raquel Blanco Martinez-Illescas, Núria Samper, Miguel L. Grau, Ferran Muiños, Rocío Chamorro González, Maria Andrianova, Federica Brando, Stefano Pellegrini, Marta Huertas, Elisabet Figuerola-Bou, Coohleen Coombes, Brendan F. Kohrn, Jeanne Fredrickson, Rosa Ana Risques, Nuria Lopez-Bigas, Abel Gonzalez-Perez.
protocols.io (2026) https://dx.doi.org/10.17504/protocols.io.dm6gp1jodgzp/v2
For information on the read structures as required in the input sample sheet, check this link.
Sex and smoking bias in the selection of somatic mutations in human bladder
Ferriol Calvet*, Raquel Blanco Martinez-Illescas*, Ferran Muiños, Maria Tretiakova, Elena S. Latorre-Esteves, Jeanne Fredrickson, Maria Andrianova, Stefano Pellegrini, Axel Rosendahl Huber, Joan Enric Ramis-Zaldivar, Shuyi Charlotte An, Elana Thieme, Brendan F. Kohrn, Miguel L. Grau, Abel Gonzalez-Perez, Nuria Lopez-Bigas & Rosa Ana Risques
Nature (2025) doi:10.1038/s41586-025-09521-x
*these authors contributed equally and the order was decided randomly
DeepClone, an end-to-end protocol to study somatic mutagenesis and selection at high resolution.
Ferriol Calvet, Morena Pinheiro-Santin, Erika Lopez-Arribillaga, Raquel Blanco Martinez-Illescas, Núria Samper, Miguel L. Grau, Ferran Muiños, Rocío Chamorro González, Maria Andrianova, Federica Brando, Stefano Pellegrini, Marta Huertas, Elisabet Figuerola-Bou, Coohleen Coombes, Brendan F. Kohrn, Jeanne Fredrickson, Rosa Ana Risques, Nuria Lopez-Bigas, Abel Gonzalez-Perez.
protocols.io (2026) https://dx.doi.org/10.17504/protocols.io.dm6gp1jodgzp/v2
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
You can cite the nf-core publication as follows:
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.
If you are running deepUMIcaller with the goal of analyzing clonal selection in a given set of samples, then you can use deepCSA as the next downstream step.
The repo contains a detailed explanation of the usage and outputs that it will provide, but here we list which files from deepUMIcaller need to be used for then running deepCSA.
Find a default template for running deepCSA inside the pipeline_info directory that is part of the output.
sample,vcf,bam
sample1,.../mutations_vcf/<sample1>.vcf,.../duplex_reads_bam/<sample1>.bam
sample2,.../mutations_vcf/<sample2>.vcf,.../duplex_reads_bam/<sample2>.bam
sample3,.../mutations_vcf/<sample3>.vcf,.../duplex_reads_bam/<sample3>.bamdeepUMIcaller generates a rich set of duplex sequencing metrics that allow the users to assess the performance of the duplex libraries that are being analyzed.
This is useful for compiling the metrics and being able to compare across samples & experiments and identify any patterns of variable performance that could lead to actionable decisions.
One of these decisions is to request for more sequencing output for some of the libraries, with the family size distribution curves the user can assess how appropriately sequenced was a given library and then decide if more Gbs are required. We provide an estimation of the optimal sequencing and the approximate amount of giga-bases/reads that would need to be sequenced.

