Combine all chromosomes in a single file
1
0
Entering edit mode
6.0 years ago
bha ▴ 80

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 • 5.5k views
ADD COMMENT
0
Entering edit mode

bcftools merge may be better. Documentation here.

ADD REPLY
0
Entering edit mode

Is vcf-tools out of date ?

ADD REPLY
1
Entering edit mode

bcftool concat will be more appropriate?

ADD REPLY
0
Entering edit mode
6.0 years ago

To merge vcf you can use vcf-tools merge

ADD COMMENT

Login before adding your answer.

Traffic: 2275 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