library(rapiclient)
client <- get_api(url = "https://genomenexus-rc.herokuapp.com/v2/api-docs")
> client
Swagger API 2.0 Genome Nexus API 2.0
genomenexus-rc.herokuapp.com
Genome Nexus Variant Annotation API
fetchVariantAnnotationPOST
Retrieves VEP annotation for the provided list of variants
fetchVariantAnnotationGET
Retrieves VEP annotation for the provided variant
fetchCanonicalEnsemblTranscriptsByHugoSymbolsPOST
Retrieves Ensembl canonical transcripts by Hugo Symbols
fetchCanonicalEnsemblTranscriptByHugoSymbolGET
Retrieves Ensembl canonical transcript by Hugo Symbol
fetchEnsemblTranscriptsGET
Retrieves Ensembl Transcripts by protein ID, and gene ID. Retrieves all transcripts in case no query parameter provided
fetchEnsemblTranscriptsByEnsemblFilterPOST
Retrieves Ensembl Transcripts by Ensembl transcript IDs, protein IDs, or gene IDs
fetchEnsemblTranscriptByTranscriptIdGET
Retrieves the transcript by an Ensembl transcript ID
fetchGeneXrefsGET
Perform lookups of Ensembl identifiers and retrieve their external references in other databases
fetchPdbHeaderPOST
Retrieves PDB header info by a PDB id
fetchPdbHeaderGET
Retrieves PDB header info by a PDB id
fetchPfamDomainsGET
Retrieves all PFAM domains
fetchPfamDomainsByPfamAccessionPOST
Retrieves PFAM domains by PFAM domain accession IDs
fetchPfamDomainsByAccessionGET
Retrieves a PFAM domain by a PFAM domain ID
fetchVersionGET
Retrieve Genome Nexus Version
> operations <- get_operations(client)
> res = operations$fetchVariantAnnotationGET(variant="17:g.41242962_41242963insGA")
> head(httr::content(res))
$variant
[1] "17:g.41242962_41242963insGA"
$id
[1] "17:g.41242962_41242963insGA"
$assembly_name
[1] "GRCh37"
$seq_region_name
[1] "17"
$start
[1] 41242963
$end
[1] 41242962