Closed z0on closed 4 years ago
I don't think the error is because of this, but it is worth a try.
I think the NS
should be:
NS=$((`zcat g3.mafs.gz | wc -l`-1))
since the MAFs file has a header.
Damn, you are right! problem solved, thanks! Misha
On Mon, Jun 8, 2020 at 4:45 AM Filipe G. Vieira notifications@github.com wrote:
I don't think the error is because of this, but it is worth a try. I think the NS should be:
NS=$((
zcat g3.mafs.gz | wc -l
-1))since the MAFs file has a header.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fgvieira/ngsF/issues/13#issuecomment-640495585, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZUHGEBNMQIXPNABSZFYSLRVSXLJANCNFSM4NNKL4IQ .
Hi Felipe - I am sure it is something silly, but I am out of ideas... For some reason I cannot get this to work:
NIND=
cat bams.nr | wc -l
NS=zcat g3.mafs.gz | wc -l
zcat g3.glf.gz | ngsF --glf - --n_ind $NIND --n_sites $NS --out inbrI'm getting "ERROR: cannot read GLF file!"
I made sure to make g3.glf.gz with -doGlf 3. What am I doing wrong? I have the most recent angsd, version 0.933-25-g5955d69 (htslib: 1.9-44-g80f3557)
cheers Misha