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

Running Ancestry Analysis on Samples with no Hets Found #69

Open
angelussong opened this issue Aug 27, 2019 · 4 comments
Open

Running Ancestry Analysis on Samples with no Hets Found #69

angelussong opened this issue Aug 27, 2019 · 4 comments

Comments

@angelussong
Copy link

Hi @brentp!

I'm working on a project trying to run some ancestry analysis on single-cell RNAseq samples. I used monovar for the variant calling and then peddy for the ancestry calling. All my samples had no hets in them. When I ran peddy, I saw this error:
Traceback (most recent call last):
File "", line 1, in
File "/wynton/home/fhuanglab/hsong1/.conda/envs/py2/lib/python2.7/site-packages/peddy/peddy.py", line 866, in het_check
sites, min_depth=min_depth)
File "cyvcf2/cyvcf2.pyx", line 76, in cyvcf2.cyvcf2.par_het
File "cyvcf2/cyvcf2.pyx", line 743, in cyvcf2.cyvcf2.VCF._finish_het
IndexError: index 0 is out of bounds for axis 0 with size 0

I'm wondering now if I could only run the ancestry analysis on these samples without the sex calling. Is that possible?

Thanks very much!

@brentp
Copy link
Owner

brentp commented Aug 29, 2019

yes, it's possible, but this doesn't appear to be failing on the sex check part.

@brentp
Copy link
Owner

brentp commented Sep 6, 2019

ancestry uses PCA. a sample without hom-ref calls will cluster away from all other samples which have hom-ref, het and hom-alt, so this will not be useful.
I am trying to figure out a solution for this, but don't have one at this time.

@ruthbpaula
Copy link

Any updates on that? I am having the same issue.

@brentp
Copy link
Owner

brentp commented Jan 29, 2024

@ruthbpaula your samples also have no hets? I don't think that peddy can work well in that case.

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