Gene Expression Quantification
The DRAGEN RNA pipeline contains a gene expression quantification module that estimates the expression of each transcript and gene in an RNA-seq data set. The module first internally translates the genomic mapping of each read (read pair) to the corresponding transcript mappings. Then uses an Expectation-Maximization (EM) algorithm to infer the transcript expression values that best match all the observed reads. The EM algorithm can also model and correct for GC-bias in the reported quantification results.
To enable the quantification module, set the --enable-rna-quantification
option to true
in your current RNA-seq command-line scripts. Additionally, you must provide a gene annotation file (GTF/GFF) that contains the genomic position of all transcripts to quantify. You can specify the GTF/GFF file using the -a
or --annotation-file
option.
Quantification Options
Option | Description |
---|---|
--enable-rna-quantification | If set to true, enables RNA quantification. Requires |
--rna-library-type | Specifies the type of RNA-seq library. The following are the available values:
|
--rna-quantification-gc-bias | GC bias correction estimates the effect of transcript %GC on sequencing coverage and accounts for the effect when estimating expression. To disable GC bias correction, set to false. |
--rna-quantification-fld-max --rna-quantification-fld-mean --rna-quantification-fld-sd | Use these options to specify the insert size distribution of the RNA-seq library for single-end runs. These options are relevant for GC bias correction. The defaults are 250 +- 25. The maximum allowed value is 1000. To improve accuracy, modify the values to match your library. |
Quantification Outputs
Transcript quantification results are reported in the <outputPrefix>.quant.sf
text file. The file lists results for each transcript. You can use the output file as input for differential gene expression using tools such as tximport and DESeq2.
The following is an example of the file contents:
Field | Description |
---|---|
Name | The ID of the transcript. |
Length | The length of the (spliced) transcript in base pairs. |
EffectiveLength | The length as accessible to RNA-seq, accounting for insert-size and edge effects. |
TPM | Transcripts per Million (TPM) represents the expression of the transcript when normalized for transcript length and sequencing depth. |
NumReads | The estimated number of reads from the transcript. The values are not normalized. |
The gene expression quantification module also outputs the files below. For information on the metrics included, see the section Quantification and RNA QC Metrics
.
<outputPrefix>.quant.genes.sf
—Contains quantification results at the gene level. The results are produced by summing together all transcripts with the same geneID in the annotation file (GTF). Length and EffectiveLength are the expression-weighted means of the individual transcripts in the gene.<outputPrefix>.quant.metrics.csv
—Summary statistics relevant to RNA transcripts and quantification. SeeQuantification and RNA QC Metrics
.<outputPrefix>.quant.transcript_fragment_lengths.txt
—Full fragment length distribution of reads mapped to transcripts, output in length- probability pairs of length minimum through >999 bases. Summing the products of the two columns will yield the average fragment length.<outputPrefix>.quant.transcript_coverage.txt
—Measures coverage uniformity with a normalized average of 5' to 3' coverage pattern along transcripts in increments of 1%. A summation of the 100 coverage bins should yield 100%.<outputPrefix>.SJ.saturation.txt
—Measures sequencing saturation of the library, including the number of unique splice junctions observed as a function of reads processed.
Quantification and RNA QC metrics
The RNA Quantification module outputs metrics related to the gene expression results and more general RNA QC metrics that rely on the transcript-level analysis. A summary of the metrics is output to the <outputPrefix>.quant_metrics.csv
file.
Metric | Description |
---|---|
| Library orientation of the RNA-seq reads relative to the original transcripts. The library orientation can be automatically detected, or can be explicitly provided. See |
| Total number of genes from the gene annotation (GTF/GFF) input used for analysis. |
| Number of coding genes from the gene annotation (GTF/GFF) excluding pseudo-genes and biotypes which are non-coding. |
| Number of transcripts from the gene annotation (GTF/GFF) input used for analysis. |
| Median Coefficient of Variation (CV), which is standard deviation divided by mean coverage, of the 1000 most highly expressed transcripts. This metric measures uniformity of RNA-seq read coverage. |
| Median 5 prime bias of the 1000 most highly expressed transcripts, calculated per transcript as mean coverage of the 5'-most 100 bases divided by the mean coverage of the whole transcript. |
| Median 3 prime bias of the 1000 most highly expressed transcripts, calculated per transcript as mean coverage of the 3'-most 100 bases divided by the mean coverage of the whole transcript. |
| The number of read pairs that match transcripts on the forward strand. Only reads that align fully within exons are counted. |
| The number of read pairs that match transcripts on the reverse strand. Only reads that align fully within exons are counted. |
| In the case of stranded library orientation, number of read pairs that do not match the expected strand of the transcript. Only reads that align fully within exons are counted. |
| Read pairs that match transcripts in both forward and reverse orientation. Only reads that align fully within exons are counted. |
| Read pairs that overlap with a gene, but do not overlap with any exons. |
| Read pairs that do not overlap with any gene. |
| Read pairs that partially align with an exon but overlap non-exonic regions (usually due to alternative splicing). |
| The count of the number of genes where the most highly expressed transcript has average coverage greater than 1x, 10x, 20x, and 100x . |
| The average sequencing coverage across all annotated exons, determined using the most highly expressed transcript for each gene. |
| The average sequencing coverage across only exons within coding genes, determined using the most highly expressed transcript for each gene. |
| The average sequencing coverage across detected introns. |
| The average sequencing coverage across areas detected outside annotated genes. |
Only unfiltered and properly paired reads (for paired-end sequencing) are counted in the above metrics. The seven fragments types that are listed (Forward transcript, Reverse transcript, Strand mismatched, Ambiguous strand, Intron, Intergenic, Unknown transcript) add up to 100% of the counted fragments, and the percentage of this total is provided next to each fragment metric count.
Last updated