Skip to content

Commit 606d278

Browse files
Fixup IUPAC alleles reference
1 parent 81c0e74 commit 606d278

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ that have already been generated.
6060
```
6161

6262
```{eval-rst}
63+
.. data:: IUPAC_ALLELES
64+
6365
.. autofunction:: decode_flags
6466
6567
.. autofunction:: flags_summary

sc2ts/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
# NOTE!! This string is also used in the jit module where it's
2323
# hard-coded into a numba function, so if this ever changes
2424
# it needs to be updated there also!
25+
2526
IUPAC_ALLELES = "ACGT-RYSWKMBDHV."
27+
"""
28+
The allele-integer encoding used by sc2ts.
29+
"""
2630

2731
NODE_IS_MUTATION_OVERLAP = 1 << 21
2832
NODE_IS_REVERSION_PUSH = 1 << 22

0 commit comments

Comments
 (0)