Closed ghost closed 1 year ago
To use BGZip files you need to remove the comment on line (as stated on the README):
https://github.com/fgvieira/ngsF/blob/b327c1437e45223cd4386c0fbc30b8f12fa37c4b/Makefile#L17
Why are you interested in this option? It is mainly implemented for very large datasets, to reduce memory usage. Is that your case?
Thank you for your response Dr. Vieira. I was having difficulties decompressing the file. If you have any suggestions on how to, I would greatly appreciate them.
I am not sure the .gz output from -glf 3 is bgzip. I tried to enable the flag as you indicated from the README and I was met with this.
[main] ERROR: BGZF library only supports BGZIP files!
I had already attempted to "gunzip" the file and it remained in binary which is why I thought it was a bgzip file. I can gunzip the other files produced by ANGSD v0.937 as a results of my current script: .glf.pos.gz and the .mafs.gz produced by my ANGSD run to generate the genotype likelihoods.
I realized my mistake. The glf 3 output is still a binary. I was expecting to able to see nonbinary after gunzip-ing it. My apologies. Thank you for your time Dr. Vieira.
I generated my genotype likelihood file using the following flags in ANGSD,
but I get the following error when attempting to run my input through ngsF. Reading the front page of the github repository indicates that uncompressed is the default but compressed files are still accepted. Is there a flag I am missing from my ngsF script? The manual seems to indicate it can take both compressed and uncompressed GLF files.