Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem reading full chunk error #20

Closed
AdamStuckert opened this issue May 13, 2019 · 3 comments
Closed

Problem reading full chunk error #20

AdamStuckert opened this issue May 13, 2019 · 3 comments

Comments

@AdamStuckert
Copy link

Hi,

I am using ngsRelate version 2, and getting an error that hasn't already been raised in issues. I followed the template on the GitHub page. My code:

angsd -b samples4relatedness.txt -out angsd4relatedness -gl 2 -domajorminor 1 -snp_pval 1e-6 -domaf 1 -minmaf 0.05 -doGlf 3 -P 15

zcat angsd4relatedness.mafs.gz | cut -f5 | sed 1d > freq.txt

ngsRelate -g angsd4relatedness.glf.gz -n 100 -p 15 -f freq.txt -O output.res

I get the following error:

        -> Frequency file: 'freq.txt' contain 1458673 number of sites
        -> Problem reading full chunk

Thanks in advance,
Adam

@ANGSD
Copy link
Owner

ANGSD commented May 13, 2019 via email

@AdamStuckert
Copy link
Author

Number of lines in the frequency file: 1458673

angsd4relatedness.glf.gz size: 1575366840

Thanks,
Adam

@ANGSD
Copy link
Owner

ANGSD commented May 14, 2019

So by the filesize alone the glf file looks corrupted. Do you have 100 individuals as suggested by the -n 100 argument for ngsRelate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants