nf-core / sarek

Analysis pipeline to detect germline or somatic variants (pre-processing, variant calling and annotation) from WGS / targeted sequencing
https://nf-co.re/sarek
MIT License
407 stars 415 forks source link

Add an option in '--tools' parameter for QC task only #753

Closed senzhaocode closed 2 years ago

senzhaocode commented 2 years ago

Description of feature

Dear Serak developer,

I have tumor-normal pair bam files, and would like to only do a BAM file QC analysis (without any variant calling process). Is that possible for add such an option in --tools parameter, and ask the pipeline to run QC tasks only (e.g. fastqc, samtools, BamQC, bcftools, multiQC....).

Thanks in advance

Sen

FriederikeHanssen commented 2 years ago

Hi @senzhaocode ! Thank you for your inquiry. Starting from step duplicate marking + skipping markduplicates with skip_tools, you could run mosdepth & samtools which will then generate a multiqc report. However, the remaining qc steps are not possible. Fastqc is run on the input reads, and bcftools/vcftools on the resulting vcf files.

Currently we don't see that this would be in scope of this pipeline and we are not planning to add this feature at the moment.

Cheers, Rike