Menu ▾ ▴

Tree [1d222f] main /
 History

HTTPS access


File Date Author Commit
 .github 2026-10-05 John Mayfield John Mayfield [9f4e9b] Suggestions form SonarCloud
 .mvn 2026-09-02 John Mayfield John Mayfield [4e4331] (Hopefully) reduce the number of signature file...
 app 2026-09-02 John Mayfield John Mayfield [194072] CDK 2.14-SNAPSHOT
 base 3 days ago Syed Asad Rahman Syed Asad Rahman [a08659] Refuse oversized MCS searches with IllegalArgum...
 bundle 5 days ago Zachary Charlop-Powers Zachary Charlop-Powers [05ca67] Merge META-INF/services files when shading the ...
 descriptor 2026-10-17 John Mayfield John Mayfield [13c950] Remove Assertions.assertAll
 display 2 days ago John Mayfield John Mayfield [37aa82] Fix the rectangle rendering, the scaling was no...
 doc 2026-10-09 Syed Asad Rahman Syed Asad Rahman [3ef65b] Add maximum common substructure search to cdk-i...
 legacy 2026-10-17 John Mayfield John Mayfield [a08c86] Code quality fixes
 misc 2026-10-17 John Mayfield John Mayfield [a08c86] Code quality fixes
 src 2014-04-17 John May John May [523649] Site index page
 storage 6 days ago John Mayfield John Mayfield [c52e51] Use the correct table for MOLfile isotope deltas.
 tool 3 days ago Syed Asad Rahman Syed Asad Rahman [a08659] Refuse oversized MCS searches with IllegalArgum...
 .gitignore 2018-02-05 Lyle D. Burgoon Lyle D. Burgoon [e2d1cf] Added PaDEL AtomPairs2D fingerprint.
 AUTHORS.txt 2026-10-11 Egon Willighagen Egon Willighagen [910194] Added three recent, new contributors
 CITATION.cff 2024-03-11 Egon Willighagen Egon Willighagen [c5572e] Applied suggested changes
 ISSUES.txt 2018-10-28 John Mayfield John Mayfield [0f5e66] More standardisation.
 LICENSE.txt 2018-10-28 John Mayfield John Mayfield [0f5e66] More standardisation.
 README.md 2026-09-07 Jonas Schaub Jonas Schaub [09edb8] Update CDK version from 2.12 to 2.13 in README
 checkstyle.xml 2015-12-27 Egon Willighagen Egon Willighagen [4e3bbf] Stricter JavaDoc checking (more like DocCheck)
 codecov.yml 2020-12-29 Egon Willighagen Egon Willighagen [d6b14b] Don't post comments on PRs
 pom.xml 22 hours ago Egon Willighagen Egon Willighagen [d803f7] XOM 1.4.6

Read Me

Maven Central Version build Bugs

The Chemistry Development Kit (CDK)

Copyright © 1997-2026 The CDK Development Team

License: LGPL v2, see LICENSE.txt

Home Page | JavaDoc | Wiki | Issues | Mailing List

Introduction

The CDK is an open-source Java library for cheminformatics and bioinformatics.

Key Features:

  • Molecule and reaction valence bond representation.
  • Read and write file formats: SMILES, SDF, InChI, Mol2, CML, and others.
  • Efficient molecule processing algorithms: Ring Finding, Kekulisation, Aromaticity.
  • Coordinate generation and rendering.
  • Canonical identifiers for fast exact searching.
  • Substructure and SMARTS pattern searching.
  • ECFP, Daylight, MACCS, and other fingerprint methods for similarity searching.
  • QSAR descriptor calculations

Install

The CDK is a class library intended to be used by other programs, it will not run as a stand-alone program.

The library is built with Apache Maven and currently requires Java 1.7 or later. From the root of the project run to build the JAR files for each module. The bundle/target/ directory contains the main JAR with all dependencies included:

$ mvn install

You can also download a pre-built library JAR from releases.

Include the main JAR on the Java classpath when compiling and running your code:

$ javac -cp cdk-2.13.jar MyClass.java
$ java -cp cdk-2.13.jar:. MyClass

If you are using Maven, you can use the uber cdk-bundle to grab
everything, note it is much more efficient to use include the modules you need:

<dependency>
  <artifactId>cdk-bundle</artifactId>
  <groupId>org.openscience.cdk</groupId>
  <version>2.13</version>
</dependency>

If you are a Python user, the Cinfony project provides access via Jython.
Noel O'Boyle's Cinfony provides a wrapper around the CDK and over toolkits exposing core
functionality as a consistent API. ScyJava can also be used, as explain in ChemPyFormatics.

Further details on building the project in integrated development environments (IDEs) are available on the wiki:

Getting Help

The Toolkit-Rosetta Wiki Page provides some examples for common tasks. If you need help using the CDK and have questions please use the user mailing list, cdk-user@lists.sf.net (you must subscribe here first to post).