Introduction nf-core/rnafusion is a bioinformatics best-practice analysis pipeline for RNA sequencing consisting of several tools designed for detecting and visualizing fusion genes. Results from fusion callers tools (STAR-Fusion, arriba and FusionCatcher) are created, and are also aggregated, most notably in a pdf visualisation document, a vcf data collection file, and html and tsv reports. In parallel StringTie…
nf-core/rnafusion is a bioinformatics best-practice analysis pipeline for RNA sequencing consisting of several tools designed for detecting and visualizing fusion genes. Results from fusion callers tools (STAR-Fusion, arriba and FusionCatcher) are created, and are also aggregated, most notably in a pdf visualisation document, a vcf data collection file, and html and tsv reports. In parallel StringTie and CTAT-Splicing collect additional information on splicing events.
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.
In rnafusion the full-sized test includes reference building and fusion detection. The test dataset is taken from here.
Pipeline summary
References
The references for the pipeline can be downloaded from the nf-core AWS megatests S3 bucket using the following command for the AWS CLI tool:
The path to the downloaded references can then be provided to the pipeline with the --genomes_base parameter.
⚠️ Please note that the references are large and can take a long time to download, so it is recommended to download them once and use them for all future runs of the pipeline.
The pipeline is also able to build the references in case files from a specific gencode version are missing (Note: only gencode 46 is available for fusioncatcher). This is done automatically when the expected references are not found and these files will be automatically published in the directory specified by the --genomes_base parameter. Use the --references_only parameter to trigger the reference building workflow only, without running the rest of the pipeline.
Download gencode fasta and gtf files
Download the HGNC nomenclature file
Create files needed for QC (Sequence Dictionary and RRNA intervals)
References for Fusioncatcher and Arriba cannot be automatically created by the pipeline and should be downloaded from the S3 bucket or another source. See the References section for more information.
Run fusion detection with STAR-Fusion
7a. Optional trimming of 3’ end with fastp to feed into fusioncatcher (other tools not affected)
7b. Run fusion detection with FusionCatcher
Run transcript assembly and quantification with StringTie
Run cancer splicing aberrations detection with CTAT-SPLICING
Merge all fusions detected by the selected tools with Fusion-report
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.
As the reference building is computationally heavy (> 24h on HPC), we had to use dummy reference files in the test profile. Therefore, it is recommended to run the test profile with the -stub option.
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.
Notes:
Conda is not currently supported; run with singularity or docker.
Paths need to be absolute.
GRCh38 is the only supported reference.
Single-end reads are to be used as last-resort. Paired-end reads are recommended. FusionCatcher cannot be used with single-end reads shorter than 130 bp.
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.
Credits
nf-core/rnafusion was written by Martin Proks (@matq007), Maxime Garcia (@maxulysse) and Annick Renevey (@rannick)
We thank the following people for their help in the development of this pipeline
If you use nf-core/rnafusion for your analysis, please cite it using the following doi: 10.5281/zenodo.3946477
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.
评论