Introduction nf-core/sarek is a workflow designed to detect variants on whole genome or targeted sequencing data. Initially designed for Human, and Mouse, it can work on any species with a reference genome. Sarek can also handle tumour / normal pairs and could include additional relapses. The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable…
nf-core/sarek is a workflow designed to detect variants on whole genome or targeted sequencing data. Initially designed for Human, and Mouse, it can work on any species with a reference genome. Sarek can also handle tumour / normal pairs and could include additional relapses.
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!
On release, automated continuous integration tests run the pipeline on a full-sized dataset on the AWS cloud infrastructure. This ensures that the pipeline runs on AWS, has sensible resource allocation defaults set to run on real-world datasets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources. The results obtained from the full-sized test can be viewed on the nf-core website.
Depending on the options and samples provided, the pipeline can currently perform the following:
Form consensus reads from UMI sequences (fgbio)
Sequencing quality control and trimming (enabled by --trim_fastq) (FastQC, fastp)
Contamination removal (BBSplit, enabled by --tools bbsplit)
Map Reads to Reference (BWA-mem, BWA-mem2, dragmap or Sentieon BWA-mem)
Process BAM file (GATK MarkDuplicates, GATK BaseRecalibrator and GATK ApplyBQSR or Sentieon LocusCollector and Sentieon Dedup)
Experimental Feature: Use GPU-accelerated parabricks implementation as alternative to “Map Reads to Reference” + “Process BAM file” (--aligner parabricks)
Filtering (bcftools view (default: filter by PASS,.)), normalisation (bcftools norm) and consensus calling (bcftools isec, default: called by at least 2 tools -n+2) on all vcfs and/or bcftools concat for germline vcfs
Varlociraptor for all vcfs
Variant filtering and annotation (SnpEff, Ensembl VEP, BCFtools annotate, SnpSift)
Summarise and represent QC (MultiQC)
Usage
Note 注意
If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.
First, prepare a samplesheet with your input data that looks as follows:
Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.
To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page.
For more details about the output files and reports, please refer to the
output documentation.
Benchmarking
On each release, the pipeline is run on 3 full size tests:
test_full runs tumor-normal data for one patient from the SEQ2C consortium
test_full_germline runs a WGS 30X Genome-in-a-Bottle(NA12878) dataset
test_full_germline_ncbench_agilent runs two WES samples with 75M and 200M reads (data available here). The results are uploaded to Zenodo, evaluated against a truth dataset, and results are made available via the NCBench dashboard.
If you use nf-core/sarek for your analysis, please cite the Sarek article as follows:
Friederike Hanssen, Maxime U Garcia, Lasse Folkersen, Anders Sune Pedersen, Francesco Lescai, Susanne Jodoin, Edmund Miller, Oskar Wacker, Nicholas Smith, nf-core community, Gisela Gabernet, Sven Nahnsen Scalable and efficient DNA sequencing analysis on different compute infrastructures aiding variant discoveryNAR Genomics and Bioinformatics Volume 6, Issue 2, June 2024, lqae031, doi: 10.1093/nargab/lqae031.
Garcia M, Juhos S, Larsson M et al. Sarek: A portable workflow for whole-genome sequencing analysis of germline and somatic variants [version 2; peer review: 2 approved]F1000Research 2020, 9:63 doi: 10.12688/f1000research.16665.2.
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.
评论