**For the impatient, this is the direct link to the download page“>For the impatient, this is the direct link to the download page**
For more information see our paper: EL Willighagen, NM O’Boyle, H Gopalakrishnan, D Jiao, R Guha, C Steinbeck, DJ Wild. Userscripts for the Life Sciences. BMC Bioinformatics, 2007, 8, 487.
In the examples below, we show how it is possible to identify PDB codes contained in the text of normal web pages and to add a link beside each PDB code that displays the protein structure in Jmol. A more sophisticated example identifies DOIs on a page, looks them up on Chemical Blogspace, and adds a link if there are any blogs that discuss that paper.
The first step though is to set up Greasemonkey:
- Install Firefox on Windows/Linux/whatever
- Install Greasemonkey
- Restart Firefox. You should see a little monkey grinning in the bottom right corner. You can click on this to toggle Greasemonkey on/off.
To give feedback on any of these scripts, you can use the Comment facility on the script download page.
Annotate PDB codes with links to ‘FirstGlance in Jmol’
This one’s by Noel, and involves simple pattern-matching of the text of the web page.
- Install the PDB-Jmol Greasemonkey Script from either Userscripts.org or our SVN Repository.
- Look at the PDB codes on this page. They should all have links to Jmol beside them.
- Weird things happen when editing a wiki entry containing PDB codes as the wiki source is transformed by the Greasemonkey script also if you use Preview. The workaround is to turn Greasemonkey off if you see this happening.
Sechemtic: Annotate CAS number, SMILES and InChI codes with links
This script by Egon adds links to CAS numbers, SMILES strings and InChI codes. It requires web pages to use standard HTML markup to indicate that some text is a CAS number, SMILES or InChI code. You can install the script from here.
A full description plus a lot of interesting discussion can be found in two blog posts of Egon: http://chem-bla-ics.blogspot.com/2006…/smiles-cas-and-inchi-in-blogs.html, http://chem-bla-ics.blogspot.com/2006…/chemistry-in-html-greasemonkey-again.html.
Add quotes from Postgenomic and Chemical blogspace to DOIs
This script is a major extension of the Postgenomic.com script of Pedro Beltrão (http://pbeltrao.blogspot.com/2006/05/postgenomics-script-for-firefox-i-am…, http://www.nodalpoint.org/2006/05/16/postgenomic_greasemonkey_script…, http://wiki.nodalpoint.org/projects_postgenomic…).
- Install the PostGenomic and Chemical Blogspace Greasemonkey Script
- Go to the Nature Table of Contents. You should see articles which have been commented on by Chemistry and Biology bloggers.
- You can click on the ‘Cb’ or ‘Pg’ logo to bring you to the Chemical Blogspace paper for that paper, or you can wait for the popup of blog posts and click on a link to bring you directly to a particular blog post.
- Under “Tools/Greasemonkey/User Script Commands” you can choose whether to include blogs from PostGenomic or Chemical Blogspace.
- For more discussion on the uses/consequences of this script, see these blog posts: 1, 2, 3.
- When first installed, the script runs only on particular journal websites. You can add more web sites (or even “*” for all URLs) in the script’s settings under Tools/Greasemonkey.
- Neither ScienceDirect, PubMed, nor Science put the DOI on their TOC pages, so the script currently cannot be extended to these sites.
- All credit to overLIB for the popups.
Add quotes from Postgenomic and Chemical blogspace to molecules
- Install the Add Quotes to Molecules Greasemonkey Script
- See Egon’s blog for a full discussion
Add to Connotea from Journal websites
- Install the Add to Connotea Greasemonkey Script
- See Noel’s blog for a full discussion
Add 3D structures to PubChem
- Install the script by clicking on the following link: 3DStructureView.user.js. Then click “Install”.
- Whenever you do a PubChem search for a compound, you will see a link to “View 3D” structure and also “Download” the same in SDF format.
For more information or any queries/suggestions regarding the script please contact Harini Gopalakrishnan at Indiana University.
Markup chemical content using OSCAR3
This is a userscript that can help you find and highlight chemical terms in a web page in the Firefox web browser.
In order to use this application, please follow these steps:
- Install Firefox GreaseMonkey add-on as described at the top of this page.
- Click on the following link to install: ChemGM.user.js. Choose “Install”.
- Open any web page. At the top of the page, click on the “Highlight” button.
- In a minute or so, a window will popup and tell you the number of terms found.
- Click on “Ok”.
- Wait while terms are being highlighted.
- After all terms are highlighted, you can click on the “PubChem”, or “2D” link following the term to either search it in pubchem or view the 2D structure (if there is one).
For questions, please contact David Jiao at Indiana University.
The latest versions of these scripts are available from the SVN repository of the Blue Obelisk project.