Representing paint molecules with JChemPaint

Importing and Exporting

JChemPaint supports several common formats that let you save drawings for processing in other programs. It is a good idea to save the drawing itself as Chemical Markup Language (CML) [4], an XML-compliant schema for the chemistry field, or MDL MOL, a text-based file format for chemical information ending in the abbreviation .mol [5]. For final or term papers, you can export the drawings as PNG, BMP, or SVG graphics by selecting File | Save as Image. Alternatively, you can output SMILES strings of the drawings by selecting Tools | Create SMILES. This means that you can carry on processing the chemical compound represented with various online services such as Molinspiration [6].

JChemPaint can import files in Structure Data File (SDF) format [7], a common file format ending in .sdf for exchanging chemical information. Various chemistry websites also present compounds in the IUPAC International Chemical Identifier (InChI) notation [8], which shows the molecule as a string (unlike SMILES, InChI is a free format under the LGPL), or as a Chemical Abstracts Service (CAS) Registry Number [9], which is a unique number for each molecule managed in a database by the American Chemical Society. Both notations compete with the SMILES notation.

Conclusions

JChemPaint is unique in that there are currently no better alternatives on Linux or as free software in general. It supports common formats that let you retrieve information for the drawings in other programs or from online services. But note that the program is still at an early stage of development. In our lab, it was not possible to draw rings with circles inside. These structures are available as templates, though. In addition, various actions result in nasty Java exceptions due to errors not being fielded. Having said this, JChemPaint is a very useful editor that lets users generate attractive 2D views of chemical compounds.

The Author

Anzela Minosi offers various IT services on Fiverr under the pczoneminosi nickname. This includes gigs for cleaning up, analyzing, and visualizing data.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • 3D Molecular Visualizer

    Modern chemistry and biochemistry are hard to understand without 3D models. In this article, we look at programs that bring order to the chaos of connected atoms by arranging them in functional sections and in three dimensions.

  • Free Software Projects

    Graphics can facilitate research into chemical compounds. The chemistry software, Avogadro, has no trouble handling the third dimension and has an intuitive interface that offers more than its share of functionality.

  • carbonOS: A New Linux Distro with a User Experience Focus

    CarbonOS is a brand new, built-from-scratch Linux distribution that uses the Gnome desktop and has a special feature that makes it appealing to all types of users.

  • mtPaint

    You can create pixel art in just a few mouse clicks with the paint program mtPaint, and it can even teach your works of art how to walk.

  • Krita Vs. MyPaint

    If you are looking for an open source drawing program, Krita and MyPaint both offer graphic tablet support and brushes. Deciding which one works best depends on your specific needs.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News