WADL
WADL location for the REST service:
http://www.yeastrc.org/philius/services/application.wadl
Data format returned
The REST services can return JSON, JSONP, or XML.
Look in the WADL for the path with "/json", "/jsonp", or "/xml" for the path to use.
For JSONP, the query parameter "jsonpCallback" is used to specify the callback function name.
If "jsonpCallback" is not specified,
"callback" will be used as the callback function name.
Operations
submitSequence
Submits a job to the Philius transmembrane prediction service.
"GET" call:
Query Parameter Argument:
sequence:
protein sequence to be annotated
"POST" call:
Send "application/x-www-form-urlencoded"
Form Parameter Argument:
sequence:
protein sequence to be annotated
Returns one of the following: (one of the two fields in the XSD will be populated)
An object of type
PhiliusSequenceAnnotationWS
representing Philius predictions.
An
int
containing the job identifier (to be used in the services below)
isJobDone
Checks the status of a job submitted to the Philius prediction service.
Path Parameter Argument:
token:
the job identifier
Returns:
true
if the job finished
false
otherwise
getPhiliusResults
Returns the results of a job submitted to the Philius prediction service.
If the job is still running, a 500 error is thrown with text saying the job is still running.
Path Parameter Argument:
token:
the job identifier
Returns: An object of type
PhiliusSequenceAnnotationWS
representing Philius predictions.