Skip to content

Issue with glf file - too many sites #47

@dgallery

Description

@dgallery

Hi,
I am trying to make a kinship matrix from 47 individuals. I am running the following code:

angsd -b bams_qst_adults -gl 2 -domajorminor 1 -snp_pval 1e-6 -domaf 1 -minmaf 0.05 -doGlf 3 -out kinMAT
zcat kinMAT.mafs.gz | cut -f5 |sed 1d > freq
./ngsRelate -g kinMAT.glf.gz -n 47 -f freq -O kinMAT

Which produces the following error file:

./ngsRelate -g kinMAT.glf.gz -n 47 -f freq -O kinMAT
-> Seed is: 1211251308
-> Frequency file: 'freq' contain 139458 number of sites
-> Too many sites in glf file. Looks out of sync, or make sure you supplied correct number of individuals (-n)
-> Or that the number of sites provided (-L) it is correct

I double checked that my file list contains 47 individuals. Any assistance you can provide would be greatly appreciated.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions