<?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/cdkbook.xml" rel="self" type="application/atom+xml" /><link href="http://egonw.github.io/blog/" rel="alternate" type="text/html" /><updated>2026-12-05T08:55:21+00:00</updated><id>http://egonw.github.io/blog/feed/by_tag/cdkbook.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">Groovy Cheminformatics 2nd edition</title><link href="http://egonw.github.io/blog/2011/06/11/groovy-cheminformatics-2nd-edition.html" rel="alternate" type="text/html" title="Groovy Cheminformatics 2nd edition" /><published>2011-06-11T00:00:00+00:00</published><updated>2011-06-11T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/06/11/groovy-cheminformatics-2nd-edition</id><content type="html" xml:base="http://egonw.github.io/blog/2011/06/11/groovy-cheminformatics-2nd-edition.html"><![CDATA[<p>OK, I wrapped up the content, <a href="http://chem-bla-ics.blogspot.com/2011/06/groovy-cheminformatics-2nd-edition-soon.html">mostly finalized last week</a>,
after making a few small changes, created a new cover (rather than using a <a href="http://lulu.com/">Lulu</a>
template), and <a href="http://www.lulu.com/product/paperback/groovy-cheminformatics-with-the-chemistry-development-kit/15996659">uploaded things to Lulu</a>:</p>

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

<p>New content includes:</p>

<ul>
  <li>Section 2.3.3: Molecular Formula</li>
  <li>Section 2.6: IRings</li>
  <li>Section 7.3: Graph matrices</li>
  <li>Chapter 10: Molecular properties (mass, TPSA, XLogP)</li>
  <li>Chapter 11: InChI</li>
  <li>Section 15.2: CDK 1.0 to 1.2</li>
  <li>Appendix A: Atom Type Lists</li>
  <li>Appendix B: CDK Authors</li>
</ul>

<p>The full Table of Contents is available as ‘preview’ on <a href="https://www.lulu.com/product/paperback/groovy-cheminformatics-with-the-chemistry-development-kit/15996659">this Lulu page</a>.</p>

<p><strong>Update</strong>: the <a href="https://chem-bla-ics.blogspot.com/2012/01/groovy-cheminformatics-4th-edition.html">fourth edition</a> is out.</p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="cdkbook" /><category term="cheminf" /><category term="chemistry" /><category term="groovy" /><category term="java" /><category term="publishing" /><summary type="html"><![CDATA[OK, I wrapped up the content, mostly finalized last week, after making a few small changes, created a new cover (rather than using a Lulu template), and uploaded things to Lulu:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/coverPrevCDKBook1.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/coverPrevCDKBook1.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Groovy Cheminformatics 2nd edition soon</title><link href="http://egonw.github.io/blog/2011/06/06/groovy-cheminformatics-2nd-edition-soon.html" rel="alternate" type="text/html" title="Groovy Cheminformatics 2nd edition soon" /><published>2011-06-06T00:00:00+00:00</published><updated>2011-06-06T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/06/06/groovy-cheminformatics-2nd-edition-soon</id><content type="html" xml:base="http://egonw.github.io/blog/2011/06/06/groovy-cheminformatics-2nd-edition-soon.html"><![CDATA[<p>In February I released <a href="http://chem-bla-ics.blogspot.com/2011/02/groovy-cheminformatics.html">the first edition</a>
of my book about writing cheminformatics software in the Groovy language using
the <a href="http://cdk.sf.net/">CDK</a>. The booklet was thinner than I expected for 72
pages (thin paper), which made the booklet look relatively expensive. Then again,
it’s not particularly making me rich. As explained before, I hope this will
become a source of funding for continued CDK development. Anyways, today I worked
hard to address some flaws in the first edition, and making some further tweaks.</p>

<p>The overall experience should be improved: I am now using the <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/geometry">geometry</a>
package which should address the lack of whitespace near the top of each page,
<a href="https://github.com/jbrownlee/CleverAlgorithms/blob/master/book/paperback.tex">thanx to Jason Brownlee</a>.
I also noted that the bibliography styles <em>abbrev</em> and <em>unsrt</em> cannot be combined,
and because <a href="http://tex.stackexchange.com/questions/5053/is-it-possible-to-get-unsrt-abbrv-bibliography/5056#5056">this TeX StackExchange answer</a>
mentioned <a href="http://ftp.fagskolen.gjovik.no/pub/tex-archive/help/Catalogue/entries/biblatex.html">biblatex</a>
which I read about several times now, I decided it was time to dive in. I haven’t
gone the full <a href="http://ftp.fagskolen.gjovik.no/pub/tex-archive/help/Catalogue/entries/biber.html">biber</a>
route yet, and still using <a href="http://www.citeulike.org/group/14458">the CiteULike group for this book</a>.
I also hacked up automatic wrapping of output from the Groovy scripts in the
book, which should further clean up the design. I doubt it is up to <a href="https://twitter.com/#!/jonalv">Jonathan</a>’s
standards yet, but it will have to do for now.</p>

<p>On the content side, there are also interesting changes, and in particular the
new sections and chapters. Per request, a list of all people who contributed
to the CDK is added, as well as an overview of all CDK atom types. New material
includes a short discussion on the IRing interface, a chapter on the InChI,
words about generating tautomers (thanx to Mark for this new code!), examples
on how to calculate various graph matrices, molecular formula, and how to calculate
XLogP and TPSA properties.</p>

<p>All in all, the booklet now sums up to 104 pages, whereas the first version
had 72. But, it’s much too late already, and the alarm goes way too early in
the morning, so the new edition will not appear online today.</p>

<p>Oh, and thanx to all who bought a copy of the first edition!</p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="cdkbook" /><category term="cheminf" /><category term="chemistry" /><category term="groovy" /><category term="java" /><category term="publishing" /><summary type="html"><![CDATA[In February I released the first edition of my book about writing cheminformatics software in the Groovy language using the CDK. The booklet was thinner than I expected for 72 pages (thin paper), which made the booklet look relatively expensive. Then again, it’s not particularly making me rich. As explained before, I hope this will become a source of funding for continued CDK development. Anyways, today I worked hard to address some flaws in the first edition, and making some further tweaks.]]></summary></entry><entry><title type="html">Groovy Cheminformatics…</title><link href="http://egonw.github.io/blog/2011/02/06/groovy-cheminformatics.html" rel="alternate" type="text/html" title="Groovy Cheminformatics…" /><published>2011-02-06T00:00:00+00:00</published><updated>2011-02-06T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2011/02/06/groovy-cheminformatics</id><content type="html" xml:base="http://egonw.github.io/blog/2011/02/06/groovy-cheminformatics.html"><![CDATA[<p><strong>Update</strong>: the <a href="https://chem-bla-ics.linkedchemistry.info/2012/01/15/groovy-cheminformatics-4th-edition.html">fourth edition <i class="fa-solid fa-recycle fa-xs"></i></a> is out.</p>

<p>Some project are never finished. Neither is this one, but it is never too late to change how things work, so, taking advantage of
publishing-on-demand, here I introduce the release-soon, release-often equivalent of cheminformatics books, my
<a href="http://www.lulu.com/product/paperback/groovy-cheminformatics-with-the-chemistry-development-kit/14745007">Groovy Cheminformatics with the Chemistry Development Kit</a>
book:</p>

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

<p>With a serious discount for just being the first edition (1.3.8-0), but still counting at 72 pages with 75 code examples, this edition
marks a personal milestone (and probably not much more than that). There remains much to do, but I promised a release by tomorrow, so
here it is. Next releases will contain more code examples, more functionality descriptions, and more literature reviewing where such
code is used in science. The plan is to make new editions with each new <a href="http://cdk.sf.net/">CDK</a> release, as well as new editions
when I added a new chapter, section, or just paragraph. But, there will not be a Nightly build service anytime soon.</p>

<p>The current table of content is as follows:</p>

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

<p>Now, the book content is <strong><em>not</em></strong> open content. However, it contains nothing that is not available in other means. It’s just the
compilation that makes this book interesting, as well as that I put effort in ensuring the code examples remain working.
For that, I ask a minor financial contribution.</p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="java" /><category term="cheminf" /><category term="cdkbook" /><summary type="html"><![CDATA[Update: the fourth edition is out.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/cdkBookLulu.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/cdkBookLulu.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">CDK Book in progress</title><link href="http://egonw.github.io/blog/2010/10/08/cdk-book-in-progress.html" rel="alternate" type="text/html" title="CDK Book in progress" /><published>2010-10-08T00:00:00+00:00</published><updated>2010-10-08T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2010/10/08/cdk-book-in-progress</id><content type="html" xml:base="http://egonw.github.io/blog/2010/10/08/cdk-book-in-progress.html"><![CDATA[<p>Very much overdue, but still in progress, is my book on CDK programming. I am
in love with the writing environment, a mix of <a href="http://en.wikipedia.org/wiki/Make_%28software%29">make</a>,
<a href="http://en.wikipedia.org/wiki/Groovy_%28programming_language%29">Groovy</a> and
<a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a>, where the code snippets are written
in Groovy and embedded into LaTeX (see <a href="http://chem-bla-ics.blogspot.com/2009/04/cdk-documentation.html">CDK - The Documentation</a>).
The Groovy script is actually run by the build system, allowing me to embed
the output too.</p>

<p>In the LaTeX source code I, therefore, have something like:</p>

<div class="language-latex highlighter-rouge"><div class="highlight"><pre class="highlight"><code>The list of supported hybridization types can be listed with:

<span class="k">\codeverb</span><span class="p">{</span>HybridizationTypes<span class="p">}</span>

listing these types:

<span class="k">\codeout</span><span class="p">{</span>HybridizationTypes<span class="p">}</span>
</code></pre></div></div>

<p>refering to a groovy script that looks like:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#import org.openscience.cdk.interfaces.*;
#
IAtomType.Hybridization.each {
  println it
}
</code></pre></div></div>

<p>Actually, the above is preprocessed to give the LaTeX view as well as the actual
Groovy script run.</p>

<p>Since last year, I have pimped the output a bit, and the above now looks like:</p>

<p><img src="/blog/assets/images/cdkBook.png" alt="" /></p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="groovy" /><category term="latex" /><category term="publishing" /><category term="cdkbook" /><summary type="html"><![CDATA[Very much overdue, but still in progress, is my book on CDK programming. I am in love with the writing environment, a mix of make, Groovy and LaTeX, where the code snippets are written in Groovy and embedded into LaTeX (see CDK - The Documentation). The Groovy script is actually run by the build system, allowing me to embed the output too.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/cdkBook.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/cdkBook.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Groovy CDK and the Keyword List</title><link href="http://egonw.github.io/blog/2009/04/11/groovy-cdk-and-keyword-list.html" rel="alternate" type="text/html" title="Groovy CDK and the Keyword List" /><published>2009-04-11T00:00:00+00:00</published><updated>2009-04-11T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2009/04/11/groovy-cdk-and-keyword-list</id><content type="html" xml:base="http://egonw.github.io/blog/2009/04/11/groovy-cdk-and-keyword-list.html"><![CDATA[<p>Today I have been hacking a bit more on the CDK material for the <a href="https://apps.sourceforge.net/mediawiki/cdk/index.php?title=CDK_Workshop_2009">CDK workshop</a>
(see <a href="http://chem-bla-ics.blogspot.com/2009/04/cdk-documentation.html">CDK - The Documentation</a>). Below are two previews, one with a LaTeX-ified keyword list
(<a href="http://pele.farmbio.uu.se/nightly-1.2.x/keywords.html">here as HTML</a>):</p>

<iframe class="scribd_iframe_embed" title="CDK Keyword List" src="https://www.scribd.com/embeds/14135688/content?start_page=1&amp;view_mode=scroll&amp;access_key=key-2g4d8dgj887ewymskmd6" tabindex="0" data-auto-height="true" data-aspect-ratio="0.7080062794348508" scrolling="no" width="100%" height="600" frameborder="0"></iframe>
<p style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-size: 14px; line-height: normal; display: block;"> <a title="View CDK Keyword List on Scribd" href="https://www.scribd.com/document/14135688/CDK-Keyword-List#from_embed" style="color: #098642; text-decoration: underline;"> CDK Keyword List </a> by
  <a title="View Egon Willighagen's profile on Scribd" href="https://www.scribd.com/user/10744841/Egon-Willighagen#from_embed" style="color: #098642; text-decoration: underline;"> Egon Willighagen </a>
</p>

<p>And here about <a href="http://groovy.codehaus.org/">Groovy</a>, which indeed is groovy:</p>

<iframe class="scribd_iframe_embed" title="Groovy CDK" src="https://www.scribd.com/embeds/14135833/content?start_page=1&amp;view_mode=scroll&amp;access_key=key-20tebo1yw1kzhy7slqv1" tabindex="0" data-auto-height="true" data-aspect-ratio="0.7080062794348508" scrolling="no" width="100%" height="600" frameborder="0"></iframe>
<p style="margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-size: 14px; line-height: normal; display: block;"> <a title="View Groovy CDK on Scribd" href="https://www.scribd.com/document/14135833/Groovy-CDK#from_embed" style="color: #098642; text-decoration: underline;"> Groovy CDK </a> by
  <a title="View Egon Willighagen's profile on Scribd" href="https://www.scribd.com/user/10744841/Egon-Willighagen#from_embed" style="color: #098642; text-decoration: underline;"> Egon Willighagen </a>
</p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="cdkbook" /><summary type="html"><![CDATA[Today I have been hacking a bit more on the CDK material for the CDK workshop (see CDK - The Documentation). Below are two previews, one with a LaTeX-ified keyword list (here as HTML):]]></summary></entry><entry><title type="html">CDK - The Documentation</title><link href="http://egonw.github.io/blog/2009/04/05/cdk-documentation.html" rel="alternate" type="text/html" title="CDK - The Documentation" /><published>2009-04-05T00:00:00+00:00</published><updated>2009-04-05T00:00:00+00:00</updated><id>http://egonw.github.io/blog/2009/04/05/cdk-documentation</id><content type="html" xml:base="http://egonw.github.io/blog/2009/04/05/cdk-documentation.html"><![CDATA[<p>In preparation for the <a href="http://www.steinbeck-molecular.de/steinblog/index.php/2009/02/17/cdk-workshop-at-ebi-on-april-2021/">CDK workshop</a> later this
month, I am writing up my material for my kick-off presentation of the workshop. So, I better make it good. Using LaTeX at least overcomes my laziness
which always made Word documents look stupid. Even default LaTeX looks good:</p>

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

<p>Clearly, any such documentation becomes quickly outdated, in particular when source code fragments are involved. Yes,
<a href="http://sourceforge.net/mailarchive/forum.php?thread_name=6aeb064b0903130006j2a71a94execd2f09209cd668%40mail.gmail.com&amp;forum_name=cdk-user">CDK 1.2</a> is
API stable, but only for the core classes. Moreover, I hope that the documentation will survive CDK 1.4 or 2.0 or whatever the next stable version is.</p>

<p>Therefore, I need to source code fragments compilable. R has the magnificent <a href="http://www.stat.umn.edu/~charlie/Sweave/">Sweave</a>, and I wanted for a
long time something similar. While I do not have something that powerful yet, at least my current set up allows me have code that both compiles and
embeds in the LaTeX. The system allows me to write both Java application code as BeanShell scripts. No clue yet what I will use in the workshop,
maybe even both. Like Sweave, it even saves output, and I can include that in the LaTeX source too. The code fragments can either go in as a verbatim
section, or as a listing, depending on what I find more appropriate.</p>]]></content><author><name>Egon Willighagen</name></author><category term="cdk" /><category term="cdkbook" /><summary type="html"><![CDATA[In preparation for the CDK workshop later this month, I am writing up my material for my kick-off presentation of the workshop. So, I better make it good. Using LaTeX at least overcomes my laziness which always made Word documents look stupid. Even default LaTeX looks good:]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://egonw.github.io/blog/blog/assets/images/cdkbook.png" /><media:content medium="image" url="http://egonw.github.io/blog/blog/assets/images/cdkbook.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>