VariantRecalibrator in GATK
1
0
Entering edit mode
9.6 years ago
897598644 ▴ 100

Excuse me:

I used unifiedGenotyper in GATK to call variants and filterd variants with VQSR. There were errors:

java -jar GenomeAnalysisTK.jar \ 
    -T ApplyRecalibration \ 
    -R reference.fa \ 
    -input raw_variants.vcf \ 
    -mode SNP \ 
    --ts_filter_level 99.0 \ 
    -recalFile recalibrate_SNP.recal \ 
    -tranchesFile recalibrate_SNP.tranches \ 
    -o recalibrated_snps_raw_indels.vcf

The log said

##### ERROR MESSAGE: Argument with name '--resource' (-resource) is missing.
##### ERROR Argument with name '--use_annotation' (-an) is missing.

Was the error in UnifiedGenotyper? When I used HaplotypeCaller, it did not print out error.

Any thing that helped me understand the issue would be much appreciated.

alignment sequence next-gen-sequencing • 3.7k views
ADD COMMENT
0
Entering edit mode

I have found the error.

Thanks again.

ADD REPLY
0
Entering edit mode

This is not an answer to the original question, and it carries no information for other's who come upon this question.

For the benefit of the community, you must tell us what you found, or fixed.

ADD REPLY
0
Entering edit mode

Thanks to Karl's suggestion. It was the path error that I did not find.

ADD REPLY
2
Entering edit mode
9.6 years ago
Brice Sarver ★ 3.8k

You need to specify the truth and training datasets, as well as the annotations, when you run VariantRecalibrator. You build the model under your set of criteria and then apply it to your dataset.

For more help, check out this GATK guide.

ADD COMMENT

Login before adding your answer.

Traffic: 2266 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6