Entering edit mode
9.2 years ago
odeta.xjd
•
0
I'm new to plink, I read the plink online instruction that plink will uncompress gz file automatically, but when I use plink:
./plink --bfile mydata
it gives me the following error:
ERROR: No file [ mydata.fam ] exists.
Only when I uncompress my .fam .bim .bed files, the command works.
I am very confused because the dataset is large and uncompress them takes up many space on my mac. Can anyone tell my why my plink does not uncompress gz files?
The .bed is already a binary format, and is already meant to be a sort of compression of the data. Why do you want to compress it? How much do you save after the compression?
I just feel weird since plink is supposed to work with .gz file but it does not work on my laptop
Are you using the same version in both computers? Maybe you have a missing or misconfigured gzip library.
I am sorry I totally don't understand what "a missing or misconfigured gzip library" mean, and if yes how can I solve this problem? Thank you very much for answering
dont compress the bed bim or fam files. leave them as is. they are in binary format. they are already HIGHLY condensed.
Basically what Giovanni mean is that the gzip library installed on the two different computer may be different. Most likely that you didn't even have the gzip library installed in on your laptop. That's why plink cannot work with the gzip data
Thank you for the reply, and how can I install a gzip library?
I presume you use mac?
Or just http://www.gzip.org/
I installed gzip:
But plink still can't work with .gz files. Shall I restart my mac maybe?