Skip to content

Commit b7fa124

Browse files
committed
Add comments to cases in test_vrs_normalize.py
1 parent 460d6bb commit b7fa124

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/test_vrs_normalize.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22

33
from ga4gh.vrs import models, normalize
44

5-
# >>> dp.get_sequence("refseq:NC_000019.10", 44908820, 44908830)
6-
# |820 |825 | 830
7-
# ' G C G C C T G G C A '
8-
# |A| a1
9-
#
10-
11-
5+
# Single nucleotide same-as-reference allele.
126
allele_dict1 = {
137
"location": {
148
"end": 26090951,
@@ -42,7 +36,7 @@
4236
"type": "Allele",
4337
}
4438

45-
39+
# Ambiguous indefinite outer 2 bp deletion. Should become RLE.
4640
allele_dict2 = {
4741
"type": "Allele",
4842
"location": {
@@ -57,7 +51,6 @@
5751
"state": {"sequence": "", "type": "LiteralSequenceExpression"},
5852
}
5953

60-
6154
allele_dict2_normalized = {
6255
"type": "Allele",
6356
"location": {
@@ -76,7 +69,7 @@
7669
},
7770
}
7871

79-
72+
# Ambiguous definite 2-4bp deletion. Cannot be converted to RLE. (as opposed to allele_dict2 which can)
8073
allele_dict3 = {
8174
"type": "Allele",
8275
"location": {
@@ -91,7 +84,7 @@
9184
"state": {"sequence": "", "type": "LiteralSequenceExpression"},
9285
}
9386

94-
87+
# Tandem duplication of GT, normalizes to RLE.
9588
allele_dict4 = {
9689
"type": "Allele",
9790
"location": {
@@ -125,6 +118,7 @@
125118
},
126119
}
127120

121+
# Insertion of multiple repeat subunits ("CAG") into an existing repeating region.
128122
allele_dict5 = {
129123
"location": {
130124
"end": 289464,
@@ -158,7 +152,7 @@
158152
},
159153
}
160154

161-
# Another same-as-reference allele
155+
# Another simple same-as-reference allele
162156
allele_dict6 = {
163157
"type": "Allele",
164158
"location": {

0 commit comments

Comments
 (0)