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

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 • 387 views

Login before adding your answer.

Traffic: 1295 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6