<gene>
Gene note name altName symbol altSymbol term xref organism product omimPhenotype

This element defines a gene.

Genes can only be defined by the PharmGKB although submitters can add additional information to them. To do this, submitters should supply the PharmGKB Accession ID of the gene of interest in the pharmgkbId attribute. For example, to add an alternate symbol to the gene ABCB1, which has a PharmGKB Accession Id of PA267:

<gene pharmgkbId="PA267">
  <altSymbol>MDR1</altSymbol>
</gene>
A list of all genes and their PharmGKB Accession Id's can be found here. If you would like to submit data for a gene that is not on this list, please contact us and the gene will be added to the list.

Attributes
pharmgkbId

A unique identifier assigned by the PharmGKB (the PharmGKB Accession Id). This attribute is used to refer to data that is already in the PharmGKB and is only supplied when editing or adding to such data. See the FAQ for details.

localId

A unique identifier for this element assigned by the submitter. The only rule it must follow is that no two XML elements can be assigned the same localId within a single XML document. See the FAQ for details.

Subelements
note

A note.

name

The official name of this gene. The official names for human genes are defined by the HUGO Gene Nomenclature Committee (HGNC).

altName

An alternate name for this gene.

symbol

The official symbol for this gene. The official symbols for human genes are defined by the HUGO Gene Nomenclature Committee (HGNC).

altSymbol

An alternate symbol for this gene.

term

An ontology term that describes this gene. An example GO term would be GO:0015858 (nucleoside transport). An example MeSH would be D12.776.543.750.100 (receptors, G-Protein coupled).

xref

A cross-reference to a resource with more information on this gene.

organism

The type of organism this gene is from.

If this is not defined, it defaults to Human.

product

The product(s) (e.g., an enzyme, transport protein, etc.) of this gene.

omimPhenotype

The phenotype(s) for this gene as defined by the Online Mendelian Inheritance in Man (OMIM).