This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Combine all chromosomes in a single file

I got 1000 genomes data which is in vcf format. All chromosomes (1 to 22) are in separate files. Is there any way to combine all 22 chromosomes in a single file? My final task is to prune that single file based on MAF and LD. I tried in PLINK (first convert everything in PLINK and tried to merge, but ends up with multi-position variants error, because there are some multiallelics ) . is anyone come across this issue? Any advice please?

genetics

bcftools merge may be better. Documentation here.

bcftool concat will be more appropriate?

1 answer

To merge vcf you can use vcf-tools merge

Log in to answer this question.