brentp / slivar

genetic variant expressions, annotation, and filtering for great good.
MIT License
247 stars 23 forks source link

unknown phenotype #152

Open axz91 opened 1 year ago

axz91 commented 1 year ago

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

brentp commented 1 year ago

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 commented 1 year ago

could you provide an example

brentp commented 1 year ago

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

axz91 commented 1 year ago

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 commented 1 year ago