COXPRESdb

ver. 6.0

last update; 2014.09.??

API in COXPRESdb (version 2)

Retrieve coexpression data

Request

http://coxpresdb.jp/cgi-bin/api2.cgi?gene=(ID of gene) [& other parameters]
Parameter name Description Required? Note
gene ID of target gene Required
type Coexpression measure Optional Allowed values: cor, mr
cutoff Cutoff value Optional If you specify "cutoff" value, you also need to specify "type" value.
db Database identifier Optional Allowed values: hsa, hsa2, hsa3, mmu, mmu2, rno, gga, dre, dme2, cel, mcc, cfa, sce, spo


Response

The api2.cgi returns search result as JSON-formatted text like below:

{
  "request": {                       # Request information
    "original_gene_id": "At2g39730", # ID of gene specified by the "id" parameter in the URL
    "entrez_gene_id": "818558",      # (internally, the system converts the specified ID to entrez gene ID,
                                     #  and the conversion result is shown here)
    "database": "Ath",               # database identifier (species)
    "database_version": "v12-08",    # database identifier (version)
    "type": null,                    # filter type (if not specified, "null" is returned)
    "cutoff": null                   # cutoff value (if not specified, "null" is returned)
  },
  "results": [                       # Coexpression data
    {
      "gene": "840895", 
      "correlation": 0.8554, 
      "mutual_rank": 3.0
    }, 
    {
      "gene": "825797", 
      "correlation": 0.8466, 
      "mutual_rank": 4.9
    }, 
...

If an error happened while processing your request, api2.cgi returns JSON that includes only "error" section like below:

{ 
  "error": "No gene ID specified." 
}



Examples

Retrieves coexpression list of ALDH2 (entrez gene ID: 7535). (Both two requests returns the same result.)

Retrieves coexpression list that includes only correlation values (mutal rank values).

Retrieves coexpression list filtered by correlation value (mutal rank value).

Retrives strongly coexpressed genes with 7535 from the database Hsa.v12-08 and Hsa2.v12-08.



API in COXPRESdb (version 1)

Retreive coexpression data

Basic usage

http://atted.jp/API/coex/ (AGI code) / (coexpression measure; cor or mr) / (cutoff value)

Omit "cutoff" option to return all coexpression from the guide gene

http://atted.jp/API/coex/ (AGI code) / (coexpression measure; cor or mr)

Omit "cutoff" and "type" optionsAlso "type" option can be omitted toreturn all MR and PCC coexpression data from the guide gene.

http://atted.jp/API/coex/ (AGI code)

Examples

URL Output
http://atted.jp/API/coex/At1g01010/cor/0.508 {[At1g62300,0.5154],[At4g39270,0.5080]}
http://atted.jp/API/coex/At1g01010/mr/20 {[At3g59220,19.18],[At1g62300,19.39]}
http://atted.jp/API/coex/At1g01010/cor {[At1g62300,0.5154],[At4g39270,0.5080],...}
http://atted.jp/API/coex/At1g01010 {[At3g59220,19.18,0.4019],[At1g62300,19.39,0.5154],...}