Using bcftools to merge files of different individuals, getting only shared sites
0
0
Entering edit mode
2.9 years ago
Jautis ▴ 580

Hello, I have two vcf files that include non-overlapping sets of individuals. I would like to merge these into one vcf file, keeping only sites that appear in each of the files. There used to be a way to do this using GATK, but that is no longer supported in GATK4.

It seems like this could be done using isec (to get sites) and then merge, restricting the output to those sites, but is there any way to do it in a single step?

vcf genotypes bcftools • 455 views
ADD COMMENT

Login before adding your answer.

Traffic: 1945 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6