API — An interface for scriptable access to the Animal QTLdb

Definitions: Programs and name/value keys

This is a layman style of the basics of Animal QTLdb API. See DTD file for details.

Main progrograms and parameters

Program Keys Property Values
iinfoquery (q) required"info", "help"
scope (s)required Species, e.g. "cattle", "horse", etc.
iqueryquery (q) requiredAny key word
scope (s) required Species, e.g. 'cattle', 'pig', 'sheep', 'horse', 'chicken', 'rainbow trout', etc.
handle (h) optional "publications", "raits", "breed", "genes", "chrloc"
ifetch fetch (f) required A string of QTL IDs delimited with comma.
format (m) optional "XML" (default), "GFF", "CSV", etc.

Additional parameters

Programs Keys Property Values
iinfo, iquery, ifetch email (e) required a valid email address for contact
usehistory (u) optional "y" vs "n"

HTTP call syntax:

  • http://www.animalgenome.org/cgi-bin/QTLdb/API/iinfo?q=info&history=y
  • http://www.animalgenome.org/cgi-bin/QTLdb/API/iquery?q=fat%20color&s=cattle&h=traits&history=y
  • http://www.animalgenome.org/cgi-bin/QTLdb/API/iquery?q=1:1232-1923873&s=cattle&h=chrloc&history=y
  • http://www.animalgenome.org/cgi-bin/QTLdb/API/ifetch?q=12890,12896,12925,17741,..&s=pig&history=y
  •  

    © 2003-2024: USA · USDA · NRPSP8 · Program to Accelerate Animal Genomics Applications. Contact: Bioinformatics Team