<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>some kind of blog</title>
	<atom:link href="http://flo.nigsch.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://flo.nigsch.com</link>
	<description>hopefully something useful will arrive here at some point!</description>
	<pubDate>Tue, 06 Apr 2010 18:22:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Post, post, post</title>
		<link>http://flo.nigsch.com/?p=88</link>
		<comments>http://flo.nigsch.com/?p=88#comments</comments>
		<pubDate>Tue, 06 Apr 2010 18:16:14 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Useful links]]></category>

		<category><![CDATA[statistics]]></category>

		<category><![CDATA[articles]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=88</guid>
		<description><![CDATA[Was just reading some interesting articles and thought it might be worth to share some of them here:

Are we taking supercomputing code seriously?
Odds Are, It&#8217;s Wrong: Science fails to face the shortcomings of statistics
A survey of cross-validation procedures for model selection

]]></description>
			<content:encoded><![CDATA[<p>Was just reading some interesting articles and thought it might be worth to share some of them here:</p>
<ul>
<li><a href="http://www.zdnet.co.uk/news/it-strategy/2010/01/28/are-we-taking-supercomputing-code-seriously-40004192/">Are we taking supercomputing code seriously?</a></li>
<li><a href="http://www.sciencenews.org/view/feature/id/57091/title/Odds_are,_its_wrong">Odds Are, It&#8217;s Wrong: Science fails to face the shortcomings of statistics</a></li>
<li><a href="http://www.i-journals.org/ss/viewarticle.php?id=54">A survey of cross-validation procedures for model selection</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=88</wfw:commentRss>
		</item>
		<item>
		<title>Dictionary lookup with regular expression as key</title>
		<link>http://flo.nigsch.com/?p=82</link>
		<comments>http://flo.nigsch.com/?p=82#comments</comments>
		<pubDate>Tue, 12 May 2009 23:54:14 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[dictionary]]></category>

		<category><![CDATA[hash table]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=82</guid>
		<description><![CDATA[I just remembered that I was meant to post that thing here, too. Problem is the following: you want to retrieve all values of a python dictionary whose keys match a certain regular expression. Solution: Just make a custom dictionary class derived from the builtin one:
class redict(dict):
    def __init__(self, d):
   [...]]]></description>
			<content:encoded><![CDATA[<p>I just remembered that I was meant to post <a href="http://stackoverflow.com/questions/260056/hashtable-dictionary-map-lookup-with-regular-expressions/816047#816047">that thing</a> here, too. Problem is the following: you want to retrieve all values of a python dictionary whose keys match a certain regular expression. Solution: Just make a custom dictionary class derived from the builtin one:</p>
<pre><code>class redict(dict):
    def __init__(self, d):
        dict.__init__(self, d)

    def __getitem__(self, regex):
        r = re.compile(regex)
        mkeys = filter(r.match, self.keys())
        for i in mkeys:
                yield dict.__getitem__(self, i)</code></pre>
<p>With this you can do the following:</p>
<pre><code>
>>> keys = ["a", "b", "c", "ab", "ce", "de"]
>>> vals = range(0,len(keys))
>>> red = redict(zip(keys, vals))
>>> for i in red[r"^.e$"]:
...     print i
...
5
4
>>>
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=82</wfw:commentRss>
		</item>
		<item>
		<title>InChI generation mystery</title>
		<link>http://flo.nigsch.com/?p=67</link>
		<comments>http://flo.nigsch.com/?p=67#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:37:10 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Cheminformatics]]></category>

		<category><![CDATA[chemistry]]></category>

		<category><![CDATA[inchi]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=67</guid>
		<description><![CDATA[I&#8217;ve been playing with InChIs these days quite a bit and have been quite suprised by the results that I got. The one thing that is very surprising indeed, is that the InChI - and therefore the InChIKey, should one want to use these to index a chemical compound database - one gets, seems to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with InChIs these days quite a bit and have been quite suprised by the results that I got. The one thing that is very surprising indeed, is that the InChI - and therefore the InChIKey, should one want to use these to index a chemical compound database - one gets, seems to depend on the input format for the InChI generator.</p>
<p>After having seen some more InChI related things atthe BioIT World yesterday, I thought I&#8217;d have another go at some InChI stuff. And I was again quite surprised to what I found, and actually even more confused.</p>
<p>Here&#8217;s what I did:</p>
<p>I took two molecules from PubChem (diaisostereomers) cis- and trans-1,2-dihydroxy-cyclohexane (1,2-cyclohexanediol). I created InChIKeys for both of them, using different inputs. And not at all did I end up with two different InChIs for these two structures that were the same.</p>
<p>The SMILES and InChIKey from PubChem are the following:<br />
<a href="http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=92903&amp;loc=ec_rcs">cis-1,2-cyclohexanediol</a>: C1CC[C@@H]([C@@H](C1)O)O - PFURGBBHAOXLIO-OLQVQODUSA-N<br />
<a href="http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=92886&amp;loc=ec_rcs">trans-1,2-cyclohexanediol</a>: C1CC[C@H]([C@@H](C1)O)O - PFURGBBHAOXLIO-PHDIDXHHSA-N</p>
<p>I used the <a href="http://www.iupac.org/inchi/release102final.html">Standard InChI generator v1.2 released in January 2009</a> by the IUPAC, more specifically the Linux binary. Because this software doesn&#8217;t read SMILES, one has to convert the SMILES input molecules to SD files. This was done with OpenBabel and Pipeline Pilot. In addition, I used CML obtained from OpenBabel as input, too.</p>
<p>And here is what I obtained:</p>
<table class="MsoTableGrid" style="border-collapse: collapse; height: 752px; border: medium none initial;" border="1" cellspacing="0" cellpadding="0" width="659">
<tbody>
<tr>
<td style="border: 1pt solid black; width: 41.55pt;" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Source file format</p>
</td>
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 63.1pt;" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Source file from</p>
</td>
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 42.5pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Coordinates</p>
</td>
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 8cm;" colspan="2" width="302" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">InChIKey</p>
</td>
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Same as PubChem</p>
</td>
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 63.8pt;" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Distinct stereo</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">SDF</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">0D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">SDF</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">3D (OB –gen3D)</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">CML</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">0D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">FWITZFBVZWAIRX-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">FWITZFBVZWAIRX-PHDIDXHHSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">CML</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">3D (OB –gen3D)</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">SDF</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Scitegic PipelinePilot</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">0D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">SDF</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Scitegic PipelinePilot</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">2D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-PHDIDXHHSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">SDF</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Scitegic PipelinePilot</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">3D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-PHDIDXHHSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">CML</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel conversion of Scitegic PP files</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">0D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">DQQAEJAQEMHJBB-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">DQQAEJAQEMHJBB-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">CML</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel conversion of Scitegic PP files</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">3D</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">DQQAEJAQEMHJBB-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">DQQAEJAQEMHJBB-UHFFFAOYSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 41.55pt; height: 3.65pt;" rowspan="2" width="55" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">CML</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.1pt; height: 3.65pt;" rowspan="2" width="84" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">OpenBabel conversion of Scitegic PP 0D SD file</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.5pt; height: 3.65pt;" rowspan="2" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">3D (OB –gen3D)</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Cis</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Y</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 63.8pt; height: 3.65pt;" rowspan="2" width="85" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
<tr style="height: 3.65pt;">
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 42.55pt; height: 3.65pt;" width="57" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">trans</p>
</td>
<td style="border-top: medium none; border-right: 1pt solid black; border-bottom: 1pt solid black; width: 184.25pt; height: 3.65pt;" width="246" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">PFURGBBHAOXLIO-OLQVQODUSA-N</p>
</td>
<td style="border-top: medium none; border-left: medium none; border-right: 1pt solid black; padding: 0cm 5.4pt; width: 2cm;" width="76" valign="top">
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">N</p>
</td>
</tr>
</tbody>
</table>
<p>Now, this raises the following questions:</p>
<ol>
<li>First of all, why do I not just get the same InChI for everything? Isn&#8217;t it supposed to canonicalize the structure to a fair extent (I know it does) and come up with the same InChI?</li>
<li>If there are different ways of getting a presumably valid InChI for a compound, which one should one take?</li>
<li>Why do I get the same InChI for different stereoisomers when the 3D coordinates come from OpenBabel, but not if the coordinates come from Pipeline Pilot? Is the 3D coordinate generation in OpenBabel the problem?</li>
<li>Why do I get the correst stereoinformation in the InChIKey when I use CML without any coordinates?</li>
<li>Why do I get a different hash for the connectivity part when I use CML without any coordinates? <!--[endif]--><span style="font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">FWITZFBVZWAIRX </span>instead of <span style="font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">PFURGBBHAOXLIO</span>?</li>
<li>And then, if CML without 3D coordinates gives the right stereochemistry in the InChI, why doesn&#8217;t 3D CML with coordinates from OpenBabel?</li>
<li>3D CML from PipelinePilot coordinates also doesn&#8217;t get the stereochemistry part right; instead, there&#8217;s yet a different connectivity part <!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves /> <w:TrackFormatting /> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF /> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> <w:SplitPgBreakAndParaMark /> <w:DontVertAlignCellWithSp /> <w:DontBreakConstrainedForcedTables /> <w:DontVertAlignInTxbx /> <w:Word11KerningPairs /> <w:CachedColBalance /> </w:Compatibility> <m:mathPr> <m:mathFont m:val="Cambria Math" /> <m:brkBin m:val="before" /> <m:brkBinSub m:val="&#45;-" /> <m:smallFrac m:val="off" /> <m:dispDef /> <m:lMargin m:val="0" /> <m:rMargin m:val="0" /> <m:defJc m:val="centerGroup" /> <m:wrapIndent m:val="1440" /> <m:intLim m:val="subSup" /> <m:naryLim m:val="undOvr" /> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w:LsdException Locked="false" Priority="39" Name="toc 1" /> <w:LsdException Locked="false" Priority="39" Name="toc 2" /> <w:LsdException Locked="false" Priority="39" Name="toc 3" /> <w:LsdException Locked="false" Priority="39" Name="toc 4" /> <w:LsdException Locked="false" Priority="39" Name="toc 5" /> <w:LsdException Locked="false" Priority="39" Name="toc 6" /> <w:LsdException Locked="false" Priority="39" Name="toc 7" /> <w:LsdException Locked="false" Priority="39" Name="toc 8" /> <w:LsdException Locked="false" Priority="39" Name="toc 9" /> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w:LsdException Locked="false" Priority="37" Name="Bibliography" /> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w:LatentStyles> </xml><![endif]--><!--[endif]--><span style="font-size: 11pt; line-height: 115%; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">DQQAEJAQEMHJBB</span>.</li>
<li>Why should the stereochemistry come out right when 2D coordinates are used, but not if 0D coordinates are used?</li>
<li>Why not get InChIs directly from SMILES?</li>
</ol>
<p>Any comments on this anybody? I seriously wonder.</p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=67</wfw:commentRss>
		</item>
		<item>
		<title>Using MySQLdb 1.2.2 with python 2.6.1</title>
		<link>http://flo.nigsch.com/?p=62</link>
		<comments>http://flo.nigsch.com/?p=62#comments</comments>
		<pubDate>Thu, 09 Apr 2009 15:52:08 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[mysqldb]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=62</guid>
		<description><![CDATA[When importing MySQLdb 1.2.2 into python 2.6.1 an error is reported:
Python 2.6.1 (r261:67515, Dec  7 2008, 08:27:41)
[GCC 4.3.2] on linux2
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.
&#62;&#62;&#62; import MySQLDB
Traceback (most recent call last):
File &#8220;&#60;stdin&#62;&#8221;, line 1, in &#60;module&#62;
ImportError: No module named MySQLDB
&#62;&#62;&#62; import MySQLdb
/usr/lib/python2.6/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
This is [...]]]></description>
			<content:encoded><![CDATA[<p>When importing MySQLdb 1.2.2 into python 2.6.1 an error is reported:</p>
<p>Python 2.6.1 (r261:67515, Dec  7 2008, 08:27:41)<br />
[GCC 4.3.2] on linux2<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
&gt;&gt;&gt; import MySQLDB<br />
Traceback (most recent call last):<br />
File &#8220;&lt;stdin&gt;&#8221;, line 1, in &lt;module&gt;<br />
ImportError: No module named MySQLDB<br />
&gt;&gt;&gt; import MySQLdb<br />
/usr/lib/python2.6/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated<br />
from sets import ImmutableSet</p>
<p>This is because the sets module is not built-in into the core distribution of python.</p>
<p>To get rid of this error and use the more efficient built-in set<br />
type, do the following in the __init__.py file that was reported:</p>
<p>* comment line 34:</p>
<p>When importing MySQLdb 1.2.2 into python 2.6.1 an error is reported:</p>
<p>Python 2.6.1 (r261:67515, Dec  7 2008, 08:27:41)<br />
[GCC 4.3.2] on linux2<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
&gt;&gt;&gt; import MySQLDB<br />
Traceback (most recent call last):<br />
File &#8220;&lt;stdin&gt;&#8221;, line 1, in &lt;module&gt;<br />
ImportError: No module named MySQLDB<br />
&gt;&gt;&gt; import MySQLdb<br />
/usr/lib/python2.6/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated<br />
from sets import ImmutableSet</p>
<p>This is because the sets module is not built-in into the core distribution of python.</p>
<p>To get rid of this error and use the more efficient built-in set<br />
type, do the following in the __init__.py file that was reported:</p>
<p>* comment line 34: from sets import ImmutableSet</p>
<p>* add after that line: ImmutableSet = frozenset</p>
<p>* comment line 41 in the original file: from sets import BaseSet</p>
<p>* add after that line: BaseSet = set</p>
<p>Like this the built-in types will be used anytime a BaseSet or an ImmutableSet is referenced.</p>
<p>Now everything works fine:</p>
<p>Python 2.6.1 (r261:67515, Dec  7 2008, 08:27:41)<br />
[GCC 4.3.2] on linux2<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
&gt;&gt;&gt; import MySQLdb<br />
&gt;&gt;&gt; MySQLdb.version_info<br />
(1, 2, 2, &#8216;final&#8217;, 0)<br />
&gt;&gt;&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=62</wfw:commentRss>
		</item>
		<item>
		<title>Installing numpy 1.2.1 on Mac OS X Leopard 10.5.6</title>
		<link>http://flo.nigsch.com/?p=53</link>
		<comments>http://flo.nigsch.com/?p=53#comments</comments>
		<pubDate>Fri, 06 Mar 2009 05:04:18 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[numpy]]></category>

		<category><![CDATA[python]]></category>

		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=53</guid>
		<description><![CDATA[NOTE - UPDATE: While the following will install numpy 1.2.1, it&#8217;s perhaps not the best solution. If interested just inform yourself about the Apple system python as opposed to a standalone framework python installation.
That stuff bugged me for a while, now it seems as if I found a pretty decent solution to this.
Leopard comes with [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">NOTE - UPDATE</span></strong><strong>:</strong> While the following will install numpy 1.2.1, it&#8217;s perhaps not the best solution. If interested just inform yourself about the Apple system python as opposed to a standalone framework python installation.</p>
<p>That stuff bugged me for a while, now it seems as if I found a pretty decent solution to this.</p>
<p>Leopard comes with python 2.5.1 preinstalled and also includes numpy 1.0.1 (if I remember well). If you want to install something that uses a newer numpy (e.g., matplotlib) then you need to upgrade numpy. There are all these issues about the differing versions/distributions of python on Apple computers, I won&#8217;t dwell on that. If you don&#8217;t want to upgrade your python distribution that there&#8217;s an easier way:</p>
<p>1) Set the following symbolic link: (see <a href="http://wiki.python.org/moin/MacPython/Leopard">http://wiki.python.org/moin/MacPython/Leopard</a>)</p>
<p>cd /Library/Frameworks<br />
sudo ln -s /System/Library/Frameworks/Python.framework/ Python.framework</p>
<p>This allows you to use the &#8216;normal&#8217; installer for numpy, see step 2.</p>
<p>2) Install the numpy 1.2.1 .dmg from here: <a href="http://sourceforge.net/project/showfiles.php?group_id=1369&amp;package_id=175103">Download NumPy</a></p>
<p>3) Your numpy installation ends up here:</p>
<p>/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/</p>
<p>3.5) You may want to make a backup of the old numpy if there is one here:</p>
<p>/Library/Python/2.5/site-packages/ (just rename it, delete it, chmod 000 it, whatever)</p>
<p>4) Move it away from the Framework location:</p>
<p>cd /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/<br />
sudo mv numpy* /Library/Python/2.5/site-packages/</p>
<p>5) DONE:</p>
<p>hostname$ python<br />
Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13)<br />
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
&gt;&gt;&gt; import numpy<br />
&gt;&gt;&gt; numpy.__version__<br />
&#8216;1.2.1&#8242;<br />
&gt;&gt;&gt;</p>
<p>And that&#8217;s it! The next things now will be to get matplotlib to work, the easy_install does not yet want to work, but that has nothing to do with numpy anymore! This time it&#8217;s rather freetype2&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>Cambridge homepage discontinued</title>
		<link>http://flo.nigsch.com/?p=38</link>
		<comments>http://flo.nigsch.com/?p=38#comments</comments>
		<pubDate>Fri, 19 Dec 2008 13:56:29 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=38</guid>
		<description><![CDATA[As I am leaving Cambridge, I am also not going to update my homepage there any more. Instead, I will put the relevant things online here.
My list of publications can now be accessed here: http://flo.nigsch.com/?page_id=43.
The old homepage can be found here: http://www-mitchell.ch.cam.ac.uk/florian.html
]]></description>
			<content:encoded><![CDATA[<p>As I am leaving Cambridge, I am also not going to update my homepage there any more. Instead, I will put the relevant things online here.</p>
<p>My list of publications can now be accessed here: <a href="http://flo.nigsch.com/?page_id=43">http://flo.nigsch.com/?page_id=43</a>.</p>
<p>The old homepage can be found here: <a href="http://www-mitchell.ch.cam.ac.uk/florian.html">http://www-mitchell.ch.cam.ac.uk/florian.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=38</wfw:commentRss>
		</item>
		<item>
		<title>Some sites to get to free eBooks</title>
		<link>http://flo.nigsch.com/?p=36</link>
		<comments>http://flo.nigsch.com/?p=36#comments</comments>
		<pubDate>Mon, 06 Oct 2008 09:30:51 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Computers]]></category>

		<category><![CDATA[ebook]]></category>

		<category><![CDATA[info]]></category>

		<category><![CDATA[links]]></category>

		<category><![CDATA[Useful links]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=36</guid>
		<description><![CDATA[There are lots of free books available on the internet. This page summarises some very good sites for books on topics such as computer programming, literature, etc.
The Best 6 Sites to Get Free Ebooks.
]]></description>
			<content:encoded><![CDATA[<p>There are lots of free books available on the internet. This page summarises some very good sites for books on topics such as computer programming, literature, etc.</p>
<p><a href="http://www.makeuseof.com/tag/the-best-6-sites-to-get-free-ebooks/">The Best 6 Sites to Get Free Ebooks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=36</wfw:commentRss>
		</item>
		<item>
		<title>Functional programming in Python</title>
		<link>http://flo.nigsch.com/?p=34</link>
		<comments>http://flo.nigsch.com/?p=34#comments</comments>
		<pubDate>Tue, 30 Sep 2008 13:00:49 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[Useful links]]></category>

		<category><![CDATA[functional programming]]></category>

		<category><![CDATA[links]]></category>

		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=34</guid>
		<description><![CDATA[Just found some interesting stuff concerning functional programming using Python. Here are the links:
Functional programming in Python, Part 1
Functional programming in Python, Part 2
Functional programming in Python, Part 2
These articles are from a larger collection of pages on Python called Charming Python on the IBM website.
]]></description>
			<content:encoded><![CDATA[<p>Just found some interesting stuff concerning functional programming using Python. Here are the links:</p>
<li><a href="http://www.ibm.com/developerworks/library/l-prog.html">Functional programming in Python, Part 1</a></li>
<li><a href="http://www.ibm.com/developerworks/library/l-prog2.html">Functional programming in Python, Part 2</a></li>
<li><a href="http://www-128.ibm.com/developerworks/linux/library/l-prog3.html">Functional programming in Python, Part 2</a></li>
<p>These articles are from a larger collection of pages on Python called <em><a href="http://www.ibm.com/developerworks/views/linux/libraryview.jsp?sort_by=Relevance&#038;show_abstract=true&#038;show_all=false&#038;search_flag=true&#038;topic_by=All+topics+and+related+products&#038;type_by=All+Types&#038;search_by=charming+python&#038;Submit.x=54&#038;Submit.y=9">Charming Python</a></em> on the IBM website.</p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
		<item>
		<title>Murcko fragments with python and pybel</title>
		<link>http://flo.nigsch.com/?p=29</link>
		<comments>http://flo.nigsch.com/?p=29#comments</comments>
		<pubDate>Fri, 25 Apr 2008 11:00:24 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Cheminformatics]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[fragment]]></category>

		<category><![CDATA[murcko]]></category>

		<category><![CDATA[openbabel]]></category>

		<category><![CDATA[pybel]]></category>

		<category><![CDATA[scaffold]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=29</guid>
		<description><![CDATA[There are actually a few bugs in this version. Shortly I&#8217;ll put up a new version here.
Couldn&#8217;t find a program to get all ring systems out of an SDF file, along with how often they occur. So I wrote a script in python that does exactly that job. It gets the smallest set of smallest [...]]]></description>
			<content:encoded><![CDATA[<p><strong>There are actually a few bugs in this version.</strong> Shortly I&#8217;ll put up a new version here.</p>
<p>Couldn&#8217;t find a program to get all ring systems out of an SDF file, along with how often they occur. So I wrote a script in python that does exactly that job. It gets the smallest set of smallest rings (SSSR) from pybel: once a molecule is read in (e.g., mol=pybel.readstring(&#8221;smi&#8221;, smiles)), then you have the SSSR in mol.sssr, which is a vector of OBRing objects (see the OpenBabel documentation for more info about that).</p>
<p>You can iterate over this vector in a standard pythonic fashion, e.g., for ring in mol.sssr: pass. The ring size is easily accessed by ring.PathSize(), the atoms in the ring are stored in the member variable _path, e.g., ring._path will give you the atoms in the ring.</p>
<p>The script checks for fused ring systems by identifying any shared atoms between any members of the SSSR. This is achieved by intersection of the sets of member atoms of any two ring systems. Two rings are considered to be a ring system if they share at least one atom, i.e., strictly speaking it is not <em>fused</em> but rather a <em>spiro</em> system. This behaviour can be changed by changing <strong>if len(intsec)</strong> in function <strong>GetFusedRingsMatrix(mol)</strong> to <strong>if len(intsec) > 1</strong>.</p>
<p>Should you want to get all individual elements of the SSSR, instead of the fused/linked rings as one ring system, then it should suffice to supply a manually crafted matrix as the one returned by GetFusedRingsMatrix(). That would be something like l=len(mol.sssr) and FusedRingsMatrix = [[0 for x in range(l)] for y in range(l)]. Then all rings are supposed to be unconnected.</p>
<p>The script also includes exocyclic double bonds as part of rings they may be linked to.</p>
<p>All fragments are written out to a file fragments.sdf, and the number how often that fragment was encountered in the structure file supplied is written into the SDF field COUNT. If you watch the output with something like <strong>mview fragments.sdf</strong> (MarvinView from ChemAxon) it will look similar to the picture displayed. <a href='http://flo.nigsch.com/wp-content/uploads/2008/04/murckoinmarvin.png' title='Screenshot of Murcko fragments in Marvin 5'><img src='http://flo.nigsch.com/wp-content/uploads/2008/04/murckoinmarvin.thumbnail.png' alt='Screenshot of Murcko fragments in Marvin 5' /></a></p>
<p>The script can be found here: <a href='http://flo.nigsch.com/wp-content/uploads/2008/04/murcko.python' title='Python script for extraction of Murcko fragments'>Python script for extraction of Murcko fragments</a></p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Pybel on Mac OS X</title>
		<link>http://flo.nigsch.com/?p=27</link>
		<comments>http://flo.nigsch.com/?p=27#comments</comments>
		<pubDate>Thu, 20 Mar 2008 14:03:19 +0000</pubDate>
		<dc:creator>Flo</dc:creator>
		
		<category><![CDATA[Cheminformatics]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[Computers]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[install problem]]></category>

		<category><![CDATA[pybel]]></category>

		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://flo.nigsch.com/?p=27</guid>
		<description><![CDATA[I just tried to install openbabel and its python wrapper pybel on a Mac running OS X 10.4. OpenBabel compiled fine from source, no problems with that. But when I tried to run python setup.py build in the scripts/python subdirectory, the build failed at the linking stage with

/usr/bin/ld: for architecture ppc
/usr/bin/ld: can't locate file for: [...]]]></description>
			<content:encoded><![CDATA[<p>I just tried to install openbabel and its python wrapper pybel on a Mac running OS X 10.4. OpenBabel compiled fine from source, no problems with that. But when I tried to run <code>python setup.py build</code> in the <code>scripts/python</code> subdirectory, the build failed at the linking stage with<br />
<code><br />
/usr/bin/ld: for architecture ppc<br />
/usr/bin/ld: can't locate file for: -lopenbabel<br />
collect2: ld returned 1 exit status<br />
</code></p>
<p>The solution turned out to be thatâ€”at least for my computerâ€”I needed to set the environment variable <code>OPENBABEL_INSTALL</code> to <code>/usr/local</code> explicitly. Normally, the library is looked for in the <code>src</code> directory, i.e., where openbabel was built, but that didn&#8217;t work, for whatever reason (I haven&#8217;t checked up on that).</p>
<p>After setting the appropriate environment variable with <code>export OPENBABEL_INSTALL=/usr/local</code> everything works fine, the install as <code>root</code> finished without any problems, and everything works:<br />
<code><br />
host:~/models/ flo$ python<br />
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)<br />
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
>>> import pybel<br />
>>><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://flo.nigsch.com/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
	</channel>
</rss>
