well I read in one of the post I could do like this, merge both vcf files
cat 2.vcf 4.vcf > 24.vcf
but when I check at my 24.vcf file I miss some of the chr positions from 4.vcf...
so I asume this code is not valid for vcf files right?
Yes, you might try using vcftools merge
ok thanks..I was just wondering if was possible or not....
I try now merge with vcftools
What would be the opposite of merge?
I mean for example I want take out from 4.vcf all gens in comon with 2.vcf
Google "vcf intersect". That is the operation you're looking for. bedtools should have it.
ok! thanks a lot ram!
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy