API

* Parameters are encased within { } braces. ? mark after the parameter name indicates that the parameter is optional.

Taxonomy

Function URL pattern Method Parameters Example
Get taxonomy information of CuGR http://cmb.bnu.edu.cn/cugr/index.php/api/taxonomy GET
Get taxonomy tree data(newick format) http://cmb.bnu.edu.cn/cugr/index.php/api/taxonomytree GET
Get all the accessions data with taxonomy id http://cmb.bnu.edu.cn/cugr/index.php/api/taxonomy/{id}/accession GET id: integer, the taxonomy id of NCBI

Accession

Function URL pattern Method Parameters Example
Get accession data http://cmb.bnu.edu.cn/cugr/index.php/api/accession/{accession?} GET accession: the accession name, eg. CG0001
if accession is not set, all the accession data will return.
Get accession with specified type http://cmb.bnu.edu.cn/cugr/index.php/api/accessions/{type}/{item} GET type: one of 'name','group','region','owner'.
item: keyword of the type
Get accession's experiments information http://cmb.bnu.edu.cn/cugr/index.php/api/{accession}/experiments GET accession: the accession name, eg. CG0001
Get accession's experiment result data http://cmb.bnu.edu.cn/cugr/index.php/api/{accession}/experiments/{eid} GET accession: the accession name, eg. CG0001
eid: the experiment id
Get accession's experiment repeatetimes http://cmb.bnu.edu.cn/cugr/index.php/api/{accession}/experiments/{eid}/repeatetimes GET accession: the accession name, eg. CG0001
eid: the experiment id

Genome

Function URL pattern Method Parameters Example
Get feature information with feature name http://cmb.bnu.edu.cn/cugr/index.php/api/{species}/feature/name/{featurename} GET species: the common species name, e.g. cucumber, wild_cucumber
featurename: the feature name
Get sequence by loation http://cmb.bnu.edu.cn/cugr/index.php/api/{species}/sequence/location?chr={chr}&strand={strand}&start={start}&end={end} GET species: the common species name, e.g. cucumber, wild_cucumber
chr: the name of chromosome, e.g. chr1
start, end: the region
strand: the strand if the chromosome
Get feature's sequence http://cmb.bnu.edu.cn/cugr/index.php/api/{species}/feature/{featurename}/sequence GET species: the common species name, e.g. cucumber, wild_cucumber
featurename: the feature name

Literature

Function URL pattern Method Parameters Example
Get literature number of each Year http://cmb.bnu.edu.cn/cugr/index.php/api/literature/year/number GET
Get Literature Top frequence Keywords http://cmb.bnu.edu.cn/cugr/index.php/api/literature/keyword/top/{number} GET number: the top number
Get the latest literatures http://cmb.bnu.edu.cn/cugr/index.php/api/literature/latest/{number} GET number: the number of literatures
Top popular journals http://cmb.bnu.edu.cn/cugr/index.php/api/literature/journal/popular/{number} GET number: the number of journal
Search publication http://cmb.bnu.edu.cn/cugr/index.php/api/literature/publication/load?q={term}&page={page} GET term: the query term
page: the page number
Search author http://cmb.bnu.edu.cn/cugr/index.php/api/literature/author/load?q={term}&page={page} GET term: the query term
page: the page number
Search journal http://cmb.bnu.edu.cn/cugr/index.php/api/literature/journal/load?q={term}&page={page} GET term: the query term
page: the page number

Others

Function URL pattern Method Parameters Example
Get QTL data http://cmb.bnu.edu.cn/cugr/index.php/api/qtl/{qtl} GET qtl: qtl name, e.g. fl4.1
Get GO information http://cmb.bnu.edu.cn/cugr/index.php/api/search/go?q={term}&take={num?} GET term: keyword
num: number of results to get.