From Impute2 to PLINK: when to merge chromosome files?
2
1
Entering edit mode
7.0 years ago
whit18 ▴ 20

After Impute2, I'll have one file for each chromosome. I saw that PLINK can take each file, convert form binary, and then in another step merge them. Is this the best way to merge the chromosome files? Or is it better to merge the files before PLINK?

Thanks!!

imputation impute2 plink gwas • 3.5k views
ADD COMMENT
1
Entering edit mode
7.0 years ago
Wietje ▴ 240

I suppose it is safe to convert them in PLINK and then apply merge. I recommend the merge-list option which allows you to merge several files in one go.

ADD COMMENT
0
Entering edit mode

Great, thanks! I can't find any good alternatives, but I'll definitely try merge-list

ADD REPLY
1
Entering edit mode
6.8 years ago
zx8754 12k

See GTOOLS merge -M option.

ADD COMMENT
0
Entering edit mode

Hi, I have used this option to merge two chromosomes as an example. I'm getting a difference in number of snps in the combined file (I suppose it should be equal to sum of the lines two files that I merge, for example. Right?)

ADD REPLY

Login before adding your answer.

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