This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Filter variants based on multiple condition

I have four vcf files (two patient and two control samples). I want to select variants present in either one of the patient and not in controls samples.

snp variant filtering next-gen

Hello ifudontmind_plzz!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

@Pierre, i assume bcftools isec -c all A.vcf.gz B.vcf.gz C.vcf.gz D.vcf.gz, gives variants in A and B but not in C and D. But i would like to have variants in A OR B but not in C & D. Any suggestions?

Any suggestions?

do multiple calls to bcftools.

0 answers

No answers yet.

Log in to answer this question.