可以使用openbabel 将表示相同化合物,不同smiles转化为InChI,然后再转回相同smiles来保持异构一致性
from openbabel import pybel
product ="OCC(N=C(O)c1cccc(O)c1O)=C(O)O"
pybel.readstring('smi',product).write('smi',opt=<
可以使用openbabel 将表示相同化合物,不同smiles转化为InChI,然后再转回相同smiles来保持异构一致性
from openbabel import pybel
product ="OCC(N=C(O)c1cccc(O)c1O)=C(O)O"
pybel.readstring('smi',product).write('smi',opt=<