-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cnv translator supports uncertain ranges for g. and m. (#387)
Added capability for CNV translator to support `Range` endpoints in SequenceLocations for g. and m. hgvs expressions.
- Loading branch information
Showing
7 changed files
with
270 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...s/cassettes/test_from_hgvs_cx[NC_000005.9:g.(90136803)_(90159675)dup-None-expected6].yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:5000/seqrepo/1/metadata/refseq:NC_000005.9 | ||
response: | ||
body: | ||
string: "{\n \"added\": \"2016-08-24T05:17:01Z\",\n \"aliases\": [\n \"GRCh37:5\",\n | ||
\ \"GRCh37:chr5\",\n \"GRCh37.p10:5\",\n \"GRCh37.p10:chr5\",\n \"GRCh37.p11:5\",\n | ||
\ \"GRCh37.p11:chr5\",\n \"GRCh37.p12:5\",\n \"GRCh37.p12:chr5\",\n | ||
\ \"GRCh37.p13:5\",\n \"GRCh37.p13:chr5\",\n \"GRCh37.p2:5\",\n \"GRCh37.p2:chr5\",\n | ||
\ \"GRCh37.p5:5\",\n \"GRCh37.p5:chr5\",\n \"GRCh37.p9:5\",\n \"GRCh37.p9:chr5\",\n | ||
\ \"MD5:0740173db9ffd264d728f32784845cd7\",\n \"NCBI:NC_000005.9\",\n | ||
\ \"refseq:NC_000005.9\",\n \"SEGUID:Ja+pA+dtRy6jSKdOZXN58wY0rK4\",\n | ||
\ \"SHA1:25afa903e76d472ea348a74e657379f30634acae\",\n \"VMC:GS_vbjOdMfHJvTjK_nqvFvpaSKhZillW0SX\",\n | ||
\ \"sha512t24u:vbjOdMfHJvTjK_nqvFvpaSKhZillW0SX\",\n \"ga4gh:SQ.vbjOdMfHJvTjK_nqvFvpaSKhZillW0SX\",\n | ||
\ \"hs37-1kg:5\",\n \"hs37d5:5\"\n ],\n \"alphabet\": \"ACGNT\",\n | ||
\ \"length\": 180915260\n}\n" | ||
headers: | ||
Connection: | ||
- close | ||
Content-Length: | ||
- '803' | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 05 Apr 2024 19:19:57 GMT | ||
Server: | ||
- Werkzeug/2.2.2 Python/3.10.4 | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
42 changes: 42 additions & 0 deletions
42
...ttes/test_from_hgvs_cx[NC_000009.11:g.(?_108337304)_(108337428_?)del-None-expected5].yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:5000/seqrepo/1/metadata/refseq:NC_000009.11 | ||
response: | ||
body: | ||
string: "{\n \"added\": \"2016-08-24T05:18:51Z\",\n \"aliases\": [\n \"GRCh37:9\",\n | ||
\ \"GRCh37:chr9\",\n \"GRCh37.p10:9\",\n \"GRCh37.p10:chr9\",\n \"GRCh37.p11:9\",\n | ||
\ \"GRCh37.p11:chr9\",\n \"GRCh37.p12:9\",\n \"GRCh37.p12:chr9\",\n | ||
\ \"GRCh37.p13:9\",\n \"GRCh37.p13:chr9\",\n \"GRCh37.p2:9\",\n \"GRCh37.p2:chr9\",\n | ||
\ \"GRCh37.p5:9\",\n \"GRCh37.p5:chr9\",\n \"GRCh37.p9:9\",\n \"GRCh37.p9:chr9\",\n | ||
\ \"MD5:3e273117f15e0a400f01055d9f393768\",\n \"NCBI:NC_000009.11\",\n | ||
\ \"refseq:NC_000009.11\",\n \"SEGUID:06BhLSlH1xeVNSYu0zRK9qIVmFg\",\n | ||
\ \"SHA1:d3a0612d2947d7179535262ed3344af6a2159858\",\n \"VMC:GS_HBckYGQ4wYG9APHLpjoQ9UUe9v7NxExt\",\n | ||
\ \"sha512t24u:HBckYGQ4wYG9APHLpjoQ9UUe9v7NxExt\",\n \"ga4gh:SQ.HBckYGQ4wYG9APHLpjoQ9UUe9v7NxExt\",\n | ||
\ \"hs37-1kg:9\",\n \"hs37d5:9\"\n ],\n \"alphabet\": \"ACGNT\",\n | ||
\ \"length\": 141213431\n}\n" | ||
headers: | ||
Connection: | ||
- close | ||
Content-Length: | ||
- '805' | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 05 Apr 2024 19:12:51 GMT | ||
Server: | ||
- Werkzeug/2.2.2 Python/3.10.4 | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...om_hgvs_cx[NC_000023.11:g.(31060227_31100351)_(33274278_33417151)dup-None-expected4].yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: http://localhost:5000/seqrepo/1/metadata/refseq:NC_000023.11 | ||
response: | ||
body: | ||
string: "{\n \"added\": \"2016-08-27T23:57:18Z\",\n \"aliases\": [\n \"GRCh38:X\",\n | ||
\ \"GRCh38:chrX\",\n \"GRCh38.p1:X\",\n \"GRCh38.p1:chrX\",\n \"GRCh38.p10:X\",\n | ||
\ \"GRCh38.p10:chrX\",\n \"GRCh38.p11:X\",\n \"GRCh38.p11:chrX\",\n | ||
\ \"GRCh38.p12:X\",\n \"GRCh38.p12:chrX\",\n \"GRCh38.p2:X\",\n \"GRCh38.p2:chrX\",\n | ||
\ \"GRCh38.p3:X\",\n \"GRCh38.p3:chrX\",\n \"GRCh38.p4:X\",\n \"GRCh38.p4:chrX\",\n | ||
\ \"GRCh38.p5:X\",\n \"GRCh38.p5:chrX\",\n \"GRCh38.p6:X\",\n \"GRCh38.p6:chrX\",\n | ||
\ \"GRCh38.p7:X\",\n \"GRCh38.p7:chrX\",\n \"GRCh38.p8:X\",\n \"GRCh38.p8:chrX\",\n | ||
\ \"GRCh38.p9:X\",\n \"GRCh38.p9:chrX\",\n \"MD5:2b3a55ff7f58eb308420c8a9b11cac50\",\n | ||
\ \"NCBI:NC_000023.11\",\n \"refseq:NC_000023.11\",\n \"SEGUID:Z9QbQrrPjpjXSMJesDYqC3A43lA\",\n | ||
\ \"SHA1:67d41b42bacf8e98d748c25eb0362a0b7038de50\",\n \"VMC:GS_w0WZEvgJF0zf_P4yyTzjjv9oW1z61HHP\",\n | ||
\ \"sha512t24u:w0WZEvgJF0zf_P4yyTzjjv9oW1z61HHP\",\n \"ga4gh:SQ.w0WZEvgJF0zf_P4yyTzjjv9oW1z61HHP\"\n | ||
\ ],\n \"alphabet\": \"ACGNRSTWY\",\n \"length\": 156040895\n}\n" | ||
headers: | ||
Connection: | ||
- close | ||
Content-Length: | ||
- '978' | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Fri, 05 Apr 2024 19:12:51 GMT | ||
Server: | ||
- Werkzeug/2.2.2 Python/3.10.4 | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters