Trio
- class hail.genetics.Trio[source]
Bases:
objectClass containing information about nuclear family relatedness and sex.
- Parameters:
Attributes
Family ID.
Returns
Trueif the proband is a reported female,Falseif reported male, andNoneif no sex is defined.Returns
Trueif the proband is a reported male,Falseif reported female, andNoneif no sex is defined.ID of mother in trio, may be missing.
ID of father in trio, may be missing.
ID of proband in trio, never missing.
Methods
Returns True if the trio has a defined mother and father.
- is_complete()[source]
Returns True if the trio has a defined mother and father.
The considered fields are
mat_id()andpat_id(). Recall thatsmay never be missing. Thefam_id()andis_female()fields may be missing in a complete trio.- Return type:
- property is_female
Returns
Trueif the proband is a reported female,Falseif reported male, andNoneif no sex is defined.- Return type:
bool or None