Mutect2 --alleles param GATK_4.1.7.0
What's going on with the --alleles param for Mutect2? It will not accept a .vcf, .vcf.gz, .list or .intervals file (<chr>:<coordinate>). I have an index for the .vcf.gz file, .vcf.gz.tbi. I am getting:
***********************************************************************
A USER ERROR has occurred: Cannot read file:///data/test_alleles.vcf.gz because no suitable codecs found
***********************************************************************
Set the system property GATK_STACKTRACE_ON_USER_EXCEPTION (--java-options '-DGATK_STACKTRACE_ON_USER_EXCEPTION=true') to print the stack trace.
Using GATK jar /gatk/gatk-package-4.1.7.0-local.jar
A more helpful error msg would be nice and the docs should say what file formats are accepted, rather than just "FeatureInput[VariantContext]".
-
Having "##fileformat=VCFv4.2" at the beginning of the --alleles .vcf.gz file seems to have done the trick.
-
Thanks for the update registered_user. This will help other users.
Please sign in to leave a comment.
2 comments