Direct interface

To enable programmatic access to the MemDis 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://memdis.ttk.hu/direct/submit?id=ID&seq=SEQ&mode=spec

Poll

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

http://memdis.ttk.hu/direct/poll?hash=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: MemDis 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://memdis.ttk.hu/direct/result/JOBID/tab
  • in XML format: http://memdis.ttk.hu/direct/result/JOBID/xml
All: #jobs: 2131 (21022 seqs) .:|:. Last week: #jobs: 1 (1 seqs) .:|:. Current load: #jobs 0 (0 seqs)