User:Jaime Prilusky/JSmolExtension/Simple Tags

From Proteopedia
Jump to navigationJump to search

Simple tags in the Jmol Extension for User:Jaime_Prilusky/JSmolExtension

These tags will write a link that, when clicked by the user, will open a small window (pop-up) with a JSmol panel that displays a structure. No custom rendering or scripting on the structure is possible.

The tags take a text string that specifies the model to be retrieved from a file previously uploaded to the wiki or from one of the databases accessible to Jmol.

The text for the link may be specified (otherwise, it will be the same model id)

The wikicode is displayed to the right of each example.

jmolFile tag

Let's see the 3D structure of cyclohexane in the chair conformation.

The structure is retrieved from a file previously uploaded to this wiki.

<jmolFile text='cyclohexane'>Chair.cml</jmolFile>


jmolSmiles tag

The link nitrobenzene will open a popup window displaying the structure of nitrobenzene.

The structure is retrieved from the NCI CACTUS server. The contents of the tag may be a SMILES string, a name or any other ID allowed by the server.

<jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles>

jmolPdb tag

The adipocyte lipid binding protein is a small globular protein.

The structure is retrieved from the RCSB PDB server (or another PDB server, as configured by the wiki administrator). The contents of the tag must be the 4-character PDB ID.

<jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb>


<< Back to the index page of the Extension.

Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky