openmolecules.org

 
Home » DataWarrior » Cheminformatics » translation of the idcodes
translation of the idcodes [message #1094] Thu, 22 October 2020 20:05 Go to next message
nbehrnd is currently offline  nbehrnd
Messages: 61
Registered: June 2019
Member
When choosing to save (some of) the content a .dwar file into the .txt file, the column about the structures contains the idcode. This condensed string suffices to recreate the molecular structures when this .txt file is read in a pristine session of DataWarrior. Contrasting to, e.g. a SMILES string, it is harder to understand «the grammar» behind this efficient storage of structural information.

Possibly this is less a feature suggest for DW, rather than bridging DW to other programs: Are there plans to to render the idcode format accessible, either as reading input into for, or (/and?) equally as written output by OpenBabel, e.g. for one of the sections 18.1 till and including 18.3 of the current manual about formats in cheminformatics?(1)

Norwid

(1) https://open-babel.readthedocs.io/_/downloads/en/latest/pdf/
Re: translation of the idcodes [message #1096 is a reply to message #1094] Fri, 23 October 2020 15:05 Go to previous message
thomas is currently offline  thomas
Messages: 384
Registered: June 2014
Senior Member
The idcode is a canonical very compact text representation of a molecule.
Its creation requires ring and aromaticity perception and much more complicated,
complete enhanced stereo perception. It also includes sub-structure query features
and this way is somewhat comparable to an isomeric SMARTS. The best way for another
software package to create or read it, is to use the original source code, which is
available for anybody and any purpose in the OpenChemLib project on Github.

LigandScout is an example of a commercial software package that can read idcodes and
DataWarrior conformer files.

Whether OpenBabel will support OpenChemLib idcodes once, is not in our hands.

Thomas
Previous Topic: Batch conversion of dwar files
Next Topic: Drug score
Goto Forum:
  


Current Time: Thu Dec 03 21:10:08 CET 2020

Total time taken to generate the page: 0.00789 seconds