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

statSTR handling of chrY #207

Open
hopedisastro opened this issue Jan 22, 2024 · 1 comment
Open

statSTR handling of chrY #207

hopedisastro opened this issue Jan 22, 2024 · 1 comment

Comments

@hopedisastro
Copy link

hopedisastro commented Jan 22, 2024

I get the following error when running statSTR on a VCF with chrY loci genotyped by ExpansionHunter:

File "/root/micromamba/lib/python3.10/site-packages/trtools/utils/utils.py", line 312, in GetHardyWeinbergBinomialTest if gt[1] not in allele_freqs.keys(): IndexError: tuple index out of range

I think this is because the 'GT' is not in the format of two numbers eg '0/1' or '1/1' but just one integer eg '0' or '1' to represent the hemizygous chrY.

@br2890
Copy link

br2890 commented Mar 28, 2024

Just wanted to check on the above. Would the tools now support chrY positions?

Just noticed the following in the description, but would be great if does now support haploid calls:

TRTools only currently supports diploid genotypes. Haploid calls, such as those on male chrX or chrY, are not yet supported but should be coming soon.

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