Here is the AC header
[E::vcf_parse_format] Invalid character 'N' in 'AC' FORMAT field
The vcf file produced from SNVer has "NA"s in AC FORMAT field of some samples. Running bcftools with this vcf produces this error. Seems like bcftools is not expecting NA in AC field. Could someone please suggest a solution for this.
bcftools view test.vcf -i NP=8 -o test_NP8.vcf
[E::vcf_parse_format] Invalid character 'N' in 'AC' FORMAT field at scaffold_1:345947
• 3,512 views
•
link
1 answer
look at the definition of AC in the header. it should be something like:
##INFO=<ID=AC,Number=A,Type=Integer,Description="Allele count in genotypes for each ALT allele, in the same order as listed">
AC should be an Integer, not a string.
• 0 views
•
link
Log in to answer this question.
