Actions

Difference between revisions of "Plugins/Blocktype/ChemNIH"

From Mahara Wiki

< Plugins
(Chem 2D NIH plugin)
(Chem 2D NIH plugin)
Line 6: Line 6:
  
 
http://cactus.nci.nih.gov/chemical/structure
 
http://cactus.nci.nih.gov/chemical/structure
 +
 +
== Use ==
 +
 +
When editing a View contents, drag the Chem 2D NIH icon (below) from the 'External feeds' tab into your view
  
 
The Chem 2D NIH (chemnih) plugin returns a Gif image of the 2D structure of any meaningful chemical search term. Valid search terms include a trivial chemical name, systematic (e.g. IUPAC) chemical name, SMILES, InChI or InChIKey. You can set the height and width of the block. You can also select whether the structure is shown in skeletal format (without explicit carbon atom labels or hydrogen atoms) or a fully displayed structure (with all atoms and atom labels).
 
The Chem 2D NIH (chemnih) plugin returns a Gif image of the 2D structure of any meaningful chemical search term. Valid search terms include a trivial chemical name, systematic (e.g. IUPAC) chemical name, SMILES, InChI or InChIKey. You can set the height and width of the block. You can also select whether the structure is shown in skeletal format (without explicit carbon atom labels or hydrogen atoms) or a fully displayed structure (with all atoms and atom labels).
Line 11: Line 15:
 
So, just type in an appropriate term (e.g. ethanol, morphine, buckyball, Cl/C=C\Cl) and you get an (almost) instant image of the 2D structure.
 
So, just type in an appropriate term (e.g. ethanol, morphine, buckyball, Cl/C=C\Cl) and you get an (almost) instant image of the 2D structure.
  
[[File:jmolnih thumb.png]]
+
[[File:chemnih thumb.png]]
  
 
== Installation ==
 
== Installation ==

Revision as of 21:29, 19 May 2011

Chem 2D NIH plugin

This plugin relies on the remarkable Chemical Identifier Resolver service developed by the Computer-Aided Drug Design (CADD) Group of the Chemical Biology Laboratory (CBL), National Cancer Institute (NCI), National Institute of Health (NIH) located at NCI-Frederick.

http://cactus.nci.nih.gov/chemical/structure

Use

When editing a View contents, drag the Chem 2D NIH icon (below) from the 'External feeds' tab into your view

The Chem 2D NIH (chemnih) plugin returns a Gif image of the 2D structure of any meaningful chemical search term. Valid search terms include a trivial chemical name, systematic (e.g. IUPAC) chemical name, SMILES, InChI or InChIKey. You can set the height and width of the block. You can also select whether the structure is shown in skeletal format (without explicit carbon atom labels or hydrogen atoms) or a fully displayed structure (with all atoms and atom labels).

So, just type in an appropriate term (e.g. ethanol, morphine, buckyball, Cl/C=C\Cl) and you get an (almost) instant image of the 2D structure.

Chemnih thumb.png

Installation

The latest version of the plugin can be downloaded from Github

https://github.com/geoffrowland/mahara-blocktype_chemnih

On unpackging, the /chemnih folder (and its contents) is simply copied into the /blocktype folder of your Mahara installation.

Remember to set appropriate Web server permissions on the new folder and contents.

Finally, visit your Site Administration > Plugin Administration page to enable the plugin.