-
Notifications
You must be signed in to change notification settings - Fork 10
Services API
Alan Cleary edited this page Jan 29, 2017
·
12 revisions
Takes a set of focus gene identifiers and the number of neighbors to display on either side of each gene. Returns the set of tracks centered about the given focus genes.
-
URL
/micro-synteny-basic/
-
Method:
POST
-
URL Params
Required:
None
-
Data Params
genes=[gene_id, ...]
numNeighbors=Number
-
Success Response:
-
Code: 200
Content:
{ families: [{ id : String, name : String }, ...], groups: [{ chromosome_name: String, chromosome_id: String, species_name: String, species_id: String, genes: [{ id: String, name: String, fmin: Integer, fmax: Integer, strand: 0 | -1 | 1, family: String }] }, ...] }
-
Code: 200
-
Error Response:
- Code: 404 NOT FOUND
-
Sample Call:
$.ajax({ url: "/micro-synteny-basic/", dataType: "json", data: { genes: ["lotja.Lj0g3v0166889", "Ccicar.Ca_05015_gene"], numNeighbors: 10 }, type : "POST", success : function (r) { console.log(r); } });