bcftools icon indicating copy to clipboard operation
bcftools copied to clipboard

bcftools concat doesn't work !

Open jefflllyyy opened this issue 2 years ago • 1 comments

Hello, I have two VCF files, each with 100 sample columns, and the sample columns are the same, but their SNPs are different. How can I merge the two VCF files to obtain all the SNPs from these two VCF files? Can I use the command bcftools concat -D -a 1.vcf 2.vcf -o total.vcf to merge them?

jefflllyyy avatar Oct 11 '23 13:10 jefflllyyy

If the files are indexed, then yes, it should work. If it does not, you'll need to provide more details, for example the error message printed by the program...

pd3 avatar Oct 13 '23 11:10 pd3