Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Nicknames #89

Open
BobHanson opened this issue Feb 9, 2023 · 0 comments
Open

Support for Nicknames #89

BobHanson opened this issue Feb 9, 2023 · 0 comments

Comments

@BobHanson
Copy link

One of the most powerful aspects of the CDX and CDXML formats is that they allow for compact depiction of over 500 recognized "nicknames" (Ph, Ac, THP, etc.)

Nicknames are in the form of simple CDXML files that register the fragment information as well as its connectivity. When incorporated into a depiction, the convention is to hide the nickname's node/edge information and only display the nickname's label.

It seems to me that JME-SwingJS and OCL-SwingJS could both utilize these effectively, and openchemlib itself could incorporate the idea easily enough with a subclasssing of StereoMolecule, perhaps. (Jmol-SwingJS already handles CDXML reading, allowing conversion to SMILES, InChI, 2D depictions, or 3D models.)

Ph.cdxml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant