If you wish to link to our webpages using smart links our server webpages now provide a RESTful API for pre-filling forms. This is useful for webservers and meta-servers who wish to provide additional links for their users to our services. The API will allows external sites to link to our webpages and pre-fill some fields in the submission forms for users.

All servers can be linked using their base URI (e.g. http://bioinf.cs.ucl.ac.uk/psipred/). This will provide a blank form.

Additionally servers can be linked with the form prefilled:

http://bioinf.cs.ucl.ac.uk/dompred/?sequence=YOUR_SEQUENCE&email=YOUR_EMAIL&subject=JOB_NAME
http://bioinf.cs.ucl.ac.uk/disopred/?sequence=YOUR_SEQUENCE&email=YOUR_EMAIL&subject=JOB_NAME
http://bioinf.cs.ucl.ac.uk/bio_serf/public_job/?sequence=YOUR_SEQUENCE&subject=JOB_NAME
http://bioinf.cs.ucl.ac.uk/ffpred/?sequence=YOUR_SEQUENCE&subject=JOB_NAME
http://bioinf.cs.ucl.ac.uk/metsite/?pdbFile=PATH_TO_PDB_FILEemail=YOUR_EMAIL&subject=JOB_NAME
http://bioinf.cs.ucl.ac.uk/hspred/?pdbFile=PATH_TO_PDB_FILE&email=YOUR_EMAIL&subject=JOB_NAME&chainsA=CHAINS_STRING&chainsB=CHAINS_STRING
http://bioinf.cs.ucl.ac.uk/make_tdb/?pdbFile=PATH_TO_PDB_FILE&email=YOUR_EMAIL&subject=JOB_NAME

http://bioinf.cs.ucl.ac.uk/psipred/?sequence=YOUR_SEQUENCE&email=YOUR_EMAIL&subject=JOB_NAME&program=JOB_TYPE

It should be noted that only Opera supports prefilling the path to a file in a file upload form element, so the pdbFile options for metsite, hspred and make_tdb will only work for users using the Opera browser. The Psipred server has an additional field 'program' to preselect the analysis to be performed, valid types are: psipred, svmmemsat, mempack, genthreader, mgenthreader and domthreader. This sample URL shows the API in action

http://bioinf.cs.ucl.ac.uk/psipred/?sequence=MLELLPTAVEGVSQAQITGRPEWIWLALGTALMGLGTLYFLVKGMGVSDPDAKKFYAITT&email=a@b.com&program=genthreader

Additionally all services can have jobs submitted RESTfully with the appropriate form fields attached to the url in using each server's submit function (such as http://bioinf.cs.ucl.ac.uk/psipred/submit/)

an example is
http://bioinf.cs.ucl.ac.uk/psipred/submit/?complex=true&coil=false&membrane=false&program=psipred&email=YOUR_EMAIL_ADDRESS&subject=SUBJECT_NAME&sequence=YOUR_SEQUENCE

All the appropriate form fields MUST be included for job submission to be succesful

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 10-Nov-2011 15:26 by UnknownAuthor