Created
March 21, 2024 21:26
-
-
Save whitead/46466c25fa81c0c73b1120f06e63fb6c to your computer and use it in GitHub Desktop.
Randomize SMILES
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rdkit.Chem import MolFromSmiles, MolToSmiles | |
smi = "..." | |
MolToSmiles(MolFromSmiles(smi), canonical=False, doRandom=True, isomericSmiles=True, kekuleSmiles=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment