Menu

Tree [a640d4] main /
 History

HTTPS access


File Date Author Commit
 .github 2025-01-26 Uli Uli [b88833] add step to print name and url of all assets in...
 app 2025-03-29 John Mayfield John Mayfield [0d2446] Next development version (2.12-SNAPSHOT)
 base 3 days ago John Mayfield John Mayfield [c3ff08] Remove some redundant exceptions.
 bundle 2025-03-29 John Mayfield John Mayfield [0d2446] Next development version (2.12-SNAPSHOT)
 descriptor 3 days ago John Mayfield John Mayfield [a640d4] Allow the ExtendedFingerprinter to setHashExpli...
 display 2025-03-31 John Mayfield John Mayfield [81e1af] If any bond is hidden in the ring, it should no...
 doc 2023-08-21 John Mayfield John Mayfield [c2e0b2] New JavaDoc stylesheet - update without our cus...
 legacy 2025-03-29 John Mayfield John Mayfield [0d2446] Next development version (2.12-SNAPSHOT)
 misc 2025-03-29 Egon Willighagen Egon Willighagen [92be0f] Merged test-extra into extra
 src 2014-04-17 John May John May [523649] Site index page
 storage 2025-04-22 John Mayfield John Mayfield [ffa903] Only the static functions should use the static...
 tool 2025-04-10 John Mayfield John Mayfield [9ee6f6] FIx #1183 InChITautomerGenerator on AtomContainer2
 .gitignore 2018-02-05 Lyle D. Burgoon Lyle D. Burgoon [e2d1cf] Added PaDEL AtomPairs2D fingerprint.
 AUTHORS.txt 2025-01-09 Egon Willighagen Egon Willighagen [2a89e6] Added a new contributor
 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 2025-03-11 Egon Willighagen Egon Willighagen [c0378c] New year
 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 2025-04-02 John Mayfield John Mayfield [83396e] Fix #1174. We need better logic when the ring c...

Read Me

Maven Central build Bugs

The Chemistry Development Kit (CDK)

Copyright © 1997-2025 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.9.jar MyClass.java
$ java -cp cdk-2.9.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.9</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:
* Building the CDK
* Maven Reporting Plugins

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).

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.