lukasturcani / stk

A Python library which allows construction and manipulation of complex molecules, as well as automatic molecular design and the creation of molecular databases.
https://stk.readthedocs.io/
MIT License
252 stars 48 forks source link

Provide orientation options to Macrocycles for whether a building block points in/out #471

Open andrewtarzia opened 2 years ago

andrewtarzia commented 2 years ago

From a discussion with @fiszczyp , where large-ish building blocks were pointing into the centre of the macrocycle when isometric smiles were used (I could not understand this distinction, but currently I think the initial conformer orienation/structure will impact orientation somehow).

I think the solution to this is a new Orientable(?)Macrocycle topology graph that allows the user to provide vectors OR (my preference) a selection out of "up", "down", "in", "out" vertices that would then align all of those Building blocks along the ring in that direction.

This requires:

lukasturcani commented 2 years ago

is this related to #15 ?

andrewtarzia commented 2 years ago

Related, but probably adds a bit more in terms of control??

lukasturcani commented 2 years ago

fair