Clinical-Genomics/oncorefiner is a customizable post-processing and extension layer for nf-core/Oncoanalyser that adapts its outputs according to clinical and operational needs, adds missing analyses, and ensures flexibility for evolving standards while retaining Oncoanalyser's robust core. The pipeline can be split into processes for CNVs, SNVs, SVs, QC and BAM compression.
-
CNVs
- Generate interactive CNV html report using
rmarkdownnotebook, and the scriptassets/cnv_report.Rmd, based on the result files fromoncoanalyser:*.purple.cnv.gene.tsvand*.purple.cnv.somatic.tsv. - Prepare files from Oncoanalysers
AMBERandCOBALTfor visualization using GENS using cutom scriptsPREPARE_AMBER_FOR_GENSandPREPARE_COBALT_FOR_GENSwhich is wrapped in the subworkflowPREPARE_AMBER_COBALT_FOR_GENS.
- Generate interactive CNV html report using
-
SNVs
- Annotate the SNV output from Oncoanalyser's
PURPLE*.tumor.purple.somatic.vcf.gzusingVcfanno. Intended for local/custom annotation using external databases such as for example GNOMAD, CADD or SweGen (custom configuration settings). - Filter with
bcftools. This step aims to apply quality, population-level filtering and/or other general criteria as defined in the configuration settings. - Annotate with
CADD. This step annotates indels using CADD resources. - Annotate with
Ensembl VEP. - Rank variants and annotate with
Genmod score. A score is assigned to each variant based on the genmod score config file provided. Annotation with the score is added to the output vcf file. - Filter with
bcftools. This step applies clinically relevant filters as defined in the configuration settings. For example, it may involve subsetting variants based on a a list of clinically relevant genes.
- Annotate the SNV output from Oncoanalyser's
-
SVs
- Annotate the SV output from Oncoanalyser's
PURPLE:*.tumor.purple.sv.vcf.gzwith fusions from LINX files using custom scripts invcf_annotate_linx_fusions. - Annotate VCF with external databases such as for example GNOMAD or SweGen (custom configuration settings) using
SVDB. - Filter with
bcftools. This step aims to apply quality, population-level filtering and/or other general criteria as defined in the configuration settings. - Annotate with
Ensembl VEP. - Rank variants and annotate with
Genmod score. A score is assigned to each variant based on the genmod score config file provided. Annotation with the score is added to the output vcf file. - Filter with
bcftools. This step applies clinically relevant filters as defined in the configuration settings. For example, it may involve subsetting variants based on a a list of clinically relevant genes. - Generate Cytosure files with
vcf2cytosurefor visualization in Cytosure.
- Annotate the SV output from Oncoanalyser's
- Present QC for raw reads (
MultiQC).
-
Present QC using
MultiQC. -
Compress BAM and BAI files to CRAM and CRAI files using
SAMTOOLS_VIEW.
For further information about each step and output files, please refer to the output documentation.
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.
Now, you can run the pipeline using:
nextflow run Clinical-Genomics/oncorefiner \
-profile <docker/singularity/.../institute> \
-params-file <params.yaml/params.json> \
--outdir <OUTDIR>Warning
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.
For more details and further functionality, please refer to the usage documentation and the parameter documentation.
For more details about the output files and reports, please refer to the output documentation.
Clinical-Genomics/oncorefiner was originally written by Clinical Genomics Stockholm.
We thank the following people for their extensive assistance in the development of this pipeline:
If you would like to contribute to this pipeline, please see the contributing guidelines.
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.
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.