Thank you so much. So this will extract the allele frequency in the two vcf files based on matching positions? But how do I find if their values are different?
• 0 views
•
link
Dear all
Can you please help me analysing a VCF file. I want to use bcftools isec option to check the difference in values in allele frequency for two VCF files at common locations. So can you please help me with the parameters?
join -t, -1 1 -2 1 \
<(bcftools query -f '%CHROM-%POS-%REF-%ALT,%INFO/AF\n' input1.vcf | sort -t, -k1,1) \
<(bcftools query -f '%CHROM-%POS-%REF-%ALT,%INFO/AF\n' input2.vcf | sort -t, -k1,1)
Thank you so much. So this will extract the allele frequency in the two vcf files based on matching positions? But how do I find if their values are different?
Log in to answer this question.