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

Update gerp_derived_alleles.py to work with phased genotypes #67

Open
verku opened this issue Jan 15, 2024 · 0 comments
Open

Update gerp_derived_alleles.py to work with phased genotypes #67

verku opened this issue Jan 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@verku
Copy link
Collaborator

verku commented Jan 15, 2024

From a user contacting us:

I was getting an error and noticed that it crashes when there are genotypes in the vcf file that are phased (0|0 instead of 0/0). So I just modified line 138 to :

focal_genotype = re.split(r"/||", row[samplename])

and imported re at the beginning of the script:

import re

@verku verku added the enhancement New feature or request label Jan 15, 2024
@verku verku self-assigned this Jan 15, 2024
@verku verku added the next version Include this issue into the next pipeline version label Jan 29, 2024
@verku verku removed the next version Include this issue into the next pipeline version label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant