Events News Research CBS CBS Publications Bioinformatics
Staff Contact About Internal CBS CBS Other

TatP 1.0.ws0

Template service

WSDL TatP/TatP_1_0_ws0.wsdl
Schema definitions ../common/ws_common_1_0b.xsd

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

Examples of client side scripts using the service

FilenameTypeCompatibilityAuthorDescription (2.7 KB) Perl 1.0 ws0 Edita Bartaseviciute
This is a template example script. I reads fasta from STDIN and produces template annotation format output
example.fsa (1.3 KB) (1.9 KB) Perl NA Peter Fischer Hallin
Helper scripts used to initiate XML::Compile's proxys (WSDL+XSD)


# download the required scripts

perl < example.fsa 


      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,

    3. fetchResult

    Input :  Unique job identifier of a FINISHED job

            * '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
                   'begin'   : Begin position
                   'end'     : End position
                   'key'     : Key describing the nature of this score
                   'value    : The score value
                 'comment    : Answer.