| Literature DB >> 23497723 |
Ola Spjuth1, Arvid Berg, Samuel Adams, Egon L Willighagen.
Abstract
BACKGROUND: The InChI algorithms are written in C++ and not available as Java library. Integration into software written in Java therefore requires a bridge between C and Java libraries, provided by the Java Native Interface (JNI) technology.Entities:
Year: 2013 PMID: 23497723 PMCID: PMC3674901 DOI: 10.1186/1758-2946-5-14
Source DB: PubMed Journal: J Cheminform ISSN: 1758-2946 Impact factor: 5.514
Various java methods from the JniInChIWrapper class
| loadLibrary() | Loads the InChI library suitable for theplatform. |
| getInchi(JniInchiInput) | Generates an InChI for the given inputstructure, with the InChI options passedwith the input. |
| getStdInchi(JniInchiInput) | Generates a Standard InChI for the giveninput structure. |
| getStructureFromInchi(JniInchiInputInchi) | Generates a structure from an InChI string(without coordinates). |
| getInchiKey(String) | Converts an InChI into an InChIKey. |
| checkInchi(String, boolean) | Check the validity of a (non-standard) InChIeither loosely or strict. |
| checkInchiKey(String, boolean) | Check the validity of a (non-standard)InChIKey either loosely or strict. |
| | |
| JniInchiInput(List) | Constructor allowing you to set the InChIgeneration options as a List of Strings. |
| addAtom(JniInchiAtom) | Adds an atom to the input structure. |
| addBond(JniInchiBond( | Adds a bond to the input structure. |
| addStereo0D(JniInchiStereo0D) | Adds a tetrahedral, bond, or allenestereochemistry element to the inputstructure. |
Figure 1Part of the Bioclipse workbench showing the chemical structure for the drug carbamazepine. The InChI and InChIKey are displayed as properties in the bottom canvas. Editing the chemical structure instantly triggers a recalculation of these properties.
Figure 2Part of the Bioclipse workbench showing the Decision Support feature. It shows three exact matches enabled (right canvas) and the chemical structure of the withdrawn drug danthron. We see that the data sets for CPDB [19] and Ames Mutagenicity [20] both gives an exact match, and that this compound has previously been shown to be positive (mutagen) in an Ames Mutagenicity test as well as positive for an in vivo carcinogenicity test included in the Carcinogenicity Potency Database.
Figure 3Screenshot of Linked Data spidering results by Isbjørn presented as a HTML page.