Add `expressions` in AlleleTranslator and CnvTranslator `_from*` methods
- Dominant language
- Python
- Stars
- 62
- Forks
- 42
- Avg merge
- 1h 2m
- Merged PRs (30d)
- 1
Description
This
```python
allele_translator.translate_from("17-7667909-C-A")
```
Should return this, with the originating expression in the expressions:
```json
{
"id": "ga4gh:VA.GwrfsSJ88Aenbrr1RFgP2jJ_zZhVpm-1",
"type": "Allele",
"digest": "GwrfsSJ88Aenbrr1RFgP2jJ_zZhVpm-1",
"expressions": [
{
"syntax": "gnomad",
"value": "17-7667909-C-A"
}
],
"location": {
"id": "ga4gh:SL.0BtDFWQ3t1v02m-GcqUnzKf6kkLSK3C2",
"type": "SequenceLocation",
"digest": "0BtDFWQ3t1v02m-GcqUnzKf6kkLSK3C2",
"sequenceReference": {
"type": "SequenceReference",
"refgetAccession": "SQ.dLZ15tNO1Ur0IcGjwc3Sdi_0A6Yf4zm7"
},
"start": 7667908,
"end": 7667909
},
"state": {
"type": "LiteralSequenceExpression",
"sequence": "A"
}
}
```
This should be done for as many `_from*` methods as possible
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.