sean sun
02/13/2026, 5:12 PMThomas Danhorn
02/13/2026, 10:31 PMstatus column in the samplesheet to 1 (in that case also use mutect2 instead of haplotypecaller). The default (i.e. no status column) is 0, which uses germline methods. For Strelka to run without tumor-normal pairs, you have to use 0, since it does not have a tumor-only mode (but you can use the germline results like tumor results, I think).
• --vep_spliceai (and associated parameters) is definitely optional (not sure if there is any required parameter besides --input). Use it if you want to specifically flag variants that affect splicing.
• You are running with just -profile singularity. Unless you have a single server (with lots of RAM), this will be highly inefficient. You need some configuration to tell Nextflow how to run the pipeline on your system (whatever that is -- cloud, HPC, etc.). See here for some tips.sean sun
02/14/2026, 4:12 AMhaplotypecaller.
2. A somatic variant calling workflow by setting the sample as “TUMOR” and using mutect2.
Afterward, I would compare or combine the results from both analyses to determine whether variants are present in the fibroblast sample.
Would this be an appropriate strategy for achieving my goal, or is there a more suitable approach?
Thank you again for your support.Thomas Danhorn
02/16/2026, 4:24 AMsean sun
02/17/2026, 6:18 AMThomas Danhorn
02/17/2026, 7:05 PMsean sun
02/18/2026, 5:23 AMsean sun
02/28/2026, 4:14 AMnextflow run nf-core/sarek -r 3.5.1 \-profile singularity \ --input samplesheet_tumor.csv \ --outdir results_tumor \ --step mapping \ --genome GATK.GRCh38 \ --save_mapped_reads \ --tools metect2,cnvkit,vep \ --vep_loftee \ --max_cpus 32 \ --max_memory 128.GB \ -with-dag flowchart_wes.png \ -resume Second command (normal sample - variant calling step):
nextflow run nf-core/sarek -r 3.5.1 \-profile singularity \ --input samplesheet_normal.csv \ --outdir results_normal \ --step variant_calling \ --genome GATK.GRCh38 \ --tools haplotypecaller,vep \ --vep_loftee \ --max_cpus 32 \ --max_memory 128.GB \ -with-dag flowchart_wes.png \ -resume How can the second command directlyreuse the BAM files generated from first run in order to speed up the analysis, instead of repeating the mapping step?
Thomas Danhorn
02/28/2026, 4:23 AM--step variant_calling. You just have to supply a samplesheet with CRAM (or BAM) files, not FASTQs. The ones to use are the "recalibrated" ones from the first run, and this samplesheet is automatically generated by the first run in results/csv/recalibrated.csv.sean sun
03/01/2026, 4:35 PMnextflow run nf-core/sarek -r 3.5.1 \-profile singularity \ --input recalibrated.csv \ --outdir germline \ --step variant_calling \ --genome GATK.GRCh38 \ --tools haplotypecaller,vep \ --vep_loftee The running time for "--step variant_calling" was approximately one-third of the time required for "--step mapping". For each sample, around 4M variants were generated from mutect2 and haplotypecaller. My questions is What methods or parameters in the Sarek pipeline can be used to filter and retain only high-confidence(true) variants, especially real somatic mutations?
Thomas Danhorn
03/02/2026, 6:57 PMFILTER of PASS and to make sure you have enough read depth to make a reasonably reliable call. I don't have any real experience with germline variants, but for somatic variants you have to look at how well supported a variant is -- if there is a single mutated read, how do you know that's not a sequencing error? Can you see the variant on both strands? (Sometime there are too few reads, but if there are several on one strand and none on the other, I would suspect an artifact.) There are other criteria, and a lot of these are already built into the FILTER results. For somatic variants you can also filter by variant allele frequency (VAF) -- you will have to decide if what level you consider "actionable", i.e. if you are you interested in rare variants or not, or want to exclude very frequent ones, etc.
I do most of these type of thing with bcftools. With VEP, you can use the +split-vep plugin to extract all of the annotation data and filter on that as well (i.e. you could remove silent mutations, or rank be severity, etc.).
There is a new pipeline in development, #C05URH17X5Z, which you could try. I have not used it (and since it's in development, it might not work perfectly out of the box, but if you wanted to test it, I'm sure the authors would help you get it to run and value your feedback).sean sun
03/04/2026, 5:29 PMThomas Danhorn
03/05/2026, 3:36 AMvep in your --tools. Probably snpeff has it as well, but I rarely use that. (All of the VEP results are included in the VCFs in a very-hard-to-read text sausage (the CQ INFO field, so you'll have to extract that, e.g. with the bcftools +split-vep plugin.) Note that there are several related paramters, e.g. for each population (Africans, Ashkenazi Jewa, etc.), and depending on the VEP version, this may be split between their WES and WGS data as well (into gnomADe_AF and gnomADg_AF), so be sure to specify the correct one.