File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 22
33from 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.
126allele_dict1 = {
137 "location" : {
148 "end" : 26090951 ,
4236 "type" : "Allele" ,
4337}
4438
45-
39+ # Ambiguous indefinite outer 2 bp deletion. Should become RLE.
4640allele_dict2 = {
4741 "type" : "Allele" ,
4842 "location" : {
5751 "state" : {"sequence" : "" , "type" : "LiteralSequenceExpression" },
5852}
5953
60-
6154allele_dict2_normalized = {
6255 "type" : "Allele" ,
6356 "location" : {
7669 },
7770}
7871
79-
72+ # Ambiguous definite 2-4bp deletion. Cannot be converted to RLE. (as opposed to allele_dict2 which can)
8073allele_dict3 = {
8174 "type" : "Allele" ,
8275 "location" : {
9184 "state" : {"sequence" : "" , "type" : "LiteralSequenceExpression" },
9285}
9386
94-
87+ # Tandem duplication of GT, normalizes to RLE.
9588allele_dict4 = {
9689 "type" : "Allele" ,
9790 "location" : {
125118 },
126119}
127120
121+ # Insertion of multiple repeat subunits ("CAG") into an existing repeating region.
128122allele_dict5 = {
129123 "location" : {
130124 "end" : 289464 ,
158152 },
159153}
160154
161- # Another same-as-reference allele
155+ # Another simple same-as-reference allele
162156allele_dict6 = {
163157 "type" : "Allele" ,
164158 "location" : {
You can’t perform that action at this time.
0 commit comments