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

Error while processing alignments #73

Open
willright28 opened this issue Dec 26, 2020 · 1 comment
Open

Error while processing alignments #73

willright28 opened this issue Dec 26, 2020 · 1 comment

Comments

@willright28
Copy link

willright28 commented Dec 26, 2020

Hi,
I got a error meesage while running the gphocs, please see blow:

**************************************************************

G-Phocs version 1.3.2,  Oct. 2017

**************************************************************
Setting Thread Count to: 5
Reading control settings from file cczm.ctl...
Done.
Reading sequence data...  1000 loci, as specified in sequence file CCZM.gphocs.out.
Reading loci (.=100 loci): .......... Error: Number of phased patterns is negative, unable to process het patterns for genealogy 213.
Error while processing alignments:
Error while reallocating space for phasedPatternArray.

Could anyone help me with that? Thanks in advanced!

@igronau
Copy link
Collaborator

igronau commented Dec 28, 2020

This error message indicates that the number of distinct phased patterns you have in one of your loci exceeds the maximum that G-PhoCS assumes. This typically happens when you try to analyze many individuals and have high heterozygosity rates. Note that every site is expanded to ~ 2^(k-1) sites, where k is the number of heterozygous genotypes observed in that site. If you're trying to analyze more than 30 individuals, then prune down your sample set. Another potential cause for this error is if your loci are too long. Locus length should not exceed 1 kb.

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

2 participants