ga4gh / ga4gh/vrs-python

Support to_hgvs for protein variants

Open
#633 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:low
Dominant language
Python
Stars
62
Forks
42
Avg merge
1h 2m
Merged PRs (30d)
1

Description

Example:
https://www.ncbi.nlm.nih.gov/clinvar/variation/2274894

```yaml
id: ga4gh:VA.AIm-GH_iqp_bpcIVzi431fl7z-cQimNN
type: Allele
digest: AIm-GH_iqp_bpcIVzi431fl7z-cQimNN
location:
id: ga4gh:SL.wgFs8Z2Nk4uD7nq_gFbdYH1FhagXkMhL
type: SequenceLocation
digest: wgFs8Z2Nk4uD7nq_gFbdYH1FhagXkMhL
sequenceReference:
type: SequenceReference
refgetAccession: SQ.dvlWjX2CGulwfb2ehmkCFn02ah7tEEVB
start: 260
end: 261
state:
type: LiteralSequenceExpression
sequence: A
```

Should come out as `NP_060204.1:p.Val261Ala`.

For now only support this for single-protein-residue changes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.