Open pbrennan13 opened 4 years ago
@pbrennan13 after #6858 goes in I can apply a similar fix to the other annotations. Are you sure that AS_MQ
and AS_ReadPosRankSum
are problematic? They seem to be correctly described as length-A lists of floats.
We also experienced problems with the wrong number attribute for the AS_SB_TABLE
and AS_FilterStatus
annotations.
Besides the number attribute, AS_SB_TABLE
has a non-standard field separation; it uses |
to separate alleles and comma to separate values for each allele. AFAIK, the common practice is using the comma as the primary delimiter to separate alleles and other delimiters would be used within each allele specific annotation to further separate the values.
Hi pbrennan13 and all, I have same error in merging Mutect2.vcf files to one by using bcftools merge function.
I am beginner for editing vcf files.
How did you change all 'A' and '1' -> '.' of Mutect2 vcf files? Could you show me or write brief command here?
It would be great help for those who are beginner.
@TnakaNY may be not the best way but I gunzipped all the files, used
sed -i 's/##INFO=<ID=AS_FilterStatus,Number=A/##INFO=<ID=AS_FilterStatus,Number=1/'
,
then bgzipped and indexed again.
Hi, Thank you for suggestions. Please let me try it. Best, AT
2021年2月1日(月) 18:40 BJWiley23 notifications@github.com:
@TnakaNY https://github.com/TnakaNY may be not the best way but I gunzipped all the files, used sed -i 's/##INFO=<ID=AS_FilterStatus,Number=A/##INFO=<ID=AS_FilterStatus,Number=1/' , then bgzipped and indexed again.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/broadinstitute/gatk/issues/6931#issuecomment-771237955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT7KULSRXWU55LLWHJUFQTS443VJANCNFSM4TE6DOYA .
Instructions
The github issue tracker is for bug reports, feature requests, and API documentation requests. General questions about how to use the GATK, how to interpret the output, etc. should be asked on the official support forum.
_
) as appropriateBug Report
Affected tool(s) or class(es)
Mutect2/FilterMutectCalls
Affected version(s)
Both 4.1.6 and 4.1.9 were affected. Other version may be affected as well, but I have not tested them.
Description
Output from vcf-validator:
We have idnetified the following header lines to be causing the issue
ID=AS_ReadPosRankSum,Number=A ID=AS_FilterStatus,Number=A ID=AS_MQ,Number=A ID=AS_SB_TABLE,Number=1 ID=AS_UNIQ_ALT_READ_COUNT,Number=A
After our final VCF is produced from FilterMutectCalls, we are having to manually changed all 'A' and '1' -> '.' in the above annotations. This seems to resolve the issue.
Below is the mutect2 command we are using:
gatk Mutect2 \ -I tumor.bam \ -I normal.bam \ -normal normal_sample_name \ -mbq 17 \ --initial-tumor-lod 6.0 \ -A AS_RMSMappingQuality -A MappingQualityRankSumTest -A AS_ReadPosRankSumTest -A FragmentLength \ --germline-resource af-only-gnomad.raw.sites.b37.vcf.gz \ -O mutect2.vcf \ -R human_g1k_v37_decoy.fasta
Any help in this matter would be greatly appreciated!