In this directory, you will find simple client programs to access web services on PharmGKB. They require the SOAPPy module. search.py - free-text search of PharmGKB usage: search % python search.py CYP2D6 true false false false specialSearch.py - special searches, corresponding to the PharmGKB home page usage: specialSearch where search type is one of: 0 Genes with pharmacokinetic significance 1 Genes with pharmacodynamic significance 2 Genes with PharmGKB variant data 3 Genes with PK variants 4 Genes with PD variants 5 Drugs with supporting information 6 Diseases with supporting information 7 Phenotype datasets 8 Pathways with PGx significance 9 Annotated publications describing relationships among genes, drugs and diseases 10 Literature annotations, pathways and phenotype datasets annotated with pharmacokinetics 11 Literature annotations, pathways and phenotype datasets annotated with pharmacodynamics 12 Literature annotations and phenotype datasets annotated with clinical outcome % python specialSearch.py 0 drugs.py - PharmGKB drug information, by PharmGKB accession ID usage: drugs.py % python drugs.py PA452624 diseases.py - PharmGKB disease information, by PharmGKB accession ID usage: diseases.py % python diseases.py PA447230 genes.py - PharmGKB gene information, by PharmGKB accession ID usage: genes.py % python genes.py PA267 publications.py - PharmGKB publication and annotation information, by PharmGKB accession ID usage: publications.py % python publications.py PA133822615 variants.py - PharmGKB variant summary report, by chromosome and GoldenPath position usage: variants.pl % python variants.py 5 148185934 getXrefs.py - get PharmGKB data cross-referenced to external databases usage: getXrefs % python getXrefs.py 19 46204681 getXrefsByRsId.py - get PharmGKB data cross-referenced to external databases, by dbSNP rsID usage: getXrefsByRsId.py % python getXrefsByRsId.py rs1648700 getXrefsByGeneSymbol.py - get PharmGKB data cross-referenced to external databases, by gene symbol usage: getXrefsByGeneSymbol.py % python getXrefsByGeneSymbol.py ABCB1 Version: 1.3 (8/8/06) Change Log: 1.3: - add variants - add drugs, diseases, genes, and publications 1.2: (internal release) 1.1: - add specialSearch operation for PharmGKB homepage searches 1.0: - original release