PharmGKB:  The Pharmacogenetics and Pharmacogenomics Knowledge Base
Search PharmGKB:?
 

PharmGKB Data Web Service

The PharmGKB data service retrieves data from PharmGKB given a PharmGKB Accession Id. The WSDL for this service is available here.

Available Methods

searchGene (
  PharmGKB accession # (string)
)

searchDrug (
  PharmGKB accession #
)

searchDisease (
  PharmGKB accession #
)

searchPublication (
  PharmGKB accession #
)

searchVariant (
  chromosome (int),
  Golden Path position (int)
)

Return Value

All methods return a map of name/value pairs (e.g. a Perl hash or Java Map). Data items are variable, and can be enumerated; value types are both simple scalars and more complex nested types.

The following keys are the keys for each data type:

  • Gene
    • searchTerm
    • geneName
    • geneAlternateNames
    • geneSymbol
    • geneAlternateSymbols
    • geneRelatedPathways
    • geneRelatedDiseases
    • geneRelatedDrugs
    • geneRelatedPhenotypeDatasets
  • Drug
    • searchTerm
    • drugName
    • drugGenericNames
    • drugTradeNames
    • drugVaClassifications
    • drugRelatedPathways
    • drugRelatedGenes
    • drugRelatedDiseases
    • drugRelatedPhenotypeDatasets
    • drugStructures
  • Disease
    • searchTerm
    • diseaseName
    • diseaseAlternateNames
    • diseaseRelatedPathways
    • diseaseRelatedGenes
    • diseaseRelatedDrugs
    • diseaseRelatedPhenotypeDatasets
  • Publication
    • searchTerm
    • publicationName
    • publicationAuthors
    • publicationJournal
    • publicationYear
    • publicationVolume
    • publicationMonth
    • publicationPage
    • publicationAbstract
    • publicationKeywords
    • publicationGrantIds
    • publicationCitation
    • publicationAnnotationCategories
    • publicationAnnotationCrossReference
    • publicationAnnotationRelationships
    • publicationAnnotationDataCrossReferences
  • Variant
    • searchTerm
    • variantReportIsSynonymous
    • variantReportVariantType
    • variantReportPosition
    • variantReportFeatureType
    • variantReportGeneSymbol
    • variantReportVariantSampleSize
    • variantReportHasPhenotypeData
    • variantReportPostFlankSequence
    • variantReportAssayTypes
    • variantReportPreFlankSequence
    • variantReportAlleles
    • variantReportGeneId
    • variantReportVariantFrequencies
    • variantReportStrand
    • variantReportIsPooled
    • variantReportRelatedPhenotypeDatasets
The PGRN is financially supported by grants from NIGMS, NHLBI, NHGRI, NIEHS, NCI, and NLM within the NIH, HHS. PharmGKB is managed at Stanford University. This work is supported by the NIH/NIGMS Pharmacogenetics Research Network and Database (U01GM61374). ©2001-2008 PharmGKB.