Mapping and Alignment Metrics
DRAGEN computes mapping and aligning metrics similar to Samtools Flagstat, providing comprehensive statistics on read alignment quality, pairing status, base quality, and mapping confidence.
Output File
Metrics are written to <output-prefix>.mapping_metrics.csv
Metric Availability
Mapping metrics are:
Available both on an aggregate level and on a per read group level
In germline and somatic tumor-only mode, only one set of mapping metrics are available
In somatic tumor-normal mode, the mapping and aligning metrics are generated separately for the tumor and normal samples, with each line beginning with TUMOR or NORMAL to indicate the sample. The metrics for the tumor sample are output first, followed by the metrics for the normal sample. Metrics per read group are also separated into tumor and normal read groups
Unless explicitly stated, the metrics units are in reads (not in terms of pairs)
Metrics Quick Reference
The following table provides a complete reference of all mapping and alignment metrics available in mapping_metrics.csv:
Total input reads
Read Counting
Volume check
Number of duplicate marked reads
Read Counting
Library complexity
Number of duplicate marked and mate reads removed
Read Counting
Deduplication impact
Number of unique reads
Read Counting
Non-duplicate read count
Reads with mate sequenced
Read Counting
Paired-end sequencing confirmation
Reads without mate sequenced
Read Counting
Single-end read count
QC-failed reads
Read Counting
Platform quality failures
Mapped reads
Mapping Status
Overall alignment success
Mapped reads R1
Mapping Status
R1-specific alignment
Mapped reads R2
Mapping Status
R2-specific alignment
Mapped reads to pop-alt insertions (PAI)
Mapping Status
Pop-alt contig alignments
Mapped reads to non-ref decoys (NRD)
Mapping Status
Decoy contig alignments
Mapped reads to ref-external sequences
Mapping Status
Combined PAI/NRD
Mapped reads (RNA) to rRNA and filtered
Mapping Status
rRNA contamination (RNA)
Mapped reads (RNA) to chrM and excluded
Mapping Status
Mitochondrial reads (RNA)
Reads with splice junction
Mapping Status
Spliced alignments (RNA)
Mapped reads including ref-external or filtered or excluded
Mapping Status
Total mapped (all categories)
Unmapped reads
Mapping Status
Alignment failures
Unmapped reads minus ref-external mappings
Mapping Status
Unmapped (PAI/NRD adjusted)
Unmapped reads minus filtered mappings
Mapping Status
Unmapped (rRNA adjusted)
Unmapped reads minus excluded mappings
Mapping Status
Unmapped (chrM adjusted)
Unmapped reads minus ref-external or filtered or excluded
Mapping Status
Unmapped (fully adjusted)
Singleton reads
Read Pairing
Mate unmapped
Paired reads
Read Pairing
Both mates mapped
Properly paired reads
Read Pairing
Expected orientation/distance
Not properly paired reads (discordant)
Read Pairing
Improper orientation/distance
Paired reads mapped to different chromosomes
Read Pairing
Inter-chromosomal pairs
Paired reads mapped to different chromosomes (MAPQ >= 10)
Read Pairing
High-quality inter-chrom pairs
Reads with MAPQ [0:10)
Mapping Quality
Low MAPQ reads
Reads with MAPQ [10:20)
Mapping Quality
MAPQ 10-19
Reads with MAPQ [20:30)
Mapping Quality
MAPQ 20-29
Reads with MAPQ [30:40)
Mapping Quality
MAPQ 30-39
Reads with MAPQ [40:inf)
Mapping Quality
High-confidence reads
Total alignments
Mapping Quality
All alignment loci
Secondary alignments
Mapping Quality
Alternative alignment loci
Supplementary (chimeric) alignments
Mapping Quality
Split-read alignments
Reads with indel R1
Base Quality
R1 indel frequency
Reads with indel R2
Base Quality
R2 indel frequency
Soft-clipped bases R1
Clipping
R1 soft-clip percentage
Soft-clipped bases R2
Clipping
R2 soft-clip percentage
Hard-clipped bases R1
Clipping
R1 hard-clip percentage
Hard-clipped bases R2
Clipping
R2 hard-clip percentage
Mismatched bases R1
Base Quality
R1 mismatch rate (with indels)
Mismatched bases R2
Base Quality
R2 mismatch rate (with indels)
Mismatched bases R1 (excluding indels)
Base Quality
R1 SNP mismatch rate
Mismatched bases R2 (excluding indels)
Base Quality
R2 SNP mismatch rate
Q30 bases
Base Quality
High-quality bases (all)
Q30 bases R1
Base Quality
High-quality bases (R1)
Q30 bases R2
Base Quality
High-quality bases (R2)
Q30 bases (excluding dups and clipped bases)
Base Quality
High-quality bases (filtered)
Estimated read length
Summary
Average read length
Insert length: mean
Insert Size
Mean fragment size
Insert length: median
Insert Size
Median fragment size
Insert length: standard deviation
Insert Size
Fragment size variation
Input bases divided by reference genome size
Coverage Estimate
Raw WGS coverage
Input bases divided by target bed size
Coverage Estimate
Raw targeted coverage
Estimated sample contamination
Quality Control
Cross-sample contamination
Important Calculation Notes
Insert Length Metrics
The insert length metrics are computed using high quality (MAPQ >= 20) properly paired read pairs for the read group.
For RNA datasets, insert length estimation uses a different kernel density estimator based algorithm.
Contamination Estimation
The estimated sample contamination metric represents the estimated fraction of reads in a sample that may be from another human source. For more detail see Contamination Detection.
RNA-Specific Metrics
For more details on RNA-specific mapping behavior including rRNA filtering, chrM exclusion, and splice junction detection, see RNA Alignment.
Last updated
Was this helpful?

