Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mapping an HGVS annotation to VariantCoordinates #75

Closed
wants to merge 5 commits into from

Conversation

ielis
Copy link
Member

@ielis ielis commented Oct 6, 2023

Add stubs for mapping an HGVS annotation to VariantCoordinate using Ensembl's REST API.

We must implement genophenocorr.preprocessing._vep.VepHgvsVariantCoordinateFinder stub and make the associated unit tests pass.

See the stub for more information/guidance.

Closes #76
Resolves BIH-CEI/ERKER2Phenopackets/#178

@ielis ielis marked this pull request as draft October 6, 2023 15:24
@ielis
Copy link
Member Author

ielis commented Oct 8, 2023

We can also use variantvalidator.org REST API; this may be even better since it directly serves VCF coordinates, which are straightforward to translate into VariantCoordinates:

E.g. for NM_005912.3:c.253A>G:

curl -X 'GET' \
  'https://rest.variantvalidator.org/VariantValidator/variantvalidator/hg38/NM_005912.3%3Ac.253A%3EG/mane_select?content-type=application%2Fjson' \
  -H 'accept: application/json'

@ielis ielis closed this Oct 20, 2023
@ielis ielis deleted the get-variant-coordinates-from-hgvs branch October 20, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support mapping HGVS annotation to variant genomic coordinates
1 participant