Count of False Positives

After applying VariantRecalibrator, I am examining the SNP.tranches.pdf and SNP.tranches table output files. I am wondering, is it possible to get a count of the tranche-specific false-positives? This value isn't immediately obvious to me in the SNP.tranches table but is plotted in the graph in SNP.tranches.pdf and I would like to access those values.

My SNP.tranches table is shown here:

# Variant quality score tranches file
# Version number 5

Thanks so much. (And this is whole-exome data and I am following the Best Practices Guidelines - although we are using GATK version 3.5, this is a choice we made for the purpose of ensuring the highest possible consistency with older data called using version 3.5)


  • AdelaideRAdelaideR Unconfirmed, Member, Broadie, Moderator admin

    @AEGentry, I believe a run-specific Rscript is generated at the same time as the .pdf. Do you have the Rscript in your output?

    Here is an example of code where you can see where the Rscript is generated:

    java -Xmx6g -jar $GATK/GenomeAnalysisTK.jar \ -T VariantRecalibrator \ -R ${reference} \ -input ${infolder}/${infile} \ -resource:hapmap,known=false,training=true,truth=true,prior=15.0 ${hapmap} \ -resource:omni,known=false,training=true,truth=false,prior=12.0 ${omni} \ -resource:1000G,known=false,training=true,truth=false,prior=10.0 ${phase1snp} \ -resource:dbsnp,known=true,training=false,truth=false,prior=2.0 ${dbsnp} \ -an DP \ -an QD \ -an FS \ -an MQRankSum \ -an ReadPosRankSum \ -mode SNP \ -tranche 100.0 \ -tranche 99.9 \ -tranche 99.0 \ -tranche 90.0 \ -numBad 1000 \ -recalFile ${infolder}/recalibrate_SNP.recal \ -tranchesFile ${infolder}/recalibrate_SNP.tranches \ -rscriptFile ${infolder}/recalibrate_SNP_plots.R \ 2>${infolder}/VariantRecalibrator_snp.err

    Take a look at how the Rcode makes the graphs and you should be able to extract that information.

Sign In or Register to comment.