Hello,
I am getting the following error while trying to merge trio VCFs using the solution you provided here https://www.biostars.org/p/329022/
When merging multiple samples the QUAL, FILTER, and INFO fields are taken from the first record at each position.
Error: Additional header line '##SAMPLE=<ID=BH10322_1,Sex->', Could not parse VCF header line
I would appreciate any help.
Here is my command
${rtg} vcfmerge {child}.vcf.gz ${mother}.vcf.gz ${father}.vcf.gz -a "##PEDIGREE=<Child=${child},Mother=${mother},Father=${father}>" -a "##SAMPLE<ID=${child},Sex-${sex}>" -o ${trioID}_trio.vcf.gz
Thanks,
Sairam
Error: Additional header line '##SAMPLE=<ID=BH10322_1,Sex->', Could not parse VCF header line
Here is my command
${rtg} vcfmerge {child}.vcf.gz ${mother}.vcf.gz ${father}.vcf.gz -a "##PEDIGREE=<Child=${child},Mother=${mother},Father=${father}>" -a "##SAMPLE<ID=${child},Sex-${sex}>" -o ${trioID}_trio.vcf.gz