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

Displaying molecules with a 3d shape #55

Closed
dan2097 opened this issue Dec 5, 2017 · 1 comment
Closed

Displaying molecules with a 3d shape #55

dan2097 opened this issue Dec 5, 2017 · 1 comment
Labels
enhancement New feature or request minor

Comments

@dan2097
Copy link
Owner

dan2097 commented Dec 5, 2017

Original report by Anonymous.


Hi
I'm not sure but there might be an issue with displaying organic molecules that have some 3d structure. They are not the same as the images on e.g. wikipedia, here some examples:

https://en.wikipedia.org/wiki/Octanitrocubane
https://en.wikipedia.org/wiki/Twistane also a large dissimilarity
https://en.wikipedia.org/wiki/2.2.2-Propellane
https://en.wikipedia.org/wiki/1.1.1-Propellane
https://en.wikipedia.org/wiki/Bicyclo(1.1.1)pentane
https://en.wikipedia.org/wiki/Adamantane displays some CH_2
https://en.wikipedia.org/wiki/Iceane I don't know how you'd render that
https://en.wikipedia.org/wiki/Cubane

I've also filed this issue to lambdacasserole/avogadrio#30 where I originally stumbled upon this.

Can you improve on this?

@dan2097
Copy link
Owner Author

dan2097 commented Dec 5, 2017

Original comment by Daniel Lowe (Bitbucket: dan2097, GitHub: dan2097).


Both OPSIN and Avogadrio are using the same structue depiction library, Indigo (http://lifescience.opensource.epam.com/indigo/). There are other free depiction libraries e.g. http://www.simolecule.com/cdkdepict/depict.html, but for the type of molecules you are interested I don't think any depiction libraries do a good job unless the handling of the particular molecules has been special cased. The diagrams you're seeing on Wikipedia have almost certainly been manually drawn in a sketcher like ChemDraw. ChemDraw actually may be able to depict some of these molecules better, especially as it correctly removes part of a bond when two bonds cross, so as to make it clear that the crossing point is not an additonal carbon, but it isn't free and its library functionality is limited anyway.

The bottom line is that I can't really improve the situation.

@dan2097 dan2097 closed this as completed Dec 5, 2017
@dan2097 dan2097 added minor enhancement New feature or request labels Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

No branches or pull requests

1 participant