Searching biological databases from the Firefox search bar

There is currently no “Google for Bioinformatics“, and so biologists/bioinformaticians typically need to search a number of separate databases to find the data the desire. While the Biobar Firefox extension helps search for a dizzying array of biological databases (individually), I think sometimes it offers too much, and contains too many databases that I rarely if ever use. As useful as it is, most of the time I keep the Biobar toolbar hidden to reclaim the screen real-estate.

Instead, I prefer the more lightweight “search plugins” to fully fledged extentions (accessed via the little search box up near the URL location bar). Here are some Firefox search plugins for common ‘bioinformatic’ search engines which I found scattered across the far reaches of the web:

  • HubMed is a clean and slick interface to search the PubMed database, with some features that the NCBI search doesn’t have. You may already be familiar with it, but sadly the majority of life scientists appear not to know about it / use it. I prefer HubMed to the regular NCBI Entrez interface. You can install the HubMed Firefox search plugin at HubMed.
  • In case you want the plain vanilla NCBI PubMed interface, the UCSF library provides a PubMed search plugin.
  • The Mycroft project by Mozilla seems to be an official repository of firefox search plugins. On Mycroft, I found plugins for searching SwissProt, the Protein Data Bank (PDB).

I also wanted some that couldn’t find, so I made them. Here are Firefox search plugins for Uniprot and Pfam:

Here is the code for the Pfam one, as an example:

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns=""
<description>Search the Pfam database</description>
<url type="text/html" method="GET" template="">
<param name="terms" value="{searchTerms}">

To add this to your list of search engines, you also need to put the appropriate “link” tag in the head of an html page that you want the search plugin to be detected from, like this:

<link rel="search" href="opensearch_uniprot.xml"
title="Uniprot" />
<link rel="search" href="opensearch_pfam.xml"
title="Pfam" />

OpenSearch plugins are also partially supported by some versions of Internet Explorer, but I haven’t tested it (there is no POST support for OpenSearch plugins in IE 7). [insert obligatory Firefox fanboy stab at IE here].

Chances are, you’d like to make one to search your favorite database. Here is the documentation I used for creating OpenSearch plugins for Firefox:

Edit: Argghh .. looks like this code is showing up fine on the web page, but is a bit broken when displayed from the RSS feed in akregator .. I assume other feed readers may also be having trouble .. Anyone know a reliable way to post code in Blogger ? WordPress is starting to look attractive …

A simple but useful application for Google Co-op On-the-fly Custom Search

My linkstream is a bit like a window into my stream of consciousness.

I’ve always wanted to be able to ‘search outward’ from just my delicious links … a recent post from Alf about Google Co-op ‘on-the-fly’ search engines just triggered a simple but really useful idea; make a Google Co-op search of my delicious linkstream … this way I can search just within pages I’ve deemed worthy of bookmarking.

After a bit of wrangling with the various ways of getting data out of delicious (see my own comments to this post), I found this script for generating an html page of links from delicious. This page contains all my delicious links, not just the most recent ones (it seems you can only get a subset of the most recent links without authenticating with delicious, hence the PHP script using the delicious API).

So, after hosting the PHP script revealing all my links, I can point the Google Co-op Custom Search Engine to that page, and search away ! It’s a nice way of using search to ‘retrace’ my steps, since it should generally restrict results to the parts of the web I’ve already seen and rated as worthy of re-examination.