ChemProt 1.02.ws0Template service
|
|
We recommend that the first time users should load the WSDL file above
to SoapUI and investigate the Web Service operations in that environment.
SoapUI is a desktop application for inspecting, invoking, developing and
functional/load/compliance testing of Web Services over HTTP. It can be
downloaded free of charge from http://www.soapui.org/.
Examples of client side scripts using the service
Usage
# download the required scripts
wget http://www.cbs.dtu.dk/ws/ChemProt/examples/xml-compile.pl
wget http://www.cbs.dtu.dk/ws/ChemProt/examples/chemprot.pl
perl chemprot.pl < example.fsa
Documentation
This is a template synchronous web service, continging three operations 'runService', 'pollQueue', and 'fetchResult'.
Input for runService is sequence data and output is annotations.
1. runService
Input: The following parameters and data:
* 'sequencedata' [containing mulitple 'sequence' element]
* 'sequence'
* 'id' Unique identifier for the sequence
* 'comment' Optional comment
* 'seq' protein sequences, with unique identifiers (mandatory)
The sequences must be written using the one letter amino acid
code: `acdefghiklmnpqrstvwy' or `ACDEFGHIKLMNPQRSTVWY'. Other
letters will be converted to `X' and treated as unknown amino
acids. Other symbols, such as whitespace and numbers, will be
ignored. All the input sequences are truncated to 70 aa from
the N-terminal. Currently, at most 2,000 sequences are allowed
per submission.
Output: Unique job identifier
2. pollQueue
Input: Unique job identifier
Output: 'jobstatus' - the status of the job
Possible values are QUEUED, ACTIVE, FINISHED, WAITING,
REJECTED, UNKNOWN JOBID or QUEUE DOWN
3. fetchResult
Input : Unique job identifier of a FINISHED job
Output:
* 'annsource'
'method' : Name of the method
'version' : Version of the methods
* 'ann' (array of annotations - one element per input sequence)
'sequence' (standard sequence object)
'id' : Sequence identifier
'comment' : Sequence comment
'seq' : Sequence
'annrecords' (array of predicted features for this sequence)
'annrecord' (annotation record)
'feature : feature name
'range'
'begin' : Begin position
'end' : End position
'score'
'key' : Key describing the nature of this score
'value : The score value
'comment : Answer.
|