fgvieira / ngsF

Estimation of per-individual inbreeding coefficients under a probabilistic framework
Other
20 stars 8 forks source link

Merge glf.gz from different chromosome #8

Closed biozzq closed 7 years ago

biozzq commented 7 years ago

Hi @fgvieira

I have run doGlf 3 for each chromosome using angsd. In order to estimate inbreeding coefficient, I think I should merge the binary glf.gz together from each chromosome, but I do not know which software can do this.

Best Zhuqing

fgvieira commented 7 years ago

Dear Zhuqing,

if you have GLF files from ANGSD -doGlf 3, you can merge them by simply zcat and gzip them:

zcat 1.glf.gz 2.glf.gz .... | gzip - >merge.glf.gz

Best,