nf-core pipeline · gatk4, rna, rnaseq
nf-core/rnavar
A Nextflow pipeline for RNA-seq variant discovery following GATK4 best practice guidelines.
What nf-core/rnavar is
nf-core/rnavar is a bioinformatics analysis pipeline designed for variant discovery from RNA sequencing data following the GATK4 best practices workflow. It identifies single-nucleotide polymorphisms (SNPs) and small insertions and deletions (indels) within transcribed genomic regions. The pipeline was originally developed by Praveen Raj and Maxime U Garcia at The Swedish Childhood Tumor Biobank (Barntumörbanken), Karolinska Institutet, with further development by Nicolas Vannieuwkerke at CMGG.
Maintenance is currently led by Maxime U Garcia at the National Genomics Infrastructure. Variant calling directly from RNA-seq enables researchers to examine expressed alleles and transcriptional variations without necessarily requiring matched whole-genome or whole-exome sequencing data. The pipeline automates every phase of the process, spanning read-level quality control, spliced alignment, duplicate marking, recalibration, variant discovery, filtering, and functional annotation.
What the pipeline does
The pipeline processes single-end or paired-end FASTQ reads declared in a CSV samplesheet. Technical replicates are concatenated with cat, and initial read quality is assessed with FastQC. The workflow can optionally extract unique molecular identifiers (UMIs) using UMI-tools and execute HLA typing with Seq2HLA. Spliced sequence reads are mapped to a reference genome using STAR, after which SAMtools sorts and indexes the alignments. Picard MarkDuplicates marks optical and PCR duplicates.
To prepare spliced alignments for variant calling, GATK4 SplitNCigarReads splits reads containing Ns in their CIGAR strings across exon junctions. Base quality score recalibration is performed with GATK4 BaseRecalibrator and ApplyBQSR over target intervals generated by GATK4 BedToIntervalList and IntervalListTools. GATK4 HaplotypeCaller calls SNPs and indels across genomic intervals, and the resulting VCFs are merged using GATK4 MergeVCFs and indexed with Tabix. Variant calls are subsequently filtered using GATK4 VariantFiltration, annotated using BCFtools Annotate, snpEff, or Ensembl VEP, and summarised in an aggregate quality report produced by MultiQC and R.
Key facts
- Workflow framework
- Nextflow (nf-core)
- Latest release
- 1.3.0
- Input formats
- FASTQ (single-end or paired-end via CSV samplesheet)
- Core aligner
- STAR 2.7.11b
- Variant caller
- GATK4 HaplotypeCaller (GATK 4.6.2.0)
- Variant annotation tools
- Ensembl VEP 115.2, SnpEff 5.3.0a, BCFTools 1.22
- Reporting tools
- MultiQC 1.33, FastQC 0.12.1
- Original developers
- Praveen Raj and Maxime U Garcia (Barntumörbanken, Karolinska Institutet)
What you can use it for
- RNA-seq SNP and indel calling
- Calling expressed small genomic variants from single-end or paired-end RNA sequencing datasets adhering to standard GATK4 best practice guidelines.
- HLA typing from RNA reads
- Inferring human leukocyte antigen alleles directly from input FASTQ sequencing reads using the optional Seq2HLA module.
- UMI-tagged RNA variant identification
- Extracting unique molecular identifiers from RNA-seq libraries using UMI-tools prior to mapping and variant evaluation.
- Variant effect annotation
- Annotating filtered RNA sequence variants with functional predictions and genomic context via Ensembl VEP or snpEff.
Run it here
The research agent runs nf-core/rnavar with Nextflow on its own machine — up to 32 cores, 256 GiB of memory and 24 hours per run, which covers the test profile and real single-sample runs. It builds the samplesheet, checks it against the pipeline's schema and reads the results back. When a run is too big for one machine, it gives you the exact command for your own cluster instead.
Strengths and limits
Good at
- Adheres strictly to the established GATK4 best practices protocol designed for RNA-seq data.
- Includes optional modules for unique molecular identifier extraction and human leukocyte antigen typing.
- Supports multiple variant annotation engines including Ensembl VEP, snpEff, and BCFtools Annotate.
- Compiles comprehensive quality reports across read quality, alignment metrics, gene biotypes, sample similarity, and strand specificity.
Watch out for
- Pipeline parameters cannot be supplied via custom Nextflow configuration files and must instead be passed through the command line or parameter files.
- Focuses strictly on RNA variant calling and requires reference annotations and genome indices compatible with STAR and GATK4.
Questions
Can I run nf-core/rnavar without my own cluster?
The research agent runs nf-core/rnavar with Nextflow on its own machine — up to 32 cores, 256 GiB of memory and 24 hours per run, which covers the test profile and real single-sample runs. It builds the samplesheet, checks it against the pipeline's schema and reads the results back. When a run is too big for one machine, it gives you the exact command for your own cluster instead.
What licence is nf-core/rnavar under?
MIT, like every nf-core pipeline.
What input format does nf-core/rnavar require?
The pipeline requires a CSV samplesheet containing sample identifiers and file paths to raw FASTQ files, supporting both single-end and paired-end sequencing configurations.
How are spliced alignments handled prior to GATK4 variant calling?
Alignments generated by STAR are processed with GATK4 SplitNCigarReads, which splits reads containing Ns in their CIGAR string to prevent false-positive variant calls at splice junctions.
Can UMI deduplication or extraction be carried out?
Yes, UMI-tools is integrated as an optional step to extract unique molecular identifiers directly from FASTQ reads before genome alignment.
Which software tools perform functional variant annotation?
Variants can be annotated using BCFtools Annotate, snpEff, or Ensembl VEP following filtering with GATK4 VariantFiltration.
How to cite it
10.5281/zenodo.6669636
Written from nf-core/rnavar's own README. Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.