<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    
    <link href="http://blog.cryos.org/feeds/atom10.xml" rel="self" title="Marcus D. Hanwell's Blog" type="application/atom+xml" />
    <link href="http://blog.cryos.org/"                        rel="alternate"    title="Marcus D. Hanwell's Blog" type="text/html" />
    <link href="http://blog.cryos.org/rss.php?version=2.0"     rel="alternate"    title="Marcus D. Hanwell's Blog" type="application/rss+xml" />
    <title type="html">Marcus D. Hanwell's Blog</title>
    <subtitle type="html">Random thoughts, life, work, open source, open science, diving...</subtitle>
    <icon>http://blog.cryos.org/templates/default/img/s9y_banner_small.png</icon>
    <id>http://blog.cryos.org/</id>
    <updated>2013-05-21T14:36:05Z</updated>
    <generator uri="http://www.s9y.org/" version="1.7-rc4">Serendipity 1.7-rc4 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:blog@cryos.net" />

    <entry>
        <link href="http://blog.cryos.org/archives/267-New-Input-Generator-Framework-in-Avogadro-2.html" rel="alternate" title="New Input Generator Framework in Avogadro 2" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-05-21T14:33:00Z</published>
        <updated>2013-05-21T14:36:05Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=267</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=267</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/267-guid.html</id>
        <title type="html">New Input Generator Framework in Avogadro 2</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span>
<p><a href="http://avogadro.openmolecules.net/">Avogadro 1.x</a> had quite a large number of input generators that came from very humble beginnings. They were designed to be easy to write, and to give a simple path from a structure in Avogadro to something that could be used as an input file in one of many codes. Our basic approach was to add a C++ class per program we targeted, with one or two special cases. This meant that to develop an input generator it was necessary to learn some of the Avogadro API, and to at least compile a plugin (matching our compiler, <a href="http://qt-project.org/">Qt</a>, library versions, etc). It also led to minor differences between the different input generators, and a lot of copying/pasting of boilerplate code.</p>

<center><img src="http://blog.cryos.org/uploads/avogadro-ethane.png" width="871" height="752" alt="Avogadro 2 showing an ethane molecule" /></center>

<p>When developing the input generators for <a href="http://openchemistry.org/">Avogadro 2 as part of the Open Chemistry project</a> we wanted to make it easier to add new generators. We put a lot of thought into how to make this possible, and how to maintain a native look and feel without necessarily making an input generator developer learn C++, Qt, Avogadro and everything that goes along with setting up a development environment. The new input generator framework is largely language agnostic, with a minimum of assumptions. It currently executes the <a href="http://python.org/">Python</a> interpreter, but that is largely an artifact of the fact we have only developed input generators using Python.</p>

<center><img src="http://blog.cryos.org/uploads/avogadro-nwchem-input.png" width="869" height="752" alt="Avogadro 2 NWChem input generator with syntax highlighting" /></center>

<p>The input generators are executed in a separate process, using several passes to get the display name, options supported, syntax highlighting rules and finally to actually generate the input. The current pass is communicated using command-line arguments, input is passed to the program using standard input and formatted as <a href="http://www.json.org/">JSON</a>. The results should be passed back using the standard output stream, and depending on the pass should be JSON results or the actual input file. We also do some post-processing of the input file where the molecular geometry can be inserted following the specified format. This command line API is <a href="http://doc.openchemistry.org/avogadrolibs/api/class_avogadro_1_1_qt_plugins_1_1_input_generator.html#details">documented here</a>. The <a href="https://github.com/OpenChemistry/avogadrolibs/blob/master/avogadro/qtplugins/quantuminput/inputGenerators/nwchem.py">NWChem input generator</a> is the first to add syntax highlighting in an external plugin, the GAMESS input generator shows an approach using C++ ported from Avogadro 1.x.</p>

<p>This approach assures that an input generator cannot possibly crash or hang the interface, licensing is not an issue (separate execution process) and gives input generator developers the freedom to concentrate on turning options into the appropriate input file without worrying about the details of the application it is being used in. With relatively minor modifications Avogadro 2 could look for other file extensions and execute the appropriate interpreter, or simply execute the programs found in a given path. These files can be modified directly, if options change it is currently necessary to restart Avogadro, but if the input generation changes those changes would be reflected in Avogadro the next time the generator was run. Menu entries are added dynamically at program start up, and this concept could be extended to more of Avogadro. The main for the <a href="http://www.nwchem-sw.org/">NWChem</a> input generator is shown below,</p>

<div class="python geshi" style="text-align: left"><span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #66cc66;">&lt;</span>u<span style="color: #66cc66;">&gt;</span>_name_<span style="color: #66cc66;">&lt;</span>/u<span style="color: #66cc66;">&gt;</span> == <span style="color: #483d8b;">&quot;&lt;u&gt;_main_&lt;/u&gt;&quot;</span>:<br />&#160; <span style="color: #dc143c;">parser</span> = argparse.<span style="color: black;">ArgumentParser</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Generate a NWChem input file.'</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--debug'</span>, action=<span style="color: #483d8b;">'store_true'</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--print-options'</span>, action=<span style="color: #483d8b;">'store_true'</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--generate-input'</span>, action=<span style="color: #483d8b;">'store_true'</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--display-name'</span>, action=<span style="color: #483d8b;">'store_true'</span><span style="color: black;">&#41;</span><br />&#160; args = <span style="color: #008000;">vars</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">parser</span>.<span style="color: black;">parse_args</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br /><br />&#160; debug = args<span style="color: black;">&#91;</span><span style="color: #483d8b;">'debug'</span><span style="color: black;">&#93;</span><br /><br />&#160; <span style="color: #ff7700;font-weight:bold;">if</span> args<span style="color: black;">&#91;</span><span style="color: #483d8b;">'display_name'</span><span style="color: black;">&#93;</span>:<br />&#160; &#160; <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;NWChem&quot;</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #ff7700;font-weight:bold;">if</span> args<span style="color: black;">&#91;</span><span style="color: #483d8b;">'print_options'</span><span style="color: black;">&#93;</span>:<br />&#160; &#160; <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span>json.<span style="color: black;">dumps</span><span style="color: black;">&#40;</span>getOptions<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><br />&#160; <span style="color: #ff7700;font-weight:bold;">elif</span> args<span style="color: black;">&#91;</span><span style="color: #483d8b;">'generate_input'</span><span style="color: black;">&#93;</span>:<br />&#160; &#160; <span style="color: #ff7700;font-weight:bold;">print</span><span style="color: black;">&#40;</span>json.<span style="color: black;">dumps</span><span style="color: black;">&#40;</span>generateInput<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span></div>

<p>A snippet of the input generation code is shown below, where a variable is populated with what will be the raw input passed to the code.</p>

<div class="python geshi" style="text-align: left"><span style="color: #ff7700;font-weight:bold;">def</span> generateInputFile<span style="color: black;">&#40;</span>opts<span style="color: black;">&#41;</span>:<br />&#160; <span style="color: #808080; font-style: italic;"># Extract options:</span><br />&#160; title = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Title'</span><span style="color: black;">&#93;</span><br />&#160; calculate = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Calculation Type'</span><span style="color: black;">&#93;</span><br />&#160; theory = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Theory'</span><span style="color: black;">&#93;</span><br />&#160; basis = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Basis'</span><span style="color: black;">&#93;</span><br />&#160; multiplicity = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Multiplicity'</span><span style="color: black;">&#93;</span><br />&#160; charge = opts<span style="color: black;">&#91;</span><span style="color: #483d8b;">'Charge'</span><span style="color: black;">&#93;</span><br />&#160; <span style="color: #808080; font-style: italic;"># Preamble</span><br />&#160; nwfile = <span style="color: #483d8b;">&quot;&quot;</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;echo<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;start molecule<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;title <span style="color: #000099; font-weight: bold;">\&quot;</span>%s<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">%</span>title<br />&#160; <span style="color: #808080; font-style: italic;"># Coordinates</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;geometry units angstroms print xyz autosym<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;$$coords:Sxyz$$<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />&#160; nwfile += <span style="color: #483d8b;">&quot;end<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><br />&#160; <span style="color: #808080; font-style: italic;"># More stuff here...</span><br />&#160; <span style="color: #ff7700;font-weight:bold;">return</span> nwfile</div>

<p>We hope that this framework will make it much easier for researchers to customize their input generator scripts to their needs, and we would welcome your feedback on how we could make it even easier. If there are other languages of interest we could add examples, the major requirement is that the language can create a self-contained script or executable that can use standard in/out, has some string handling capabilities and support for JSON.</p>
</span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/266-Using-VTKs-Image-Regression-Tests-in-Avogadro-2.html" rel="alternate" title="Using VTK's Image Regression Tests in Avogadro 2" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-05-01T14:51:00Z</published>
        <updated>2013-05-04T02:02:59Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=266</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=266</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/266-guid.html</id>
        <title type="html">Using VTK's Image Regression Tests in Avogadro 2</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span>
<p>One of the really nice features of <a href="http://www.vtk.org/">VTK</a>'s testing framework is the use of image-based regression tests. These allow developers to write tests that result in a final image, which can be recorded and compared to known baseline images in order to verify that the OpenGL rendering code is rendering the same (or similar) image on all platforms. If this fails then <a href="http://www.cdash.org/">CDash</a> will display the image the test produced, the baseline image it was compared to and an image difference. Any project that performs rendering or visualization needs tests like these in addition to unit tests if they want to assure visualization code continues to function as expected across a range of platforms.</p>

<p>We recently extracted the relevant code from the VTK testing framework to <a href="http://review.source.kitware.com/#/t/2618/">perform image based regressions in Avogadro 2</a>, with the bulk of that code living in <a href="https://github.com/OpenChemistry/avogadrolibs/blob/master/utilities/vtktesting/imageregressiontest.h">utilities/vtktesting/imageregressiontest.h</a>. This is currently used in one of the tests, with plans to extend it to cover all major types of rendering, this can in seen in action in<a href="https://github.com/OpenChemistry/avogadrolibs/blob/master/tests/qtopengl/glwidgettest.cpp">tests/qtopengl/glwidgettest.cpp</a> with the important lines that take the snapshot/do the image comparison being:</p>

<div class="cpp geshi" style="text-align: left">&#160; <span style="color: #666666;">// Grab the frame buffer of the GLWidget and save it to a QImage.</span><br />&#160; QImage image <span style="color: #000080;">=</span> widget.<span style="color: #007788;">grabFrameBuffer</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">false</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span><br />&#160; <span style="color: #666666;">// Set up the image regression test.</span><br />&#160; Avogadro<span style="color: #008080;">::</span><span style="color: #007788;">VtkTesting</span><span style="color: #008080;">::</span><span style="color: #007788;">ImageRegressionTest</span> test<span style="color: #008000;">&#40;</span>argc, argv<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span><br />&#160; <span style="color: #666666;">// Do the image threshold test, printing output to the std::cout.</span><br />&#160; <span style="color: #0000ff;">return</span> test.<span style="color: #007788;">imageThresholdTest</span><span style="color: #008000;">&#40;</span>image, std<span style="color: #008080;">::</span><span style="color: #0000dd;">cout</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></div>

<p>The CMake code that feeds in the command line arguments, and ensures the test runs correctly is in <a href="https://github.com/OpenChemistry/avogadrolibs/blob/master/tests/qtopengl/CMakeLists.txt">tests/qtopengl/CMakeLists.txt</a>, and largely involves passing in paths to the baseline directory, a temporary directory and the test name (using the standard CMake generated test driver).</p>

<div class="cmake geshi" style="text-align: left">&#160; <a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:add_test"><span style="color: #1f3f81; font-style: bold;">add_test</span></a><span style="color: #197d8b;">(</span>NAME <span style="color: #912f11;">&quot;QtOpenGL-<span style="color: #b08000;">${test}</span>&quot;</span><br />&#160; &#160; <span style="color: #077807; font-sytle: italic;">COMMAND</span><br />&#160; &#160; &#160; AvogadroQtOpenGLTests <span style="color: #912f11;">&quot;<span style="color: #b08000;">${testname}</span>test&quot;</span><br />&#160; &#160; &#160; <span style="color: #912f11;">&quot;--baseline&quot;</span> <span style="color: #912f11;">&quot;<span style="color: #b08000;">${AVOGADRO_DATA_ROOT}</span>/baselines/avogadro/qtopengl&quot;</span><br />&#160; &#160; &#160; <span style="color: #912f11;">&quot;--temporary&quot;</span> <span style="color: #912f11;">&quot;<span style="color: #b08000;">${PROJECT_BINARY_DIR}</span>/Testing/Temporary&quot;</span><span style="color: #197d8b;">)</span></div>

<center><img src="http://blog.cryos.org/uploads/glwidgettest-valid.png" width="250" height="250" alt="Valid baseline image" /></center>

<p>The above is the baseline image, that is stored in a known location and compared with the image produced by the test (shown below).</p>

<center><img src="http://blog.cryos.org/uploads/glwidgettest-test.png" width="250" height="250" alt="Test image image produced" /></center>

<p>If the images don't match a difference image is produced and uploaded (shown below). In this case you can see that an extra sphere was rendered, and this can clearly be seen in the difference image. There is also a numerical difference returned by the test, which is a measure of how much the images differ. The tolerance can be tweaked depending on the test to allow some minor pixel differences, although care must be taken not to raise the number too high.</p>

<center><img src="http://blog.cryos.org/uploads/glwidgettest-diff.png" width="250" height="250" alt="Image difference from test to valid" /></center>

<p>We have not implemented it in Avogadro 2 yet, but VTK can use multiple baselines and returns the smallest image difference. This allows for OS/GPU specific baselines to be uploaded where necessary as an alternative to increasing the tolerance. Using special tags returned by the tests in the standard output will prompt the ctest command to upload the image files when necessary (in the case the baseline image cannot be found, or the image comparison fails).</p>
</span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/265-First-Open-Chemistry-Beta-Release.html" rel="alternate" title="First Open Chemistry Beta Release" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-04-11T18:11:00Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=265</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=265</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/1-Gentoo" label="Gentoo" term="Gentoo" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
            <category scheme="http://blog.cryos.org/categories/4-Linux" label="Linux" term="Linux" />
    
        <id>http://blog.cryos.org/archives/265-guid.html</id>
        <title type="html">First Open Chemistry Beta Release</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><a href="http://openchemistry.org/"><img style="float: right;" src="http://blog.cryos.org/uploads/OpenChemistry_Logo.png" alt="Open Chemistry" width="200" height="105" /></a>
<p>We are pleased to announce the first beta release of the <a href="http://openchemistry.org/">Open Chemistry</a> suite of cross platform, open-source, BSD-licensed tools and libraries - Avogadro 2, MoleQueue and MongoChem. They are being released in beta, before all planned features are complete, to get feedback from the community following the open-source mantra of <a href="http://en.wikipedia.org/wiki/Release_early,_release_often">&ldquo;release early, release often&rdquo;</a>. We will be making regular releases over the coming months, as well as <a href="http://cdash.openchemistry.org/">automatically generating nightly binaries</a>. A <a href="http://kitware.com/source/home/post/39">Source article from 2011</a> introduced the project, <a href="http://www.slideshare.net/cryos/the-open-chemistry-project">slides from FOSDEM</a> describe it more recently, and the <a href="http://www.openchemistry.org/OpenChemistry/resources/software.html">0.5.0 release binaries can be downloaded here</a>.</p>

<center><img src="http://blog.cryos.org/uploads/openchemistry-workflow.png" alt="Open Chemistry workflow" width="500" height="253" /></center>

<p>These three desktop applications can each be used independently, but also have the capability of working together. Avogadro 2 is a rewrite of <a href="http://avogadro.openmolecules.net/">Avogadro</a> that addresses many of the limitations we saw. This includes things such as the rendering code, scalability, scriptability, and increased flexibility, enabling us to effectively address the current and upcoming challenges in computational chemistry and related fields. MoleQueue provides desktop services for executing standalone programs both locally and on remote batch schedulers, such as <a href="http://en.wikipedia.org/wiki/Sun_Grid_Engine">Sun Grid Engine</a>, <a href="http://en.wikipedia.org/wiki/Portable_Batch_System">PBS</a> and <a href="http://en.wikipedia.org/wiki/Simple_Linux_Utility_for_Resource_Management">SLURM</a>. MongoChem provides chemically-aware search, storage, and informatics visualization using <a href="http://www.mongodb.org/">MongoDB</a> and <a href="http://www.vtk.org/">VTK</a>.</p>

<center><img src="http://blog.cryos.org/uploads/openchemistry-libs.png" alt="Open Chemistry library organization" width="500" height="253" /></center>

<h2>Avogadro 2</h2>

<p>Avogadro 2 is a rewrite of Avogadro; please see the <a href="http://www.jcheminf.com/content/4/1/17">recently-published paper for more details on Avogadro 1</a>. Avogadro has been very successful over the years, and we would like to thank all of our contributors and supporters, including the core development team: Geoff Hutchison, Donald Curtis, David Lonie, Tim Vandermeersch, Benoit Jacob, Carsten Niehaus, and Marcus Hanwell. We also recently obtained permission from almost all authors to relicense the existing code under the 3-clause BSD license, which will make migration of code to the new architecture much easier.</p>

<center><a href="http://blog.cryos.org/uploads/avogadro-mo-66.png" target="_blank"><img src="http://blog.cryos.org/uploads/avogadro-mo-66.png" alt="Avogadro 2 rendering a molecular orbital" width="500" height="394" /></a></center>

<p>Some notable new features of Avogadro 2 include:</p>
<ul>
<li>Scalable data structures capable of addressing the needs of large molecular systems.</li>
<li>A flexible file I/O API supporting seamless addition of formats at runtime.</li>
<li>A <a href="http://doc.openchemistry.org/avogadrolibs/api/class_avogadro_1_1_qt_plugins_1_1_input_generator.html">Python-based input generator API</a>, creating an input for a range of quantum codes.</li>
<li>A specialized scene graph for supporting scalable molecular rendering.</li>
<li>OpenGL 2.1/GLSL based rendering, employing point sprites, VBOs, etc.</li>
<li>Unit tests for core classes, with ongoing work to improve coverage.</li>
<li>Binary <a href="http://packages.kitware.com/packages/application/latest?applicationId=6">installers generated nightly</a>.</li>
<li>Use of MoleQueue to run computational codes such as <a href="http://www.nwchem-sw.org/">NWChem</a>, <a href="http://openmopac.net/">MOPAC</a>, <a href="http://www.msg.ameslab.gov/gamess/">GAMESS</a>, etc.</li>
</ul>

<p>Avogadro is not yet feature complete, but we invite you to try it out along with the suite of applications as we continue to improve it. The new <a href="http://doc.openchemistry.org/avogadrolibs/api/annotated.html">Avogadro libraries feature much finer granularity</a>; whereas before we provided a single library with all API, there is now a layered API in multiple libraries. The Core and IO libraries have minimal dependencies, with the rendering library adding a dependence on OpenGL, and the Qt libraries adding Qt 4 dependencies. This allows us to reuse the code in many more places than was possible before, with rendering possible on a server without Qt/X, and the Core/IO libraries being suitable for command line use or integration into non-graphical applications.</p>

<h2>MoleQueue</h2>

<p>MoleQueue is a new application developed to satisfy the need to execute computational chemistry codes locally and remotely. Rather than adding this functionality directory to Avogadro 2, it has been developed as a standalone system-tray resident application that runs a graphical application and a local server (using local sockets for communication). It supports the configuration of multiple queues (local and remote), each containing one-or-more programs to be executed. Applications communicate with MoleQueue using <a href="http://www.jsonrpc.org/specification">JSON-RPC 2.0</a> over a local socket, and receive updates as the job state changes. A <a href="http://kitware.com/source/home/post/93">recent Source article describes MoleQueue</a> in more detail.</p>

<center><a href="http://blog.cryos.org/uploads/molequeue-queue.png" target="_blank"><img src="http://blog.cryos.org/uploads/molequeue-queue.png" alt="MoleQueue queue configuration" width="500" height="399" /></a></center>

<p>In addition to the system-tray resident application, MoleQueue provides a Qt 4-based client library that can easily be integrated into Qt applications, providing a familiar signal-slot based API for job submission, monitoring, and retrieval. The project has remained general in its approach, containing no chemistry specific API, and has already been used by several other projects at Kitware in different application domains. Communicating with the MoleQueue server from other languages is quite simple, with the client code having minimal requirements for connecting to a named local socket and constructing JSON strings conforming to the JSON-RPC 2.0 specification.</p>

<h2>MongoChem</h2>

<p>MongoChem is another new application developed as part of the Open Chemistry suite of tools, leveraging MongoDB, VTK, and AvogadroLibs to provide chemical informatics on the desktop. It seeks to address the need for researchers and groups to be able to effectively store, index, search and retrieve relevant chemical data. It supports the use of a central database server where all data can be housed, and enables the significant feature set of MongoDB to be leveraged, such as sharding, replication and efficient storage of large data files. We have been able to reuse several powerful cheminformatics libraries such as Open Babel and Chemkit to generate identifiers, molecular fingerprints and other artifacts as well as developing out features in the Avogadro libraries to support approaches to large datasets involving many files.</p>

<center><a href="http://blog.cryos.org/uploads/mongochem-detail.png" target="_blank"><img src="http://blog.cryos.org/uploads/mongochem-detail.png" alt="MongoChem" width="500" height="390" /></a></center>

<p>We have taken advantage of the charts developed in VTK and 2D chemical structure depiction in Open Babel to deliver immersive charts that are capable of displaying multiple dimensions of the data. Linked selection allows for selection in one view, such as parallel coordinate; views of that selection in a scatter plot matrix, and the table view. The detail dialog for a given molecule shows 2D structure depiction, an interactive 3D visualization when geometry is available and support for tagging and/or annotation. We have also developed an early preview of a web interface to the same data using ParaViewWeb, enabling you to share data more widely if desired. This also features a 3D interactive view using the ParaViewWeb image streaming technology which works in almost all modern browsers.</p>

<h2>Putting Them Together</h2>

<p>Each of the applications in the Open Chemistry suite listens for connections on a named local socket, and provides a simple JSON-RPC 2.0 based API. Avogadro 2 is capable of generating input files for several computational chemistry codes, including GAMESS and NWChem, and can use MoleQueue to execute these programs and keep track of the job states. Avogadro 2 can also query MongoChem for similar molecules to the one currently displayed, and see a listing sorted by similarity. MongoChem is capable of searching large collections of molecules, and can use the RPC API to open any selected molecule in the active Avogadro 2 session.</p>

<h2>Acknowledgements</h2>

<p>The development of the Open Chemistry workbench has been funded by a <a href="http://www.kitware.com/news/home/browse/OpenChemistry?2012_01_24&amp;Kitware+Receives+Phase+II+Funding+for+the+Development+of+a+Computational+Chemistry+Workbench">US Army SBIR with the Engineering Research Development Center under contract (W912HZ-12-C-0005)</a> at <a href="http://www.kitware.com/">Kitware, Inc.</a></p>

<p>Originally published on the <a href="http://www.kitware.com/blog/home/post/469">Kitware blog</a></p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/264-Tour-of-Druthers-During-Saratoga-Beer-Week.html" rel="alternate" title="Tour of Druthers During Saratoga Beer Week" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-02-26T02:27:47Z</published>
        <updated>2013-02-26T02:34:22Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=264</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=264</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.org/archives/264-guid.html</id>
        <title type="html">Tour of Druthers During Saratoga Beer Week</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>Last week, during <a href="http://www.saratogabeerweek.com/">Saratoga Beer Week</a>, a small group of intrepid colleagues ventured up to Saratoga Springs to revisit <a href="http://www.druthersbrewing.com/">Druthers</a>, a local <a href="http://en.wikipedia.org/wiki/Microbrewery">brew pub</a> that opened last year. On Thursday they were offering tours of their brewery, for just $10 you got to sample a pint of their fine brew, keep the special souvenir glass and learn about their brewing process and philosophy.</p>
<center><img src="http://blog.cryos.org/uploads/druthers-tour.jpg" alt="Shot of the brewery" width="664" height="498" /></center>
<p>We had a great time, and maybe even learned a little. It is clear that the selection of bars in Saratoga Springs is growing, with some amazing brew pubs and tap rooms springing up. The list of events and venues during beer week made this quite clear. Glens Falls is still our longest trip as a group in search of great local beers, although one day it would be great to arrange a trip out to <a href="http://www.ommegang.com/">Ommegang</a> to see an American take on Belgium beer. I have already been once, and really like their beers.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/263-FOSDEM-Open-Science-and-Open-Chemistry.html" rel="alternate" title="FOSDEM: Open Science and Open Chemistry" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-01-31T15:14:00Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=263</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=263</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/263-guid.html</id>
        <title type="html">FOSDEM: Open Science and Open Chemistry</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span>

<p>I will be talking about the <a href="https://fosdem.org/2013/schedule/event/openchemistry/">Open Chemistry Project</a> at <a href="https://fosdem.org/">FOSDEM</a> this year in the <a href="https://fosdem.org/2013/schedule/track/foss_for_scientists/">FOSS for scientists devroom</a> at 12:30pm on Saturday. I will discuss the development of a suite of tools for computational chemists and related disciplines, which includes the development of three desktop applications addressing 3D molecular structure editing, input preparation, output analysis, cheminformatics and integration with high-performance computing resources.</p>

<center><a href="http://openchemistry.org/"><img src="http://blog.cryos.org/uploads/OpenChemistry_Logo.png" width="400" height="210" alt="Open Chemistry" /></a></center>

<p>On Sunday <a href="http://www.kitware.com/company/team/hoffman.html">Bill Hoffman</a> will be speaking in the main track about <a href="https://fosdem.org/2013/schedule/event/open_science/">Open Science, Open Software, and Reproducible Code</a> at 3pm on Sunday. Bill and Alexander Neundorf will also be talking about <a href="https://fosdem.org/2013/schedule/event/moderncmake/">Modern CMake</a> in the <a href="https://fosdem.org/2013/schedule/track/cross_desktop/">cross desktop devroom</a> on Saturday.</p>

<p>FOSDEM is one of the first conferences I attended (possibly the first, I can't remember if I went to a science conference before this). It will be great to return after so many years, and hopefully meet old colleagues and a few new ones. Please find me, Bill or Alex if you would like to discuss any of this work with us. I fly out tomorrow, and hope to get over jet lag quickly. Once FOSDEM is over we will be visiting <a href="http://www.kitware.com/company/team_keu.html">Kitware SAS</a> in Lyon, France for a couple of days (this is my first trip to our new office).</p>

<p>Then I have a few days in England visiting friends and family before heading back to the US.</p>
</span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/262-Avogadro-Paper-Published-Open-Access.html" rel="alternate" title="Avogadro Paper Published Open Access" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-01-25T10:29:00Z</published>
        <updated>2013-01-26T14:53:42Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=262</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=262</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/262-guid.html</id>
        <title type="html">Avogadro Paper Published Open Access</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>In January of last year I was invited to attend the Semantic Physical Science Workshop in Cambridge, England. That was a great meeting where I met like-minded scientists and developers working on adding semantic structure to data in the physical sciences. Peter managed to bring together a varied group with many backgrounds, and so the discussions were especially useful. I was there to think about how our work with <a href="http://avogadro.openmolecules.net/">Avogadro</a>, and the wider <a href="http://openchemistry.org/">Open Chemistry project</a> might benefit from and contribute to this area.</p>

<center><a href="http://www.jcheminf.com/content/4/1/17"><img src="http://blog.cryos.org/uploads/avogadro-graphical-abstract.png" width="600" height="275" alt="Avogadro graphical abstract" /></a></center>

<p>My thanks go out to <a href="http://en.wikipedia.org/wiki/Peter_Murray-Rust">Peter Murray-Rust</a> for inviting me to the Semantic Physical Science meeting and helping us to get the <a href="http://www.jcheminf.com/content/4/1/17">Avogadro paper published</a> in the <a href="http://www.jcheminf.com/">Journal of Cheminformatics</a> as part of the <a href="http://www.jcheminf.com/series/semantic_physical_science_2012">Semantic Physical Science collection</a>. Noel O'Boyle wrote up a <a href="http://baoilleach.blogspot.com/2012/09/plotting-accesses-on-axis-part-ii.html">blog post summarizing the Avogadro paper accesses</a> in the first month (shown below - thanks Noel) compared to the <a href="http://www.jcheminf.com/content/3/1/37">Blue Obelisk paper</a> and the <a href="http://www.jcheminf.com/content/3/1/33">Open Babel paper</a>. We only just got the final version of the PDF/HTML published in early January, but already have <a href="http://scholar.google.com/scholar?oi=bibs&hl=en&cites=618227831851025693">12 citations according to Google scholar</a>, showing as the <a href="http://www.jcheminf.com/mostviewed">second most viewed article in the last 30 days</a>, and the <a href="http://www.jcheminf.com/mostviewed/year">most viewed article in the last year</a>. The paper made the <a href="http://www.chemistrycentral.com/">Chemistry Central</a> most accessed articles list in <a href="http://blogs.chemistrycentral.com/ccblog/2012/11/06/most-accessed-articles-in-october-2/">October</a> and <a href="http://blogs.chemistrycentral.com/ccblog/2012/12/12/most-accessed-articles-in-november-2/">November</a>.</p>

<script type="text/javascript" src="http://blog.cryos.org//ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js"> {"dataSourceUrl":"//docs.google.com/spreadsheet/tq?key=0AkCMyDkjbsFHdG5IYVE5M1FxcWwzaWw0bi1lV19QSWc&transpose=0&headers=1&range=A1%3AD32&gid=0&pub=1","options":{"vAxes":[{"useFormatFromData":true,"title":"Accesses","viewWindowMode":"pretty","viewWindow":{}},{"useFormatFromData":true,"viewWindowMode":"pretty","viewWindow":{}}],"booleanRole":"certainty","title":"Accesses in First Month","titleX":"No. of days from first availability in preliminary form","animation":{"duration":0},"backgroundColor":"#FFFFFF","pointSize":7,"legend":"right","lineWidth":0,"useFirstColumnAsDomain":false,"hAxis":{"useFormatFromData":true,"minValue":null,"viewWindowMode":"explicit","viewWindow":{"min":null,"max":30},"maxValue":30},"width":500,"height":270},"state":{},"chartType":"ScatterChart","chartName":"Chart 1"} </script>

<p>I made a <a href="http://www.nature.com/spoton/2012/10/the-scholarly-poor/">guest blog post talking about open access and the Avogadro paper</a>, which was later <a href="http://opensource.com/life/12/11/scientific-research-publication-process">republished</a> for a different audience. I would like to thank <a href="http://hutchison.chem.pitt.edu/">Geoffrey Hutchison</a>, Donald Curtis, David Lonie, <a href="http://timvdm.blogspot.com/">Tim Vandermeersch</a> and <a href="http://www.acsu.buffalo.edu/~ezurek/">Eva Zurek</a> for the work they put into the article, along with our contributors, collaborators and the users of Avogadro. If you use Avogadro in your work please cite our paper, and get in touch to let us know what you are doing with it. As we develop the next generation of Avogadro we would appreciate your input, feedback and suggestions on how we can make it more useful to the wider community.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/261-The-Roller-Coaster-of-2012.html" rel="alternate" title="The Roller Coaster of 2012" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2013-01-23T00:20:42Z</published>
        <updated>2013-01-23T02:14:26Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=261</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=261</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.org/archives/261-guid.html</id>
        <title type="html">The Roller Coaster of 2012</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>It has been a long time since I wrote anything on here, I am still alive and kicking! 2012 was another roller coaster of a year, with many good and bad things happening. Louise and I got our green cards early on in the year (massive thanks to my employer), which was great after having lived in the US for over five years now. We started house hunting a few months after that, which was an adventure and a half.</p>

<p>As we were in the process of looking for a house I was promoted to technical leader at <a href="http://www.kitware.com/">Kitware</a>, and I continue to work on our <a href="http://openchemistry.org/">Open Chemistry</a> project. We ended up falling in love with the first house we found, and found a great realtor who took us back there for a second look. We then learned how different buying a house in the US versus England, but after several rounds of negotiations came to an agreement. We had a very long wait for completion, but that all proceeded well in the end.</p>

<p>As we moved out of the place we had been renting for the last three years we found out just how bad some landlords can be about returning security deposits...that is still ongoing and has not been a fun process. We never rented in England, but many friends have assured us that this isn't that unusual. Our move actually went very smoothly though, and we have some great friends who helped us with some of the heavy lifting. We have been learning what it is like to own a home in the country, with a well, septic, large garden etc. The learning curve has been a little steep at times! We attended two weddings (I was a groomsman in one) with two amazing groups of friends - it was a pleasure to be part of the day for two great friends.</p>

<p>I made a few <a href="http://www.nature.com/spoton/2012/08/phdelta-the-road-less-travelled-from-phd-to-software-development/">guest</a> <a href="http://www.nature.com/spoton/2012/10/the-scholarly-poor/">blog</a> <a href="http://opensource.com/life/12/11/scientific-research-publication-process">posts</a>, which I will try to talk more about in another post, and attended some great conferences including the ACS, Semantic Physical Science and Supercomputing. Our <a href="http://www.jcheminf.com/content/4/1/17">Avogadro paper was published</a>, and was recently published in final form (I will write more about this too). I finally cancelled my dedicated server (an old Gentoo box), which I originally took when I was consulting in England, this was very disruptive in the end and I didn't have a complete backup of all data when it was taken offline. This caused lots of disruption to email (sorry if I never got back to you). I moved to a cloud server with Rackspace in the end, after playing with a few alternatives. I was retired as a <a href="http://www.gentoo.org/">Gentoo</a> developer too (totally missed those emails), it was a great experience being a developer and I still value many of the friendships formed during that time. My passion for packaging has wained in recent years, and I tend to use <a href="http://www.archlinux.org/">Arch Linux</a> more now (although still love lots of things about Gentoo).</p>

<center><img src="http://blog.cryos.org/uploads/dax-thought.jpg" width="404" height="604" /></center>

<p>Just before Xmas our ten year old German Shepherd developed a sudden paralysis in his back legs and had to be put down. It was pretty devastating, after having him from when he was 12 weeks old. He joined our little family just after we got our own place in England, he had five great years in England and another five in the US. He was with me for so much of my life (a degree, loss of my brother, marriage, loss of my sister, moving to another country, birth of our first child, getting a "real" job). We had family over for the holidays as we call them over here (Xmas and New Year back home), which was great but we may not have been the best of company after having just lost our dog.</p>

<p>I think I skipped lots of stuff too, but it was quite a year! Hoping for more of a steady ride this year to say the least.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/260-Open-Chemistry,-VTK-and-ParaViewWeb.html" rel="alternate" title="Open Chemistry, VTK and ParaViewWeb" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2012-06-22T19:04:46Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=260</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=260</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
    
        <id>http://blog.cryos.org/archives/260-guid.html</id>
        <title type="html">Open Chemistry, VTK and ParaViewWeb</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>Last year <a href="http://www.kitware.com/company/team/lonie.html">David Lonie</a>, now a new <a href="http://www.kitware.com/">Kitware</a> employee, worked on a <a href="http://www.kitware.com/blog/home/post/141">Google Summer of Code project</a> to add better support for <a href="http://www.kitware.com/source/home/post/44">chemical structure visualization to VTK</a>. More recently, <a href="http://www.kitware.com/company/team/lutz.html">Kyle Lutz</a> added representations to <a href="http://www.paraview.org/">ParaView</a> to expose some of this new functionality for ParaView users. Once that was in place we were able to work with&#160;<a href="http://www.kitware.com/company/team/jourdain.html">S&eacute;bastien Jourdain</a> to expose this functionality in <a href="http://paraview.org/Wiki/ParaViewWeb">ParaViewWeb</a>&#160;and expose parts of the MongoDB database we have been working on as part of the <a href="http://www.openchemistry.org/">Open Chemistry project</a>. You can checkout the live&#160;<a href="http://paraviewweb.kitware.com/OpenChemistry/">demo here</a>, or take a look at the screen shot below.</p>

<a href="http://paraviewweb.kitware.com/OpenChemistry/"><img src="http://blog.cryos.org/uploads/openchemistryparaviewweb.png" width="776" height="727" alt="ParaVIewWeb and Open Chemistry live demo" /></a>

<p>It was up and running within a day, and in another day we had a query page and summaries exposed in ParaViewWeb with some simple queries. <a href="http://wiki.openchemistry.org/ChemData">ChemData</a>&#160;exposes more complex searches and 2D visualizations of the data contained. The 2D images are created using <a href="http://www.openbabel.org/">Open Babel's</a> SVG rendering, and saved to the database as PNGs for speed and the 3D structure is rendered using ParaViewWeb and image based delivery right now. You can interact with the 3D geometry both inline, or full screen. We will be extending this to show electronic structure and adding other features in the near future too.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/258-Open-Science,-Open-Access-and-Open-Source.html" rel="alternate" title="Open Science, Open Access and Open Source" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2012-04-22T22:59:09Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=258</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=258</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/14-Academia" label="Academia" term="Academia" />
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
            <category scheme="http://blog.cryos.org/categories/5-PhD" label="PhD" term="PhD" />
    
        <id>http://blog.cryos.org/archives/258-guid.html</id>
        <title type="html">Open Science, Open Access and Open Source</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I have been thinking this over for quite a while, and have written this post several times over in my mind. As an undergraduate student I remember admiring scientists and imagining how amazing it must be to have a job where you got to discover new things, think of better solutions to problems facing our society and making the world a better place. As my studies continued I aspired to become one of those researchers, and made the decision to take my studies further and applied to do a PhD.</p>

<p>As a PhD student I enjoyed learning more about materials, and was excited to be working with gold nanoparticles and research into how we might make real devices out of this novel new material in the <a href="http://www.nmeg.group.shef.ac.uk/">Nanomaterial Engineering Group</a>. It was exciting, challenging and fascinating using techniques such as X-ray and neutron reflectometry, electron and atomic force microscopy and Langmuir-Blodgett troughs. As I learned more through my work I became frustrated with the quality of the software I used, and had always imagined that "real scientists" had better tools available to them. It became even more frustrating when I realized how bad some of the instrument control software was, and how so many of the file formats could only be used in one or two expensive and hard to use programs that only worked on one or two platforms.</p>

<p>Towards the end of my PhD I decided I would like to take some action. I had been trying to draw and render images of molecular structures, and wanted a way to do simple geometry optimizations for posters, papers and web pages. At first I tried to do some of this using an existing commercial package, but it only worked on Windows and we only had one license for the department. The training provided to me as a researcher in areas such as programming and analysis were disappointing and all too often generic tools such as Word, Powerpoint and Excel were the most viable choice for preparing, analyzing and presenting our work. I began writing more software, but much of it was written from scratch with little guidance. As I searched for a better way I came across some open source libraries and tools.</p>

<p>I found a program run by Google called "<a href="http://code.google.com/soc/">Summer of Code</a>" where they offered me the opportunity to "flip bits not burgers". I was extremely lucky to find an idea on KDE's idea page for a molecule editor in <a href="http://edu.kde.org/kalzium/">Kalzium</a>. I was very excited, and had been using <a href="http://www.kde.org/">KDE</a> for many years. This was a pivotal moment for me, where my life and career took a twist I never expected into the world of open science - and I have loved every minute of it.</p>

<p>It was through that work that I became involved in the <a href="http://avogadro.openmolecules.net/">Avogadro project</a>, and later <a href="http://www.openbabel.org/">Open Babel</a> and met Geoff who later that year offered me a position in <a href="http://hutchison.chem.pitt.edu/">his new research group</a>. This was an exciting opportunity as not only did we share a passion for correlating experimental and computational techniques, Geoff was also very active in open chemistry. After I moved out to Pittsburgh Geoff introduced me to the <a href="http://www.blueobelisk.org/">Blue Obelisk</a>, and I now proudly count myself as one of their un-members. We published an open access paper on the <a href="http://www.jcheminf.com/content/3/1/37">Blue Obelisk five years on</a> last year.</p>

<p>After a two year postdoctoral position with Geoff, who was extremely supportive of my work in open chemistry, I met <a href="http://www.kitware.com/company/team/hoffman.html">Bill Hoffman</a> from <a href="http://www.kitware.com/">Kitware</a>. I knew that Kitware developed <a href="http://www.cmake.org/">CMake</a>, but beyond that was not really aware of what they did. It turned out that they were involved in much more than just CMake, with open source tools and frameworks such as <a href="http://www.vtk.org/">VTK</a>, <a href="http://www.paraview.org/">ParaView</a>, <a href="http://www.itk.org/">ITK</a>, <a href="http://www.cdash.org/">CDash</a> and more. They had been working on open scientific software for over a decade, and they were hiring! They weren't just making applications either, they were tackling the whole problem including development, testing and validation of open-source, cross-platform applications and frameworks.</p>

<p>After accepting a position with Kitware in 2009 one thing I never really appreciated was just how poor access is to publicly funded research. I can no longer access scientific papers I and others wrote, that were funded with tax payer money from both the UK and the US! I think that is terrible, and later realized I had become part of the <a href="http://blogs.ch.cam.ac.uk/pmr/2011/10/05/pay-per-view-science-for-the-scholarly-poor-is-unacceptable-immoral-unethical-and-encourages-bad-science/">scholarly poor</a>, Peter wrote a follow up <a href="http://blogs.ch.cam.ac.uk/pmr/2011/10/06/the-scholarly-poor-industry/">detailing the plight of those of us in industry</a>. There is currently raging debate on open access, and campaigns such as <a href="http://thecostofknowledge.com/">The Cost of Knowledge</a> need our support. The products of publicly funded research should be available to all, whether they are in academia, industry, government or anywhere else.</p>

<p>There are too many black boxes in science today, too much published work that is not available to all or reproduced by others. Mathematics used to be the language of science, but more and more it is computer software that is needed to learn more, and too much of this code is closed, unpublished and poorly shared. Papers must include mathematical proofs, or refer to proofs already published, but it is common to see work published that used closed, proprietary package X to conduct a simulation. This is changing, and Scientific American recently published an article on how "<a href="http://www.scientificamerican.com/article.cfm?id=secret-computer-code-threatens-science">Secret Computer Code Threatens Science</a>". Science also published an article about "<a href="http://www.sciencemag.org/content/336/6078/159">Shining Light into Black Boxes</a>", detailing the growing problem of witheld source code preventing meaningful peer review and reproducibility of research.</p>

<p>Michael Nielsen published a book called "<a href="http://michaelnielsen.org/blog/reinventing-discovery/">Reinventing Discovery</a>" that talks about the value of networked science, and is well worth a read if you have not yet had a chance. The <a href="http://pantonprinciples.org/">Panton Principles</a> outline the need to make scientific data open, and the <a href="http://sciencecodemanifesto.org/">Science Code Manifesto</a> calls for openly available code in science. The core goals of the <a href="http://www.blueobelisk.org/">Blue Obelisk</a> are open data, open standards and open source. I think for science to progress we must embrace openness, and sharing and resist the urge to hoard data building up small empires on proprietary code and data.</p>

<p>One thing I hope to see come from all of the controversy of the Research Works Act is a clarification that publicly funded research should be available to all, whether you think they will understand it or not. Scientists need to get better at communicating with the general public, and being more transparent about how research is done. I think open science will give us a chance to <a href="http://www.guardian.co.uk/science/blog/2012/apr/20/open-access-crucial-public-confidence-science">increase public engagement in science</a>, which seems to be a growing problem in an age where we can all access the internet and a wealth of knowledge available on it.</p>

<p>I think that we need to figure out sustainable ways to fund the development of open software platforms to enable the next generation of researchers to push back the frontiers of science. We need to remember that we are publishing to share the results of (often publicly funded) research, and so we should be using liberal licenses such as <a href="http://creativecommons.org/licenses/by/3.0/us/">CC-BY</a>, <a href="http://creativecommons.org/choose/zero/">CC0</a> that allow reuse and further analysis. We also need liberally licensed software that allow those same things, with simple licenses such as <a href="http://www.opensource.org/licenses/bsd-license.php">BSD</a> and <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache 2.0</a>. These libraries should contain well-tested implementations of data structures, algorithms and best structures, along with training for researchers to help them take advantage of these resources. If there is a better way to do something, contributions and integration should be encouraged as is the case in most open source communities.<p>

<p>Our <a href="http://www.openchemistry.org/">Open Chemistry project</a> recently got <a href="http://www.kitware.com/news/home/browse/OpenChemistry?2012_01_24&Kitware+Receives+Phase+II+Funding+for+the+Development+of+a+Computational+Chemistry+Workbench">Phase II SBIR funding</a>, and I am very excited to be leading that work at Kitware. It is part of a collaborative, open effort to improve the tools and frameworks available in the area leveraging <a href="http://www.kitware.com/source/home/post/62">new software processes</a> to enable wider community involvement.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/257-Leap-Day-Never-Enough-Time.html" rel="alternate" title="Leap Day: Never Enough Time" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2012-02-29T20:23:00Z</published>
        <updated>2012-09-24T00:11:43Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=257</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=257</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/3-General" label="General" term="General" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/257-guid.html</id>
        <title type="html">Leap Day: Never Enough Time</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>What a busy year it has been so far, a leap day hardly seems enough to help me catch up! I started off the year with a meeting in Cambridge, England on Semantic Physical Science which was hosted by <a href="http://blogs.ch.cam.ac.uk/pmr/">Peter Murray-Rust</a>. I ended up leading the working group on <a href="http://www.xml-cml.org/">CML</a> and the developing a roadmap to move forward. <a href="http://blogs.ch.cam.ac.uk/pmr/2012/01/26/marcus-hanwell-the-way-ahead-for-cml-and-the-community/">Peter blogged about this on my birthday</a> (by chance) and you can see the <a href="http://vimeo.com/35400550">video of my summing up of the results</a>, along with all the <a href="http://vimeo.com/petermr">other videos from the final day</a>.</p>

<p>While I was back in England I took the opportunity to visit friends and family, along with a day trip to Liverpool to meet with Abbie and Jens. While I was there we discussed some plans around alternate inputs for <a href="http://avogadro.openmolecules.net/">Avogadro</a> for an upcoming MP visit at the end of January. I found some time to <a href="http://www.kitware.com/blog/home/post/232">blog about that on the Kitware blog</a>, and Abbie <a href="http://www.pore-behaviour.com/report2.html">wrote up the visit</a> on their site. I think engaging more people in chemistry is important, and whilst I don't think the interaction is ideal at the moment I was pleased to see them enjoying it. The Kinect is something that many groups can purchase, and if it helps engage a wider audience in science I think that is a great thing.</p>

<p>I am very excited about the work we are doing in <a href="http://openchemistry.org/">Open Chemistry</a> at <a href="http://www.kitware.com/">Kitware</a>. We have been bringing web sites and testing online, and have begun engaging more people in the development process. The official announcement of <a href="http://www.kitware.com/news/home/browse/OpenChemistry?2012_01_24&Kitware+Receives+Phase+II+Funding+for+the+Development+of+a+Computational+Chemistry+Workbench">our Phase II funding</a> went out in January too, and I set up an <a href="https://plus.google.com/114547712877150296237/posts">Open Chemistry group on Google+</a> if you would like to follow new developments there.</p>

<p>I am especially excited after meeting some people from <a href="http://www.emsl.pnl.gov/">EMSL</a> at the Semantic Physical Science meeting in Cambridge about the possibilities of working with <a href="http://www.nwchem-sw.org/">NWChem</a> more in the future. The open source license they switched to last year is of a very similar liberal nature to that of many of the open source projects we work on at Kitware. There are a large array of techniques available in NWChem, and interest in correlating computational and experimental observables.</p>

<p>We have also been extending Gerrit to support topic branch reviews, and switched <a href="http://www.vtk.org/">VTK</a> to use it for all code submissions. You can see <a href="http://review.source.kitware.com/#/q/entity:topic%20status:open+project:VTK,n,z">proposed topics</a> and they will trigger automatic build tests using CDash@Home for members of the core group. The Open Chemistry projects are also using the same Gerrit server for code review, and I am adding automated build testing of topics as I find time (any more leap days would help).</p>

<p>As my extra day draws to a close I realize there is still so much more I should get down. I will aim for more discipline in adding more regular entries here, you can <a href="https://plus.google.com/113975743934359964892/posts">follow my Google+ updates</a> if you would like more updates on open source, open science and the life of a scientific software developer.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/255-Reflections-on-2011-Open-Source,-Open-Science-and-Open-Chemistry.html" rel="alternate" title="Reflections on 2011: Open Source, Open Science and Open Chemistry" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2012-01-01T20:40:41Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=255</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=255</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/3-General" label="General" term="General" />
    
        <id>http://blog.cryos.org/archives/255-guid.html</id>
        <title type="html">Reflections on 2011: Open Source, Open Science and Open Chemistry</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>It has been so long since I uttered a word here, 2011 was certainly a busy year for me and I hope to ensure I dedicate more time telling people about what I am up to in 2012. In preparation for that I have spent some time moving my blog to some new hardware, in the cloud. I also got to the bottom of the poor performance of page loads, and things should be much snappier now. After all that I figured it was time for a cosmetic refresh, so after upgrading the Serendipity I selected a new and hopefully cleaner theme.</p>

<p>As an extra special treat I updated the photo to something a little more recent to - me emerging from my TARDIS with a mug of espresso in hand! <a href="http://www.kitware.com/">Kitware</a> grew a lot last year, so much so that we had to take space in a new building across the road. It was decided that our scientific computing team would move, along with the communications team. <a href="http://www.kitware.com/blog/home/post/163">In the move</a> I got my own office, with a view of the old office across the street.</p>

<p><a href="http://www.vtk.org/">VTK</a> was <a href="http://www.kitware.com/blog/home/post/104">accepted as a mentoring organization</a> in the Google Summer of Code program. We were lucky enough to get two very talented and tenacious students who <a href="http://www.kitware.com/source/home/post/44">produced some great work over the summer</a>. We also continued improving and extending <a href="http://www.kitware.com/blog/home/post/70">Gerrit</a>, and thanks to the Google Summer of Code I had the opportunity to attend both the <a href="http://gsoc-wiki.osuosl.org/index.php/2011">Mentor Summit</a> and the <a href="http://google-opensource.blogspot.com/2011/12/gittogether-2011.html">Git Together</a> (held the day after). Not satisfied with two meetings in one trip I also attended a small portion of the <a href="http://opensciencesummit.com/">Open Science Summit</a>, and hope to be able to attend the whole thing if it happens again in 2012.</p>

<p>Speaking of <a href="http://www.openscience.org/blog/?p=269">Open Science</a>, 2011 was a big year for the area both on a personal level and in the wider community. I <a href="http://blog.cryos.net/archives/254-Conferences-Talking-Open-Science-at-OSCON,-Desktop-Summit-and-Chemical-Databases-Meeting.html">talked about our work in open science at several conferences</a>, and more specifically the work we have been doing in Open Chemistry. I wrote a Source article introducing the <a href="http://www.kitware.com/source/home/post/39">work that we have done in Open Chemistry since I joined Kitware</a>, and we recently acquired the <a href="http://openchemistry.org/">openchemistry.org</a> domain and have begun populating it. We were also awarded a Phase II SBIR which gives us two years of funding to develop many of the applications and libraries that I mentioned in the article.</p>

<p>The <a href="http://sciencecodemanifesto.org/">Science Code Manifesto</a> was conceived in 2011, and Michael Nielsen released his new book <a href="http://michaelnielsen.org/blog/reinventing-discovery/">Reinventing Discovery</a>. There was also <a href="http://www.openaccessweek.org/">Open Access Week</a> which highlighted the need for open access to scientific journals and data. I was very pleased to be a coauthor on two open access articles in 2011, <a href="http://www.jcheminf.com/content/3/1/38">the Quixote project</a> and <a href="http://www.jcheminf.com/content/3/1/37">the Blue Obelisk five years on</a>. I was also honored to receive my own <a href="http://blog.cryos.net/archives/250-Blue-Obelisk-Award.html">Blue Obelisk award in 2011 from Peter Murrary-Rust</a>!</p>

<p>There is so much else, but I am out of time for now and this post is already very long. <a href="http://plus.google.com/">Google+</a> was released to the masses, you <a href="https://plus.google.com/113975743934359964892">can see a little more of me there</a>, and I have created an <a href="https://plus.google.com/b/114547712877150296237/">Open Chemistry page</a> that I will try to keep updated over the coming year. I was invited to a workshop on <a href="http://blogs.ch.cam.ac.uk/pmr/2011/12/12/workshop-and-symposium-on-semantic-physical-science/">Semantic Physical Science</a> in Cambridge, England and so I will be starting my traveling very much earlier than usual - leaving next Thursday. Here is to a great new year, one in which I hope we as a community can make significant progress in opening science for the world, and creating a truly shared set of tools for all!</p>

<p>I hope that 2012 is the year more of us start sharing in meaningful ways.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/254-Conferences-Talking-Open-Science-at-OSCON,-Desktop-Summit-and-Chemical-Databases-Meeting.html" rel="alternate" title="Conferences: Talking Open Science at OSCON, Desktop Summit and Chemical Databases Meeting" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2011-09-04T00:37:00Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=254</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=254</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/254-guid.html</id>
        <title type="html">Conferences: Talking Open Science at OSCON, Desktop Summit and Chemical Databases Meeting</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>Over the last two months I have had one of my most hectic travel schedules ever. It started with<a href="http://www.oscon.com/oscon2011">OSCON</a>, and a panel discussion about <a href="http://www.oscon.com/oscon2011/public/schedule/detail/19109">"Practicing Open Science"</a>. This one was a bit of a surprise, as <a href="http://www.kitware.com/company/team/hoffman.html">Bill Hoffman</a> was originally presenting with <a href="http://www.kitware.com/company/team/schroeder.html">Will Schroeder</a> and <a href="http://www.linkedin.com/in/briford">Brian Wylie</a>, from <a href="http://sandia.gov/">Sandia National Laboratories</a>. As Bill couldn't make it we decided to change the content of my section, and talk about the new open chemistry area that I have been working on for about four years now. Will went first, followed by me and a wrap up from Brian, with a nice flow between <a href="http://www.kitware.com/">Kitware</a> working on open science for over a decade, me growing a new area of open science (now at Kitware) and Brian giving a government perspective on open source and open science. The slides are below and on slideshare if you would like to take a look.</p>

<center><div style="width:425px" id="__ss_8824739"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/cryos/oscon-2011-practicing-open-science" title="Oscon 2011 Practicing Open Science" target="_blank">Oscon 2011 Practicing Open Science</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/8824739" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> <div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/cryos" target="_blank">Marcus Hanwell</a> </div> </div></center>

<p>I thoroughly enjoyed OSCON, and would love to attend future events. The toughest thing was deciding which talks to attend as there were often multiple tracks with talks of interest to me. This was also by far the largest and most commercialized open source event I have attended so far, in the beautiful city of Portland, OR. I couldn't stick around for long after the conference as I was flying out to England on the following Tuesday, and on to Berlin, Germany Friday to attend the <a href="https://desktopsummit.org/">Desktop Summit</a>. This was my first time in Germany, and I was looking forward to exploring Berlin a little, along with some time to catch up with a few family and friends in England before and after the conference. I talked about "<a href="https://desktopsummit.org/program/sessions/open-source-visualization-scientific-data">Open Source Visualization of Scientific Data</a>" on the final day of the main conference, and was very pleased to have a large and interested audience. Here I also discussed my work in open chemistry, along with a lot of the other work we do at Kitware in the Scientific Computing group.</p>

<center><div style="width:425px" id="__ss_8825510"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/cryos/open-source-visualization-of-scientific-data" title="Open Source Visualization of Scientific Data" target="_blank">Open Source Visualization of Scientific Data</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/8825510" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> <div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/cryos" target="_blank">Marcus Hanwell</a> </div> </div></center>

<p>I stayed for the remainder of the conference, attending my first KDE e.V. meeting, and was joined by Bill Hoffman towards the end of the week. Bill gave a workshop on using <a href="http://www.cmake.org/">CMake</a>, and I helped out with that, along with taking part in several BoF sessions and meetings. It was a very hectic week, very different feel to OSCON with a lot of great presentations, BoFs and hacking sessions. I also had the opportunity to meet up with <a href="http://blogs.kde.org/blog/531">Alexander Neundorf</a> who was an intern at Kitware for half a year, and several other KDE developers interested in build systems, software process, testing, coverage and related areas.</p>

<p>Then I was back home for just over a week before braving the elements and heading straight for the path of hurricane Irene. I was invited to the <a href="http://web.ncifcrf.gov/events/chemicaldatabases/">5th Meeting on U.S. Government Chemical Databases and Open Chemistry</a> where I talked about "<a href="http://www.slideshare.net/cryos/chemical-databases-and-open-chemistry-on-the-desktop">Chemical Databases and Open Chemistry on the Desktop</a>". This meeting was very focused on chemical databases and the open chemistry I have been working on so hard for the last few years. It was a great experience to be able to see what others are working on, and discuss possible points for future collaboration. There is some amazing work happening in this area, and this meeting helped me gain greater clarity on how my work at Kitware can fit into the larger picture to significantly improve the landscape in open chemistry.</p>

<center><div style="width:425px" id="__ss_9025558"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/cryos/chemical-databases-and-open-chemistry-on-the-desktop" title="Chemical Databases and Open Chemistry on the Desktop" target="_blank">Chemical Databases and Open Chemistry on the Desktop</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/9025558" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> <div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/cryos" target="_blank">Marcus Hanwell</a> </div> </div></center>

<p>Thanks to Kitware for allowing me to attend, and funding my travel/other expenses, and to my wife and son for tolerating my long absences over the last couple of months. An even bigger thank you to my wife, Louise, for letting me off the hook on my first missed wedding anniversary so that I could present at OSCON! I had some great news about funding for the continued development of many of the ideas discussed in the slides, and so hope to have much more to talk about over the coming months (and years). This post is already pretty long, I hope to continue developing this work and promoting open science, especially in chemistry, materials science, physics and the bio areas. There are lots of other amazing people working in these areas too, and I feel like we are getting to a point where we can create real change to improve the outlook in scientific research.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/253-Talking-About-Open-Source-Visualization-of-Scientific-Data-at-the-Desktop-Summit.html" rel="alternate" title="Talking About Open Source Visualization of Scientific Data at the Desktop Summit" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2011-08-05T00:20:00Z</published>
        <updated>2011-08-14T13:36:09Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=253</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=253</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/253-guid.html</id>
        <title type="html">Talking About Open Source Visualization of Scientific Data at the Desktop Summit</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span></p>I have begun my journey to the <a href="https://desktopsummit.org/">Desktop Summit</a>, making the flight over from the US to Manchester yesterday. A short stay in Sheffield, and catch up with family before heading out to get my flight to Berlin tomorrow. I will be talking about the work I have done both at and before joining <a href="http://www.kitware.com/">Kitware</a> with the title <a href="https://desktopsummit.org/program/sessions/open-source-visualization-scientific-data">"Open Source Visualization of Scientific Data"</a>. I plan to talk about a range of work from my Google Summer of Code project on <a href="http://avogadro.openmolecules.net/>Avogadro</a> and <a href="http://edu.kde.org/applications/science/kalzium/">Kalzium</a> back in 2007, through to some of the exciting work at Kitware in <a href="http://www.vtk.org/">VTK</a>, <a href="http://www.paraview.org/">ParaView</a> and <a href="http://titan.sandia.gov/">Titan</a> looking at the challenges of large data, remote visualization and how to integrate the web and smartphones/tablets into the scientific data visualization workflow.</p>

<center><a href="https://desktopsummit.org/program/sessions/open-source-visualization-scientific-data"><img src="http://blog.cryos.org/uploads/DS2011banner.png" width="333" height="110" border="0" alt="Desktop Summit 2011" /></a></center>

<p>Bill Hoffman is also planning to attend, and we will be running a workshop <a href="http://wiki.desktopsummit.org/Workshops_%26_BoFs/2011/CMake_Introduction">introducing CMake</a> on Thursday. This is my first Desktop Summit, although Bill and I have both attended previous aKademy and Camp KDE meetings. I should be in on time to attend the pre-registration event, and will not be leaving until Saturday. Looking forward to a great summit, catching up with some old friends and making some new ones. Now, I think I should try to get some sleep before my flight tomorrow!</p></span><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/252-Talking-at-OSCON-2011-about-Open-Science.html" rel="alternate" title="Talking at OSCON 2011 about Open Science" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2011-07-26T18:30:00Z</published>
        <updated>2011-07-26T18:35:48Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=252</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=252</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/2-FOSS" label="FOSS" term="FOSS" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
            <category scheme="http://blog.cryos.org/categories/17-Kitware" label="Kitware" term="Kitware" />
    
        <id>http://blog.cryos.org/archives/252-guid.html</id>
        <title type="html">Talking at OSCON 2011 about Open Science</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am currently on a plane bound for Portland, Oregon enjoying the in-plane wi-fi. Will Schroeder, Brian Wylie and I will be talking about <a href="http://www.oscon.com/oscon2011/public/schedule/detail/19109">"Practicing Open Science"</a> on Friday in the government track. I am standing in for Bill Hoffman who unfortunately could not make it, and will be discussing the work I have been doing to grow open chemistry both at Kitware and outside of Kitware with many amazing collaborators scattered around the world. I am really excited to have the opportunity to talk at OSCON, and would be happy to meet up and discuss this work if you are at OSCON. Will and Brian are both very passionate about open science too, they will both give their unique perspectives on practicing open science. I will be there from this evening and don't fly out until early Saturday morning.</p>

<center><a href="http://www.oscon.com/oscon2011/public/schedule/detail/19109">
<img src="http://assets.en.oreilly.com/1/event/61/oscon2011_speaking_300x250.gif" width="300" height="250" border="0" alt="OSCON 2011" /></a></center>

<p>I am very much looking forward to OSCON, and the major difficulty I have had is choosing between the talks that are all happening at the same time. In some cases there are two or three I would like to see in any given slot. I am hoping to attend the KDE release party tomorrow too, please join us there if you would like to celebrate with us.</p></span> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.cryos.org/archives/251-Avogadro-1.0.3-Released.html" rel="alternate" title="Avogadro 1.0.3 Released" />
        <author>
            <name>Marcus D. Hanwell</name>
            <email>marcus@cryos.net</email>        </author>
    
        <published>2011-04-25T16:58:39Z</published>
        <updated>1970-01-01T00:00:00Z</updated>
        <wfw:comment>http://blog.cryos.org/wfwcomment.php?cid=251</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.cryos.org/rss.php?version=atom1.0&amp;type=comments&amp;cid=251</wfw:commentRss>
    
            <category scheme="http://blog.cryos.org/categories/15-Avogadro" label="Avogadro" term="Avogadro" />
            <category scheme="http://blog.cryos.org/categories/16-Chemistry" label="Chemistry" term="Chemistry" />
            <category scheme="http://blog.cryos.org/categories/1-Gentoo" label="Gentoo" term="Gentoo" />
            <category scheme="http://blog.cryos.org/categories/13-GSoC" label="GSoC" term="GSoC" />
            <category scheme="http://blog.cryos.org/categories/12-KDE" label="KDE" term="KDE" />
    
        <id>http://blog.cryos.org/archives/251-guid.html</id>
        <title type="html">Avogadro 1.0.3 Released</title>
        <content type="xhtml" xml:base="http://blog.cryos.org/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <span><p>I am pleased to be able to announce the availability of <a href="http://avogadro.openmolecules.net/">Avogadro</a> <a href="https://sourceforge.net/projects/avogadro/files/avogadro/1.0.3/">1.0.3</a>! What happened to Avogadro 1.0.2 I hear you ask...shortly after tagging Michael reported an issue with i18n building/installations. So 1.0.3 contains a couple of very small build system fixes, but see the <a href="http://avogadro.openmolecules.net/wiki/Avogadro_1.0.2">1.0.2 release notes</a> for details of most of the fixes.</p>

<p>As always, we appreciate your feedback. There are still a few issues outstanding, but many things were fixed. These binaries are also built against much newer versions of Qt and Open Babel where significant improvements have also been made. There may be one or two more releases of the 1.0 line if necessary (I have streamlined the release process with a view to making more releases), but I would like to focus our efforts on an unstable release for 1.1. Once 1.1 is stable, a 1.2.0 release will be cut and branched. There are lots of new features in master that we would love more feedback on.</p></span> 
            </div>
        </content>
        
    </entry>

</feed>