Skip to content

Branched glycans and AllChem.EmbedMultipleConfs #4623

Answered by dehaenw
xavioist asked this question in General
Discussion options

You must be logged in to vote

issue #3323 might be helpful.

my_mol = Chem.MolFromPDBFile("/tmp/Branched-medium-glycan-not-working.pdb", sanitize=True, removeHs=False)
my_mol.RemoveAllConformers()
cids = AllChem.EmbedMultipleConfs(my_mol,numConfs=100, maxAttempts=500,randomSeed=0,useRandomCoords=True)
print(len(cids))

gives
100
without the randomSeed and useRandomCoords arguments it gives
0

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xavioist
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants