Anonymous

Changes

Pharmacoracle

114 bytes added, 13:32, 13 July 2018
Pharmacoracle - a REST API based on the OWLAPI
==''Pharmacoracle'' - a REST API based on the OWLAPI==The ''Pharmacoracle'' contains OWL ontologies that are based on CPIC recommendations provided by PharmGKB, and which have been further curated to fit the needs of the Department of Pharmacology at Oslo University Hospital by the Standford WebProtégé hosted at https://www.pgx.no/webprotege
Queries to ''Pharmacoracle'' can be performed in the Manchester syntax.
===Examples of use===
Find the PGx alleles that contain the variant snpC>T at chr6:18139228
<pre>curl https://www.pgx.no/api/pharmacoracle -d "drugs=haplotypes&query=SubClasses:snpCtoT_at some chr6_18139228"</pre>
 
Find the Azathioprine TPMT functional status of the TPMT*3B allele:
<pre>curl https://www.pgx.no/api/pharmacoracle -d "drugs=azathioprine&query=SuperClasses:has_haplotype some TPMTstar3B"</pre>