We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4431b8 commit 97c21bdCopy full SHA for 97c21bd
src/hla_algorithm/models.py
@@ -217,11 +217,9 @@ class AllelePairs(BaseModel):
217
218
def is_homozygous(self) -> bool:
219
"""
220
- Determine the homozygousness of alleles.
221
-
222
- Homozygousity meaning a pair is matching on both sides, ex:
223
- `Cw*0722 - Cw*0722`
+ Determine the homozygousness of these allele pairs.
224
+ A pair is homozygous if both elements match, e.g. C*07:22 - C*07:22.
225
If *any* pair of alleles matches, then we declare the whole set to be
226
homozygous.
227
0 commit comments