Difference between revisions of "Database Connection"

From Jmol
Jump to navigation Jump to search
(load from databases)
(NCI/NIH)
Line 18: Line 18:
  
 
Chemical structures may be retrieved from this database by using a common name, a IUPAC name, a SMILES, an InChI, an InChIKey, a Chemical Abstracts registry number...
 
Chemical structures may be retrieved from this database by using a common name, a IUPAC name, a SMILES, an InChI, an InChIKey, a Chemical Abstracts registry number...
 +
 +
''Note'': the SMILES will be converted to a 3D model in the server.
 
* Using the Jmol application, top menu bar <code>File > Get MOL</code>. A dialog is displayed where you can type the name or identifier.
 
* Using the Jmol application, top menu bar <code>File > Get MOL</code>. A dialog is displayed where you can type the name or identifier.
 
* Using the script language: use a dollar sign followed by the name or identifier (no spaces). If the name contains spaces, enclose between quotes. Examples: <code>load $aspirin</code>; <code>load "$acetylsalycilic acid"</code>
 
* Using the script language: use a dollar sign followed by the name or identifier (no spaces). If the name contains spaces, enclose between quotes. Examples: <code>load $aspirin</code>; <code>load "$acetylsalycilic acid"</code>

Revision as of 23:09, 26 April 2012

Connection of Jmol to databases

Jmol can connect to certain databases in order to directly retrieve structures. This applies to the Jmol application and to the Jmol signed applet.

PDB

(The RCSB Protein Data Bank)

Macromolecular structures may be retrieved from the PDB database:

  • Using the Jmol application, top menu bar File > Get PDB. A dialog is displayed where you can type a 4-character PDB ID.
  • Using the script language: use an equal sign followed by the 4-character PDB ID (no spaces). Example: load =1crn for crambin.

Ligand structures can also be retrieved from the PDB:

  • Using the Jmol application, top menu bar File > Get PDB. You must type a = sign before the 3-character PDB ID of the ligand.
  • Using the script language: use two equal signs. Example: load ==etb for ethyl-coenzyme A.

NCI/NIH

National Cancer Institute, CADD Group's Chemoinformatics Tools, Chemical Identifier Resolver (CACTUS server).

Chemical structures may be retrieved from this database by using a common name, a IUPAC name, a SMILES, an InChI, an InChIKey, a Chemical Abstracts registry number...

Note: the SMILES will be converted to a 3D model in the server.

  • Using the Jmol application, top menu bar File > Get MOL. A dialog is displayed where you can type the name or identifier.
  • Using the script language: use a dollar sign followed by the name or identifier (no spaces). If the name contains spaces, enclose between quotes. Examples: load $aspirin; load "$acetylsalycilic acid"

PubChem

National Center for Biotechnology Information, PubChem.

Chemical structures may be retrieved from this database by name

  • Using the Jmol application, top menu bar File > Get MOL. A dialog is displayed where you can type the name or identifier, prefixed with a : sign.
  • Using the script language: use a colon sign followed by the name or identifier (no spaces). If the name contains spaces, enclose between quotes. Examples: load :aspirin; load ":acetylsalycilic acid"

Contributors

AngelHerraez, Rzepa