Direct interface

To enable programmatic access to the TMCrys server, a direct interface was created with the following functions and links.

A functional template python script can be downloaded from here.


Submit

Starts the prediction on a consecutive amino acid chain. It returns with the current job's @JOBID, which can be used later to retrieve the result. An @ID (FASTA header) and a sequence (@SEQ) has to be provided. In order to reduce the possibility of errors, please provide simple IDs for the sequences and try to avoid special characters like '|@&/', white-spaces, etc..

http://tmcrys.enzim.ttk.mta.hu/direct/id=ID@seq=SEQ


Poll

Get the current status of the submitted job, by its @JOBID

http://tmcrys.enzim.ttk.mta.hu/direct/poll=JOBID

The possible statuses are:

  • Scheduled: the job is currently scheduled in the grid system
  • Running: the job is running
  • Finished: the job is finished, the results can be retrieved
  • Error: TMCrys encountered an error while running. This may be caused by badly format input, please check.
  • Invalid: the system cannot find the jobid, some error occurred internally

Result

Get the result of the submitted job, by its @JOBID:

  • in tab-delimited format: http://tmcrys.enzim.ttk.mta.hu/direct/result/JOBID/tab
  • in XML format: http://tmcrys.enzim.ttk.mta.hu/direct/result/JOBID/xml