CheckFingerprint
Check Sample Identity with CheckFingerprint
CheckFingerprint is broadly based on Picard CheckFingerprint. CheckFingerprint will output LOD score to indicate whether all the genetic data between two files from the same individual or not.
If LOD score is positive, those two samples come from the same individual. Otherwise, those two samples come from different individuals.
In general, the sign of LOD in summary file should be consistent with Picard CheckFingerprint summary file, but the exact values may be different.
Validation were done on whole-genome sequencing (WGS) data, mixing WGS samples and whole exon sequencing data.
Usage
Modes
The checks can run in one of two modes:
Read comparison mode. Aligned reads are compared with the expected VCF
VCF comparison mode. Output VCF is compared with the expected VCF
Options
To enable CheckFingerprint module, the following command-line options are required.
--enable-checkfingerprint true
--checkfingerprint-expected-vcf [path_to_expected_sample_vcf]
Read comparison mode is enabled by default. Read comparison mode is recommended to use for small dataset or whole exon sequencing data.
To switch to VCF comparison mode, use the following options
--checkfingerprint-enable-vcf-comparison true
--enable-variant-caller true
Vcf comparison mode is recommended to use for larger samples, such as whole-genome sequencing data with average 30 coverage or whole exon sequencing data.
Command-line Examples
Read mode. Input BAM/FASTQ/CRAM, examine the individual reads in input sample, and compare individual reads with expected VCF file.
VCF mode. Input BAM/FASTQ/CRAM, generate a VCF file first, and compare the VCF file with expected VCF file
VCF mode. Input an observed VCF file, and compare observed VCF file with expected VCF file
Inputs
The input files used by DRAGEN CheckFingerprint are: a) haplotype map (configuration files), b) FASTQ/BAM/CRAM (user input) or observed VCF file (user input), c) expected VCF file (user input).
a) Haplotype Map
Haplotype maps for hg19, hg38 and chm13 are files that are packaged with DRAGEN and automatically selected by the software. The haplotype map is a set of SNPs grouped into haplotyp blocks (also known as linkage disequilibrium blocks). SNPs in haplotye map is used as fingerprinting.
The following columns are of interest:
b) Sample Input
Samples are input from bam/cram/fastq or observed vcf files.
The following command-line example uses FASTQ input:
The following command-line example uses vcf input:
c) Expected Vcf Input
Vcf output from dragen is recommended. It can contains multiple samples. Multiple sample vcfs can combine together and input here --checkfingerprint-expected-vcf
Checkfingerprint calculates LOD between input sample (bam/cram/fastq or vcf) and each sample in expected_vcf file.
Outputs
There are two main output files:
[output-file-prefix].CheckFingerprint.summary.txt : contains LOD scores between input sample and expected sample
[output-file-prefix].CheckFingerprint.detail.txt : contains LOD scores between individual SNPs.
CheckFingerprint.detail.txt example
CheckFingerprint.summary.txt example LOD_EXPECTED_SAMPLE is the LOD score between two samples
Method of Operation
CheckFingerprint calculates the LOD score to identify whether two samples are from the same individual or not. A positive value indicates those two samples are from the same individual. A negative value indicates two samples are not match. LOD is in logarithmic scale (base 10). Thus, a LOD of 4 indicates it is 10,000 more likely that data matches the genotypes than not. A score that is close to 0 is inconclusive that can result from low coverage or missing informative genotypes. The identity check takes advantage of haplotype blocks defined in configuration file (hg38_nochr.map,hg19_nochr.map). It can improve statistic power for identity detection by checking SNPs in haplotype blocks.
In VCF mode, CheckFingerprint uses PL to estimate genotype probabilities.
Limitaions: Currently, Vcf mode is designed for whole genome sequencing samples with 30 coverage; Read mode is designed for whole exome sequencing. Larger datasets may encounter timeout errors. Vcf mode is recommended for general use. Read mode should be used in isolation without other components enabled and should only be used if Vcf mode does not provide sufficient accuracy.
Last updated