This is a test version of Biostars. For the public version, visit https://www.biostars.org.
vcf files comparison to find unique variants

I have 2 vcf files for a single sample that has been sequenced twice, once before and again after developing resistance to a certain antibiotic. Is there a command I can use to extract only newly developed variants in the (post resistance) sample? (I mean to exclude mutual variants in both files)

vcf

1 answer

Use bcftools isec as explained here: How bcftools isec works ?

Log in to answer this question.