PharmGKB XML Schema
Getting Started
For information and tutorials on XML, please see the Resources section below.
Otherwise, if you are ready to jump right in, the best place to
begin is with the root element that all PharmGKB XML documents must
start with: the <pharmgkb> element.
If you know what you're looking for, try the main element index.
And finally, if you can't find what you're looking for, check out
the list of frequently asked questions.
Schema Definition
The PharmGKB XML schema definition is available here:
- root.xsd: The root of the
PharmGKB schema. It pulls in the other schema files below.
- types.xsd: Defines common XML
elements used throughout the PharmGKB schema.
- types-sequence.xsd:
Defines common XML elements for sequences used throughout the
PharmGKB schema.
- sequence.xsd: Defines
reference sequence related XML elements.
- feature.xsd: Defines
feature related XML elements.
- gene.xsd: Defines
gene related XML elements.
- experiment.xsd: Defines
experiment related XML elements.
- haplotype.xsd: Defines
haplotype related XML elements.
- disease.xsd: Defines
disease related XML elements.
- drug.xsd: Defines
drug related XML elements.
- sampleset.xsd: Defines
sample and subject related XML elements.
- publication.xsd: Defines publication related
XML elements.
Validation
The PharmGKB XML validator can be found here.
Resources