<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Depth-First: Rethinking the Command Line for Chemistry</title>
    <link>http://depth-first.com/articles/2007/03/27/rethinking-the-command-line-for-chemistry</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Walking the Web of Chemical Informatics</description>
    <item>
      <title>Rethinking the Command Line for Chemistry</title>
      <description>&lt;p&gt;&lt;center&gt;&lt;img src="http://depth-first.com/demo/20070327/yubnub.png" align="center"&gt;&lt;/img&gt;&lt;/center&gt;
&lt;br /&gt;&lt;br /&gt;
A &lt;a href="http://depth-first.com/articles/2007/03/15/do-you-use-the-command-line"&gt;recent article&lt;/a&gt; discussed the renaissance of the command line. Particularly on the Web, command line interfaces have become so advanced, that most of us don't even realize we're using them. Consider the Google search box, which is nothing more than one of the most powerful command line interfaces ever developed.&lt;/p&gt;

&lt;p&gt;A service called &lt;a href="http://yubnub.org/"&gt;YubNub&lt;/a&gt; takes this idea one step further. YubNub is a meta command line interface for the Web. The following YubNub command will do a &lt;a href="http://flickr.com"&gt;Flickr&lt;/a&gt; search for benzene.&lt;/p&gt;

&lt;p&gt;&lt;center&gt;&lt;img src="http://depth-first.com/demo/20070327/ducatisearch.png"&gt;&lt;/img&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;If this were all YubNub did, it would be merely interesting. What makes YubNub remarkable is that you can create your own commands that other people can use. I recently added the "ginchi" command to query Google for an InChI. Now you can try it out:&lt;/p&gt;

&lt;p&gt;&lt;center&gt;&lt;img src="http://depth-first.com/demo/20070327/benzenesearch1.png"&gt;&lt;/img&gt;&lt;/center&gt;&lt;/p&gt;

&lt;p&gt;By itself this isn't particularly useful because you can just go to Google and query the InChI directly. However, it's not too hard to imagine several commands like &lt;tt&gt;ginchi&lt;/tt&gt; that could be added. Some would use Google, others would use other services.  How about something that searches Mitch Garcia's &lt;a href="http://www.sciencebase.com/science-blog/chemical-pipe-works.html"&gt;chemistry journal Yahoo pipe&lt;/a&gt;? It would be very convenient to have all of those commands accessible from the same Web page.&lt;/p&gt;

&lt;p&gt;Command line interfaces can be phenomenally useful for both beginning and advanced users. The hardest part to get right is not what the user sees as they type, but what happens after they hit the enter key.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://depth-first.com/articles/tag/linenotation"&gt;Line notations&lt;/a&gt; are the perfect match for command line interfaces. The widespread use of SMILES and the precision of InChI offer many possibilities for innovative chemistry Web services.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:30:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:8e30edda-82a2-4800-95cf-0c34b669a056</guid>
      <author>Rich Apodaca</author>
      <link>http://depth-first.com/articles/2007/03/27/rethinking-the-command-line-for-chemistry</link>
      <category>Tools</category>
      <category>commandline</category>
      <category>linenotation</category>
      <category>yubnub</category>
      <category>web20</category>
      <category>ginchi</category>
    </item>
    <item>
      <title>"Rethinking the Command Line for Chemistry" by Bala</title>
      <description>&lt;p&gt;Firefox has had this feature for some time now. You can right-click on a search box and choose "Add a keyword for this search". Then you can choose a keyword for that search and then onwards you can type the keyword followed by the search item in the address bar to search that particular website. E.g., if you chose g as your keyword for google, you can type "g benzene" to search google for benzene.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Mar 2007 14:29:45 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:9432fbba-759a-4c67-9095-f9f8c9429bd2</guid>
      <link>http://depth-first.com/articles/2007/03/27/rethinking-the-command-line-for-chemistry#comment-7</link>
    </item>
  </channel>
</rss>
