Skip to content

How handle enhanced stereochemistry with 1,4 disubstituted cyclohexanes? #7174

Answered by ptosco
someonetookmyname asked this question in Q&A
Discussion options

You must be logged in to vote

@someonetookmyname You could use a MolBundle:

from rdkit import Chem

cis_or_trans = Chem.MolFromSmiles("Cl[C@H]1CC[C@H](Br)CC1 |a:4,o1:1,r,lp:0:3,5:3|")
cis_or_trans

cis_and_trans = Chem.MolFromSmiles("Cl[C@H]1CC[C@H](Br)CC1 |a:4,&1:1,r,lp:0:3,5:3|")
cis_and_trans

cis_or_trans_bundle = Chem.FixedMolSizeMolBundle()
for mol in Chem.EnumerateStereoisomers.EnumerateStereoisomers(cis_or_trans):
    cis_or_trans_bundle.AddMol(mol)

cis_and_trans_bundle = Chem.FixedMolSizeMolBundle()
for mol in Chem.EnumerateStereoisomers.EnumerateStereoisomers(cis_and_trans):
    cis_and_trans_bundle.AddMol(mol)

cis_or_trans_list = [
    "Cl[C@H]1CC[C@H](Br)CC1 |a:4,o1:1,r,lp:0:3,5:3|",
    "Cl[C@H]1CC[C@…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@someonetookmyname
Comment options

Answer selected by someonetookmyname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants