available arguments
It is possible to send arguments to the dynamic scripts that can be used to launch SPICE. Two such scripts are available:
- showspice.jsp - launches spice, but displays a documentation page first, to explain what is going to happen. (recommended way how to link to spice)
- runspice.jsp - the actual .jsp page the creates the Java Web Start file that is used to lauch SPICE
| pdb | Start SPICE with a PDB accession code. Either pdb or uniprot argument is mandatory. |
| uniprot | Start SPICE with a UniProt accession code. Either pdb or uniprot argument is mandatory. |
| display | lauch SPICE with a unique id of a DAS sources, as provided by the DAS registration server. e.g. DS_109 - the UniProt DAS source. Also accepts a >;< separated list of IDs. |
| displayLabel | display all DAS sources that have been registered with a particular Label. Also accepts a >;< separated list of labels. |
| rasmolScript | send a rasmol-script to spice. Everything supported by Jmol is allowed here. The script is only applied to the first structure that is being loaded. |
| displayMessage | display a text message at startup |
| displayMessage | display a text message at startup |
| displayMessageWidth | allows to specify the width of the message. |
| displayMessageHeight | allows to specify the height of the message. |
| seqSelectStart | select a sequence region - start position in sequence coordinates |
| seqSelectEnd | select a sequence region - end position in sequence coordinates |
| pdbSelectStart | select a region on the structure only - in PDB resnum coordinates |
| pdbSelectEnd | select a region on the structure only - in PDB resnum coordinates |
All arguments need to be urlencoded: for help on url encoding e.g. look at http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
Examples
http://das.sanger.ac.uk/registry/showspice.jsp?pdb=1boi
enable/disable DAS sources through external startup link:
http://das.sanger.ac.uk/registry/showspice.jsp?pdb=1boi&display=DS_109;
displays the aristotle DAS server (by unique ID from DAS -registration
server)
http://das.sanger.ac.uk/registry/showspice.jsp?pdb=1boi&displayLabel=BioSapiens;
displays all DAS sources provided by the BioSapiens project.
the following URL performs the rasmol script:
select 10-30; cartoon off; wireframe 0.3 ; color cpk ; spin on;
show a text message:


