HITS-SDBV / nmtrypi-seek

Other
0 stars 1 forks source link

substructure search SMARTS query - structure not redrawn #4

Open nwoetzel opened 7 years ago

nwoetzel commented 7 years ago

When using wildcards in a SMARTS substructure search, the JSME editor cannot draw the structure. JSME uses Openchemlib.js to convert SMILES/SMARTS to structures. This does not always work for wildcards as it seems, e.g.:

nwoetzel commented 7 years ago

Also CDK cannot help, since the SMARTSParser.parse returns an IAtomQueryContainer which cannot be used in MoleculeWriter; and there is no way yet to convert IAtomQueryContainer to an IAtomContainer (that I know of)