SiMolecule / centres

Perception and labelling of stereogenic centres in chemical structures
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Stereochemistry Labelling Done Good

Centres is an Open Source Java library for that allows perception and labelling of stereogenic centres in chemical structures using the Cahn-Ingold-Prelog priority rules.

How to Use

You can use Centres interactively at http://www.simolecule.com/cdkdepict by selecting the annotation "CIP Stereo Label". Alternatively you can download the centres.jar (built on CDK) from the releases page. This JAR can be used to label and test an SD or SMILES file.

java -jar centres.jar input.sdf

To run the benchmark tests pressented by Hanson et al (note limitations below) run the following commands. The files can be downloaded from https://cipvalidationsuite.github.io/ValidationSuite/.

java -jar centres.jar compounds_2d.sdf -e CIP_LABELS
java -jar centres.jar compounds_3d.sdf -e CIP_LABELS
java -jar centres.jar compounds.smi -e 1

Key Features

Install

jchem and opsin backends do not currently pass the internal validation tests and should be skipped when running tests.

mvn install -pl '!jchem,!opsin'

alternatively skip the tests:

mvn install -DskipTests

License

BSD 2-Clause

Authors

John Mayfield (né May)

Limitations

References