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

unknown phenotype #152

Open
axz91 opened this issue Jun 17, 2023 · 5 comments
Open

unknown phenotype #152

axz91 opened this issue Jun 17, 2023 · 5 comments

Comments

@axz91
Copy link

axz91 commented Jun 17, 2023

if only one allele is being called, */1 , is this unknown or het
how to distinguish */1 and */0

@brentp
Copy link
Owner

brentp commented Jun 17, 2023

you can think of it as the integer number of alts. */1 is 1 alternate allele, */0 is 0 alternate alleles. You can access this with variant.alts

@axz91
Copy link
Author

axz91 commented Jun 17, 2023

could you provide an example

@brentp
Copy link
Owner

brentp commented Jun 17, 2023

variant.alts == 1 is true for */1 and false for */0

@axz91
Copy link
Author

axz91 commented Jun 18, 2023

Thanks!
"sample attributes for hom_ref, het, hom_alt, unknown which are synonums for sample.alts of 0, 1, 2, -1 respectively."
Could you confirm if sample.alts = -1, all /1 /0 1/ 0? will be called?

@brentp
Copy link
Owner

brentp commented Jun 19, 2023

  • samples.alts == 1 for */1 and 1/*
  • samples.alts == 0 for */0 and 0/*

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