<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="http://egonw.github.io/blog/feed/by_tag/doi.xml" rel="self" type="application/atom+xml" /><link href="http://egonw.github.io/blog/" rel="alternate" type="text/html" /><updated>2026-11-30T04:27:36+00:00</updated><id>http://egonw.github.io/blog/feed/by_tag/doi.xml</id><title type="html">chem-bla-ics</title><subtitle>Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.</subtitle><author><name>Egon Willighagen</name></author><entry><title type="html">ChEMBL-RDF now linking to CrossRef</title><link href="http://egonw.github.io/blog/2011/05/06/chembl-rdf-now-linking-to-crossref.html" rel="alternate" type="text/html" title="ChEMBL-RDF now linking to CrossRef" /><published>2011-05-06T00:00:00+00:00</published><updated>2011-05-06T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/05/06/chembl-rdf-now-linking-to-crossref</id><content type="html" xml:base="http://egonw.github.io/blog/2011/05/06/chembl-rdf-now-linking-to-crossref.html"><![CDATA[<p><a href="http://www.crossref.org/">CrossRef</a> <a href="http://www.crossref.org/CrossTech/2011/04/content_negotiation_for_crossr.html">reported recently</a>
they started supporting RDF, which is great news indeed! The <a href="http://chem-bla-ics.blogspot.com/2011/04/chembl-09-as-rdf.html">RDF version of
ChEMBL I created</a>
already contained the <a href="http://en.wikipedia.org/wiki/Digital_object_identifier">DOI</a>,
so the <a href="https://github.com/egonw/chembl.rdf/commit/a7c141d362f45ffbb2f4429fde91a220c4548cb3">patch to link out</a>
was simple.</p>

<p>I have updated the docs.n3 for the <a href="https://github.com/egonw/chembl.rdf/downloads">downloads</a>
I prepared, which can simply be loaded into your triples store. A typical change
looks like, so loading the new triples will only add triples, and URIs of papers
are not changed:</p>

<pre>@@ -742,6 +802,7 @@
  dc:isPartOf jrn:jaf567f18f5617b0fe77d704fe8f61a3e .
res:r91 a bibo:Article ;
  bibo:doi "10.1016/S0960-894X(01)80794-0" ;
+ owl:sameAs &lt;<a href="http://dx.doi.org/10.1016/S0960-894X(01)80794-0">http://dx.doi.org/10.1016/S0960-894X(01)80794-0</a>&gt; ;
  dc:date "1991" ;
  bibo:volume "1" ;
  bibo:issue "3" ;
</pre>

<p>Info on the license (CC-SA-BY), and which two papers you are asked to cite if
you use this data, can be found <a href="https://github.com/egonw/chembl.rdf/blob/master/README.markdown">here</a>.
Oh, and have a peek at the series on <em>database cheminformatics</em> by John (<a href="http://chembl.blogspot.com/2011/04/molecular-databases-and-molecule.html">part1</a>,
<a href="http://chembl.blogspot.com/2011/04/molecule-databases-and-molecule.html">part2</a>,
<a href="http://chembl.blogspot.com/2011/05/molecular-databases-and-molecule.html">part3</a>)!</p>]]></content><author><name>Egon Willighagen</name></author><category term="chembl" /><category term="doi" /><category term="rdf" /><summary type="html"><![CDATA[CrossRef reported recently they started supporting RDF, which is great news indeed! The RDF version of ChEMBL I created already contained the DOI, so the patch to link out was simple.]]></summary></entry><entry><title type="html">Ubiquity fun: resolving DOIs</title><link href="http://egonw.github.io/blog/2008/09/01/ubiquity-fun-resolving-dois.html" rel="alternate" type="text/html" title="Ubiquity fun: resolving DOIs" /><published>2008-09-01T00:00:00+00:00</published><updated>2008-09-01T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2008/09/01/ubiquity-fun-resolving-dois</id><content type="html" xml:base="http://egonw.github.io/blog/2008/09/01/ubiquity-fun-resolving-dois.html"><![CDATA[<p>Now, I’m really after something else, but here’s my first <a href="https://wiki.mozilla.org/Labs/Ubiquity">Ubiquity</a>
<a href="http://blueobelisk.sourceforge.net/people/egonw/ubiquity.html">scripts</a>. It allow you to select a DOI on any
web page (which really only makes sense if it is not already a hyperlink), you hit ALT-SPACE (Linux), CTRL-SPACE (Windows),
or whatever the shortcut is on your operating system, and type <em>resolve-doi</em> and it will automatically convert the DOI
into a hyperlink to look up the paper.</p>

<p>What I am actually interested in, is being able to use this command in a blog editing environment; however, I
have not managed to get that working in one command. And because I am apparently not able to put in two ubiquity
commands in blog items, you need to go to <a href="http://blueobelisk.sourceforge.net/people/egonw/ubiquity.html">this page</a>.</p>

<p>Second warning. I have only tried them with Ubiquity 0.1, not 0.1.1, or even later.</p>

<p>For the curious, the script looks like:</p>

<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nx">CmdUtils</span><span class="p">.</span><span class="nc">CreateCommand</span><span class="p">({</span>
  <span class="na">name</span><span class="p">:</span> <span class="dl">"</span><span class="s2">resolve-doi</span><span class="dl">"</span><span class="p">,</span>
  <span class="na">homepage</span><span class="p">:</span> <span class="dl">"</span><span class="s2">http://chem-bla-ics.blogspot.com/</span><span class="dl">"</span><span class="p">,</span>
  <span class="na">author</span><span class="p">:</span> <span class="p">{</span> <span class="na">name</span><span class="p">:</span> <span class="dl">"</span><span class="s2">Egon Willighagen</span><span class="dl">"</span><span class="p">,</span> <span class="na">email</span><span class="p">:</span> <span class="dl">"</span><span class="s2">egon.willighagen@gmail.com</span><span class="dl">"</span><span class="p">},</span>
  <span class="na">description</span><span class="p">:</span> <span class="dl">"</span><span class="s2">Resolves a DOI into a URL</span><span class="dl">"</span><span class="p">,</span>
  <span class="na">license</span><span class="p">:</span> <span class="dl">"</span><span class="s2">GPL</span><span class="dl">"</span><span class="p">,</span>
  <span class="na">takes</span><span class="p">:</span> <span class="p">{</span><span class="dl">"</span><span class="s2">doi</span><span class="dl">"</span><span class="p">:</span> <span class="nx">noun_arb_text</span><span class="p">},</span>

  <span class="na">preview</span><span class="p">:</span> <span class="kd">function</span><span class="p">(</span> <span class="nx">pblock</span><span class="p">,</span> <span class="nx">doi</span> <span class="p">)</span> <span class="p">{</span>
    <span class="kd">var</span> <span class="nx">msg</span> <span class="o">=</span> <span class="dl">'</span><span class="s1">Inserts a URL for the DOI: ${doi}</span><span class="dl">'</span><span class="p">;</span>
    <span class="kd">var</span> <span class="nx">d</span> <span class="o">=</span> <span class="nx">doi</span><span class="p">.</span><span class="nx">text</span> <span class="o">||</span> <span class="nx">CmdUtils</span><span class="p">.</span><span class="nf">getSelection</span><span class="p">();</span>
    <span class="nx">pblock</span><span class="p">.</span><span class="nx">innerHTML</span> <span class="o">=</span> <span class="nx">CmdUtils</span><span class="p">.</span><span class="nf">renderTemplate</span><span class="p">(</span><span class="nx">msg</span><span class="p">,</span> <span class="p">{</span><span class="na">doi</span><span class="p">:</span> <span class="nx">d</span><span class="p">});</span>
  <span class="p">},</span>

  <span class="na">execute</span><span class="p">:</span> <span class="kd">function</span><span class="p">(</span> <span class="nx">doi</span> <span class="p">)</span> <span class="p">{</span>
    <span class="kd">var</span> <span class="nx">msg</span> <span class="o">=</span> <span class="dl">'</span><span class="s1">&lt;a href="http://dx.doi.org/${doi}"&gt;${doi}&lt;/a&gt;</span><span class="dl">'</span><span class="p">;</span>
    <span class="kd">var</span> <span class="nx">d</span> <span class="o">=</span> <span class="nx">doi</span><span class="p">.</span><span class="nx">text</span> <span class="o">||</span> <span class="nx">CmdUtils</span><span class="p">.</span><span class="nf">getSelection</span><span class="p">();</span>
    <span class="kd">var</span> <span class="nx">newText</span> <span class="o">=</span> <span class="nx">CmdUtils</span><span class="p">.</span><span class="nf">renderTemplate</span><span class="p">(</span><span class="nx">msg</span><span class="p">,</span> <span class="p">{</span><span class="na">doi</span><span class="p">:</span> <span class="nx">d</span><span class="p">});</span>
    <span class="nx">CmdUtils</span><span class="p">.</span><span class="nf">setSelection</span><span class="p">(</span><span class="nx">newText</span><span class="p">);</span>
  <span class="p">}</span>
<span class="p">})</span>
</code></pre></div></div>

<p>Comments on this code most welcome! It’s <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. Details can be found in
<a href="https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial">this tutorial</a> and examples in
<a href="http://rguha.wordpress.com/2008/08/30/ubiquity-and-chemical-information/">Rajarshi’s blog</a>.</p>]]></content><author><name>Egon Willighagen</name></author><category term="javascript" /><category term="web" /><category term="doi" /><category term="ubiquity" /><summary type="html"><![CDATA[Now, I’m really after something else, but here’s my first Ubiquity scripts. It allow you to select a DOI on any web page (which really only makes sense if it is not already a hyperlink), you hit ALT-SPACE (Linux), CTRL-SPACE (Windows), or whatever the shortcut is on your operating system, and type resolve-doi and it will automatically convert the DOI into a hyperlink to look up the paper.]]></summary></entry><entry><title type="html">Lunch at Nature HQ (with Euan, Joanna, Ian and Ålf)</title><link href="http://egonw.github.io/blog/2007/10/16/lunch-at-nature-hq-with-euan-joanna-ian.html" rel="alternate" type="text/html" title="Lunch at Nature HQ (with Euan, Joanna, Ian and Ålf)" /><published>2007-10-16T00:10:00+00:00</published><updated>2007-10-16T00:10:00+00:00</updated><id>http://egonw.github.io/blog/2007/10/16/lunch-at-nature-hq-with-euan-joanna-ian</id><content type="html" xml:base="http://egonw.github.io/blog/2007/10/16/lunch-at-nature-hq-with-euan-joanna-ian.html"><![CDATA[<p>On my way back from the <a href="http://chem-bla-ics.blogspot.com/search/label/Taverna0710">Taverna workshop</a> I visited Nature HQ, as
<a href="http://blogs.nature.com/wp/nascent/2007/10/lunch_with_egon_willighagen.html">Ian reported about on Nascent</a>. It was a (too) short
meeting, but very nice to meet <a href="http://network.nature.com/blogs/user/euan">Euan</a> (finally; he wrote the
<a href="http://postgenomic.com/">postgenomic.com</a> software which I use for <a href="http://cb.openmolecules.net/">Chemical blogspace</a>),
<a href="http://network.nature.com/blogs/user/joannascott">Joanna</a> (whom I met in Chicago already, where she had
<a href="http://chem-bla-ics.blogspot.com/2007/03/acs-chicago-day-1.html">two</a> <a href="http://chem-bla-ics.blogspot.com/2007/03/acs-chicago-day-3.html">presentations</a>,
and is responsible for <a href="http://blogs.nature.com/wp/nascent/2007/08/events_on_second_nature.html">Second Nature</a>),
<a href="http://network.nature.com/blogs/user/U3DF456C6">Ian</a> (who works on <a href="http://connotea.org/">Connotea</a>,
and <a href="http://network.nature.com/blogs/user/U3DF456C6/2007/10/08/molecule-tagging-with-connotea">commented</a> on
<a href="http://chem-bla-ics.blogspot.com/2007/09/tagging-molecules-mashup-of-connotea.html">my tagging molecule blog</a>)
and <a href="http://network.nature.com/profile/alf">Ålf</a> (who works on <a href="http://scintilla.nature.com/">Scintilla</a>) and
briefly <a href="http://network.nature.com/profile/timo">Timo</a> (who rules them all). BTW, I had a simple but delicious pasta.</p>

<p>First, let me note that if I would have to name a favorite molecule, and it was <a href="http://en.wikipedia.org/wiki/Acetic_acid">acetic acid</a>,
not <a href="http://en.wikipedia.org/wiki/Ascorbic_acid">ascorbic acid</a>. Reason why it would be my favorite is acetic acid was the first
organic molecule I put in the <a href="http://www.woc.science.ru.nl/">Woordenboek Organische Chemie</a> in 1995.</p>

<p>We discussed a number of things, regarding the things we do. One of these was tagging molecules. Ian used
<em>http://rdf.openmolecules.net/?info:inchi/InChI=1/CH4/h1H4</em> instead of <em>http://rdf.openmolecules.net/?InChI=1/CH4/h1H4</em>.
The first was not yet picked up by <a href="http://rdf.openmolecules.net/">rdf.openmolecules.net</a> but I fixed that.</p>

<p>We also discussed linking molecular structures with scientific literature. The discussions in blogspace of this week
show that doing that by using computer programs is not appreciated by publishers (see
<a href="http://www.chemspider.com/blog/?p=204">here</a>,
<a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=684">here</a>,
<a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=702">here</a>,
<a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=697">here</a>,
<a href="http://www.chemspider.com/open-chemistry-web/?p=4">here</a>, and
<a href="http://wwmm.ch.cam.ac.uk/blogs/murrayrust/?p=691">here</a>)
(The publishers seem to prefer to like to send of a PDF to India or China.)</p>

<p>I proposed that the InChI would be part of the publication, for all molecules mentioned in the article. If a
journal can require exact bibliography and experimental section formats, they can certainly require InChIs too.
There are few programs left which cannot autogenerate an InChI, and the chemists draws the structures anyway.
However, the software used in the editorial process does not support linking InChIs with a PDF (if that software
would have been opensource …).</p>

<p>So, the best current option seems to be social tagging mechanisms, and this is what we talked about. Just use
Connotea (or any other service) and tag your molecule with a DOI:</p>

<p><img src="/blog/assets/images/doiTagDelicious.png" alt="" /></p>

<p>and</p>

<p><img src="/blog/assets/images/connoteaTagDelicious1.png" alt="" /></p>

<p>This tagging is done manually. No machines involved in that. Nothing the publishers can do about this. No ChemRefer needed.
But this will allow us to start building a database with links between papers and molecules, which we badly need. BTW, we will
not have to start from scratch. The <a href="http://www.nmrshiftdb.org/">NMRShiftDB</a> already contains many links, which is open data!</p>

<p>Now, you might notice the informal semantics of the <code class="language-plaintext highlighter-rouge">doi:</code> prefix. That’s something I hereby propose, as it allow
services to pick up the content more easily. You might also note the <em>incorrect</em> DOI in Connotea. The reason for
that is that Connotea does not yet support a ‘/’ in a tag. I
<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1814491&amp;group_id=133040&amp;atid=726030">reported that problem</a>.</p>]]></content><author><name>Egon Willighagen</name></author><category term="connotea" /><category term="chemistry" /><category term="inchi" /><category term="doi" /><summary type="html"><![CDATA[On my way back from the Taverna workshop I visited Nature HQ, as Ian reported about on Nascent. It was a (too) short meeting, but very nice to meet Euan (finally; he wrote the postgenomic.com software which I use for Chemical blogspace), Joanna (whom I met in Chicago already, where she had two presentations, and is responsible for Second Nature), Ian (who works on Connotea, and commented on my tagging molecule blog) and Ålf (who works on Scintilla) and briefly Timo (who rules them all). BTW, I had a simple but delicious pasta.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/doiTagDelicious.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/doiTagDelicious.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>