Skip to content

Commit 6a58add

Browse files
committed
Add MIR9-1HG test
1 parent 9309535 commit 6a58add

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/mappers/test_exon_genomic_coords.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,17 @@ async def test_genomic_to_transcript_fusion_context(
10711071
resp = await test_egc_mapper.genomic_to_tx_segment(**inputs)
10721072
genomic_tx_seg_service_checks(resp, gusbp3_exon5_start)
10731073

1074+
# Test case where gene does not have a MANE transcript. We are looking
1075+
# to check that the same transcript accession is returned across runs
1076+
inputs = {
1077+
"genomic_ac": "NC_000001.11",
1078+
"seg_end_genomic": 156421555,
1079+
"gene": "MIR9-1HG",
1080+
}
1081+
resp = await test_egc_mapper.genomic_to_tx_segment(**inputs)
1082+
assert resp.tx_ac == "NM_001320454.2"
1083+
assert resp.tx_status == "longest_compatible_remaining"
1084+
10741085

10751086
@pytest.mark.asyncio
10761087
async def test_get_alt_ac_start_and_end(

0 commit comments

Comments
 (0)