Last active
October 23, 2023 11:16
-
-
Save ptosco/aa51700b3fcafa6e0629a638e1f1cc0a to your computer and use it in GitHub Desktop.
CrossBonds
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"id": "77f84f35-3f9e-441d-8981-8a838eb9770d", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.386686Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.385482Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.641106Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.639817Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.386618Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"from rdkit import Chem" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"id": "eaa22804-a05b-42b0-83d2-617e90fc7e2e", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.644664Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.644239Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.651404Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.650541Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.644639Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"def print_bond_info(mol):\n", | |
" for b in mol.GetBonds():\n", | |
" print(f\"idx {b.GetIdx()+1} bi {b.GetBeginAtomIdx()+1} ei {b.GetEndAtomIdx()+1} \"\n", | |
" f\"type {b.GetBondType()} stereo {b.GetStereo()} dir {b.GetBondDir()} \"\n", | |
" f\"prop {list(b.GetPropNames(includePrivate=True, includeComputed=True))} \"\n", | |
" f\"_MolFileBondType {b.GetProp('_MolFileBondType')} \"\n", | |
" f\"_UnknownStereo {b.HasProp('_UnknownStereo') and b.GetProp('_UnknownStereo')} \"\n", | |
" f\"_MolFileBondStereo {b.HasProp('_MolFileBondStereo') and b.GetProp('_MolFileBondStereo')} \"\n", | |
" f\"_MolFileBondCfg {b.HasProp('_MolFileBondCfg') and b.GetProp('_MolFileBondCfg')}\"\n", | |
" )" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "1154b58f-5dee-40fa-8bb7-70894464a777", | |
"metadata": {}, | |
"source": [ | |
"# Example 1" | |
] | |
}, | |
{ | |
"attachments": { | |
"cdfb5fe3-187f-43b1-8b56-1d892d260e1c.png": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAGQAAABTCAYAAABpnaJBAAAF3UlEQVR4Ae2bL0z0MBjGkUgkimBIkEgEAkmCAYckwYBDIFCgCBJDgkSCgqCQSAwJkqBwIBEIZL/8lvSj17W7Xtvdurv3TS67df2359nb523XzSixohCYKao30hklhBT2EAghQkhhCBTWHfEQIaQwBArrjniIEFIYAoV1RzxECGkXgbu7O3V7e9tuIy3WPjEe8vX1pXZ3d9XCwoI6ODioQfbx8aFOT0/V09NT7VpJCb0n5Pf3V52fn6vl5WV1fX2t9vf31dXV1QDGr6+vanV1tSKEI/lLtV4Tcn9/XxFxfHysvr+/K4wfHx/VxsbGf7xvbm4qMvAgbevr68V6Si8JeXt7U4C6tbWlGIpsOzw8VCsrK1WenZ0dhReZ5vIi83qX/3tFCF4A2AxPw7SAYcqXh2Hr+fm5S9y9bfeGkIuLC7W4uKg4+oxhCY9AS3xGHuqxvYb8lEP4XV7nqy93evGEoAl4BJ6hdcIGQQs7QKMZTQbY5DON8hBJlAYhtNcVKcUSAiBoBAKNZvjMFHbXU+8qR50QjeEx6JFJJEMdaV1YcYTgBURNPKWA7TM0oknYfeVI18MWWoL4u/RkZqYbaLpp1YMW8weIYJ7ge9q1sAOkT7Q91deSIQJybINs6u/CiiAEYHhaCUddAGlgQoRd50054qGuySNDJxpjTzxT2rLLdkoI4COmw8LQEGG3byzl3DVPYfiknxCC+JOnDeuEEIYjbm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FiA262RReYg5H/Le/20Y/zDxm+Wn/H0WIBtQHngm2EOJDyZ0eRcioHgKBtpmk2dem+TyKENGQ9h6ZKELojkRZ7ZASTYjMQwojRHeHyR0awc8VBpPumgCSLjN1jeLfMdpD/qqQfzkREEJyopmhLiEkA4g5qxBCcqKZoS4hJAOIOasQQnKimaEuISQDiDmrEEJyopmhrn/IaXfCwym1iAAAAABJRU5ErkJggg==" | |
} | |
}, | |
"cell_type": "markdown", | |
"id": "52dec482-d1e2-4278-8ac1-0bf6a23acfe1", | |
"metadata": {}, | |
"source": [ | |
"### ChemDraw\n", | |
"![image.png](attachment:cdfb5fe3-187f-43b1-8b56-1d892d260e1c.png)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "503d2c4f-7f90-4c66-8a8f-128849a58e96", | |
"metadata": {}, | |
"source": [ | |
"### `double-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"id": "100e4ed0-129a-42c0-bbb9-78dceb293383", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.652366Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.652149Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.678904Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.677725Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.652346Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-2000.mol\n", | |
" ChemDraw10192311132D\n", | |
"\n", | |
" 4 3 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.7145 0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.0000 0.6188 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.7145 0.2062 0.0000 F 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.7145 -0.6188 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 2 0 0\n", | |
" 2 3 1 4 0\n", | |
" 1 4 1 4 0\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"id": "a1262a09-5beb-4494-9a68-8d0911d5070d", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.682153Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.681500Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.773399Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.772322Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.682107Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARJklEQVR4nO3deVRT174H8F/CYEAwYARlEidEbK1PvbWi4r2OtQWJAw6AAayrUBygPrVYb1fptXd5QRFXdelTrgsFBCniANbaRxUWfVS5rSNUUauiTIJMMhNCct4foQSVauCEhCTfz1/7hL3P+S3N+q4z7LPDYRiGAACgt7iaLgAAQLshRgEAWEGMAgCwghgFAGAFMQoAwApiFACAFcQoAAAriFEAAFYQo6AF4uLiNm/enJOTo+lCALrBwVtM0M95enqeO3dO3l63bl1ERIS5ublmSwLoCjEK/VdLS8tbb71VWFhIRGZmZk1NTQzD2NnZRURE+Pr6cjgcTRcIQISLeui3ysrKZs+eXVhYyOFwwsLCGhoafvnll+nTp5eWlopEoqlTp16+fFnTNQIQ4WwU+qcbN24IhcLi4uJRo0YdOHBg4cKF8s8ZhklNTd2yZUtRURGHw/Hy8oqKiho+fLhmqwU9hxiFfufEiRNr165taWlxc3NLTU21trZ+qUNTU9Pu3bsjIyNbW1tNTU23bt26bds2Ho+nkWoBiAHoN9rb28PCwuTfzMDAwLa2ttd0LioqEolE8s4ODg5xcXFqqxOgK5yNQn/R0NCwevXq9PR0Q0PD6OjojRs3KjMqKyvr008/zcvLI6LZs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BhsnHahcu2qQtIk1AqwcQXQiVbvT+Tio1LUhxJgMvjzcvM7n2r0t3SyQi8kffMQhxsPv7E74hLSMeF06WZXBW5MEaCACKst45MG1ejIzxJ9ceQYOiDsq5Mm99MzICDCTI10KvkIRcYioHgEPEVknCyPJUbDY/dQoq+MdPg588nCw4ls7ORv4sUXhn4xJyKFPVWxkHDpSKcwlKPTWdWoT7+IOE2RspR1ORwUm2pgAAAEx6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJzzd7Z1dlOo0dA10DM3NDHVAdJmhhYWOtYwAQM9IwMzIx1rAx2YDKqEZg0A3awN0Xe6RyQAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e716f20>" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 5, | |
"id": "4148b8f0-0c1e-49a8-aa46-e2fd3dbffd5e", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.775148Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.774710Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.890477Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.888643Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.775118Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 6, | |
"id": "c2e89309-b2a7-4cd7-b71d-f32bab7420ef", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.894701Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.893821Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.935868Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.934351Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.894640Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAWqklEQVR4nO3deVRU5/kH8OcOiMMmsiiCigZlM1ZFiQJ1iyAxgRq1JSmNoCkJPwUFba2gREFRAyJ2jMTlxBiRyEnUkCq1elQUCwpoXFgqiooguACDCI7gwCy/Py6FKRBlYGCcO9/Pycm5M7735TlH8s1d3oWRy+UEAADdxVN3AQAAmg0xCgDQI4hRAIAeQYwCAPQIYhQAoEcQowAAPYIYBQDoEcQoAECPIEZBA6SlpWGeCLyxEKPwRrt+/fr06dPnzp07b968pqYmdZcD0AnEKLyhqqqqgoKCXFxcMjMziSg3N1dXV7djs6NHj86ePXvIkCFOTk5r1qx58OBBn1cKWk8O8IZpamoSCAQmJiZE1K9fPy8vLyIKCAho10wqlX722Wftfp8tLCwyMzPVUjZoLVyNwpvl7Nmzzs7OK1asqKur8/T0vH79enBwMBFVVFS0a7ljx459+/YZGhru2bPn0aNHly9fnj9/vlAo9PHxefz4sTpqB22l7hwHaHH79m1vb2/219Le3p59rSSXy2traw0MDBiG+emn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X1jqBvMLfz9+k3KWdvMmBWTx/PBbAAAABWelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHic83e2dXZTqNHQNdAzNzQx1QHSZoYWFjrWMAEDPSMDMyMdawMdmAyqhKZOuZWhnoGOkZ5RDQByHQ/7bQB4BgAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e716f20>" | |
] | |
}, | |
"execution_count": 6, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 7, | |
"id": "4041c609-7443-4eae-ab75-3f74ba67a35a", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.945228Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.944343Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.966299Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.964728Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.945165Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "347e3afe-3363-49f7-91bd-6c15d5e72e14", | |
"metadata": {}, | |
"source": [ | |
"### `double-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 8, | |
"id": "3c28306f-4190-45aa-9304-e30363d68819", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.970203Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.969011Z", | |
"iopub.status.idle": "2023-10-23T11:11:56.994964Z", | |
"shell.execute_reply": "2023-10-23T11:11:56.993395Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.970141Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-3000.mol\n", | |
" ChemDraw10232310312D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 4 3 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.714435 0.206182 0.000000 0\n", | |
"M V30 2 C 0.000000 0.618744 0.000000 0\n", | |
"M V30 3 F 0.714435 0.206182 0.000000 0\n", | |
"M V30 4 O -0.714435 -0.618744 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 2 1 2\n", | |
"M V30 2 1 2 3 CFG=2\n", | |
"M V30 3 1 1 4 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 9, | |
"id": "8f318064-1bad-42ba-bbe2-116a4b12ddbd", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:56.998905Z", | |
"iopub.status.busy": "2023-10-23T11:11:56.998049Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.078487Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.077279Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:56.998829Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARKElEQVR4nO3da1RTZ74G8H/CxYBgwAjKTbwBQo911KktKqejotWKoIIXwADWVahX6rEW63KVGdtxQC2u6miVcVBAEAEVsNYeWmHsUGVab4UjqFVRbkK5yZ0Qkn0+hBJUxMAOCUme36c38d07z2pZz9o7efOGwzAMAQBAf3HVHQAAQLOhRgEAWEGNAgCwghoFAGAFNQoAwApqFACAFdQoAAArqFEAAFZQo6ABYmNjt27dmpOTo+4gAD3g4FtMMMh5enqeP39eNl6/fn1ERISpqal6IwF0hxqFwau1tfW1114rKioiIhMTk+bmZoZhbGxsIiIi/P39ORyOugMCEOGmHgat8vLy2bNnFxUVcTicsLCwxsbGn376acaMGWVlZUKhcPr06VeuXFF3RgAiXI3C4HTz5k0vL6+SkpJx48YdOnRowYIFsucZhklNTf3oo4+Ki4s5HI6Pj8++fftGjx6t3rSg41CjMOicOnVq7dq1ra2tbm5uqamplpaWz01obm7eu3dvZGRkW1ubsbHxtm3btm/fzuPx1JIWgBiAQaOjoyMsLEz2lxkcHNze3t7L5OLiYqFQKJtsZ2cXGxurspwA3eFqFAaLxsbG1atXZ2Rk6OvrR0VFbdq0SZGjsrOzP/zww7y8PCKaPXv2/v37J0+ePMBJAZ6BGoVB4f79+56enoWFhQKBICUlZfbs2YofK5VKT548uW3btt9++43L5fr7++/bt+/FtwIABghqFNQvMzNz1apVdXV1r7/+enp6+pgxY/pxkrq6usjIyP3797e3t5uZmW3fvn3Lli2GhobKDgvwPNQoqFl0dPSGDRs6Ojo8PDwSEhKGDRvG5mx3797dunXrhQsXiMjR0TEqKmrRokVKSgrQM6wbBbURiUTvvfdeSEiIRCIJCwtLT09n2aFE5OTk9PXXX3/33XcuLi737t3z8PCYN29eQUGBUgID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DM3NDExNtUBsswMLcxNTHSsEYIGekYGQFEjHWsDHYQ8prSmTrmVoZ6BjpGeUQ0AZKwS0NkzyzAAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6350>" | |
] | |
}, | |
"execution_count": 9, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 10, | |
"id": "7d3edea7-d58f-40f3-9c0e-3016e8610d81", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.080962Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.080205Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.110868Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.109078Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.080927Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 11, | |
"id": "07f7b4ca-2720-41b0-9356-6353caa04466", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.114555Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.113863Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.157964Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.156766Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.114495Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAWpElEQVR4nO3de1QU5/kH8GfWFZeLAqIo4A0UEGNFxKhwJFpBqpFibEpSUiX+SkIMKGibCngDbwmImo0S0VZTCMqJ11Sp1eOVFCKgUWClYlARBFRgEcEVXNjL74+hsAFEFhbWnf1+Tk7O7PjOy3OO5JuZnffCKJVKAgCA7uJpuwAAAN2GGAUA6BHEKABAjyBGAQB6BDEKANAjiFEAgB5BjAIA9AhiFACgRxCjoANSU1MxTwReW4hReK3l5OS89dZbvr6+77zzTmNjo7bLAegAYhReU5WVlUFBQVOnTk1PTyei7OxsPp/fvtmxY8fmzp07fPhwJyenyMjIBw8e9HmloPeUAK+ZxsZGoVBoampKRP379/f29iaigICANs3kcvlHH33U5vd5yJAh6enpWikb9BbuRuH1cuHCBRcXl5UrV9bW1np5eeXk5AQHBxNRWVlZm5a7du3av3+/sbHx3r17Hz58ePXq1UWLFonFYh8fn0ePHmmjdtBX2s5xgGY///zzggUL2F9LBwcH9rWSUqmsqakxMjJiGOb48eMtjbOysgQCAcMwLc2USqVCofD19SWiqKioPi4e9BliFLSvpqYmPDzcwMCAiMzMzGJiYl68eKHaIDY2loj69evn7++fkJAQGhpqZGRERMHBwW26OnnyJBEtWLCgD8sHfYcYBW2Sy+VJSUmWlpZExOPxlixZUlFR0WFLoVCo+oqJYZhly5Y1NTW1aXbixAki8vHx6f3aAZp18OoToG+kpaWtXLkyLy+PiGbPni0UCp2dnV/WOCws7P333z969Oh///tfKyurhQsXTp48uX2z77//nohcXV17r2yANhglRjVDn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": 11, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 12, | |
"id": "ee02cdf7-7c66-4021-876a-50cdd4e8220c", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.160361Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.159724Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.195259Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.193447Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.160322Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "acbbea8f-1f13-4fa8-92be-2dca10f8d3cd", | |
"metadata": {}, | |
"source": [ | |
"### `double-explicit-crossed-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 13, | |
"id": "eb7398e4-2742-425f-ac64-071c9bacf72d", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.199258Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.198431Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.227239Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.225690Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.199197Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-explicit-crossed-2000.mol\n", | |
" ChemDraw10232310432D\n", | |
"\n", | |
" 4 3 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.7144 0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.0000 0.6187 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.7144 0.2062 0.0000 F 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.7144 -0.6187 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 2 3 \n", | |
" 2 3 1 4 \n", | |
" 1 4 1 4 \n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 14, | |
"id": "dd5eca96-6e91-4799-97b4-579dff04888c", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.231334Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.230490Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.282585Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.281261Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.231272Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARH0lEQVR4nO3de1BTZ94H8F/CxYBgwAgKAbwChantqltXLNrVqmsVgdWUCjQIdQoVqtgXLdbZqbvstos3nFJrFVvkUrmJglhraytolyrrO6KFV1BHRbkJcpO7ISTn/SOUoFIMnEBI8v389SQ+5+Q7LfOdc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NmUFSUctlTQwOdOdP/fA6HRCI6eJDGjx+xjAC6Cjf1uoLDoe3bqaSEQkPJxuZ3p5mY0KpVdOkSZWSgQwHUgsMMbWcgGM0YhoqK6NIlqq2l+nqSSMjKiqysyMWFXnuNeLznn6G+nsrLe8b29v3vQ/qs7m4qKuoZm5uTo+OQ0gNoGdQoAAAruKkHAGAFNQoAwApqFACAFdQoAAArqFEAAFZQowAArKBGAQBYQY0CALCCGgUAYOX/ARFv0gzEiV0/AAAAeXpUWHRyZGtpdFBLTCByZGtpdCAyMDI0LjAzLjFwcmUAAHice79v7T0GIOBnQAAWIGYG4gZGNoYMEJsZweBkUAAyGDkgfEZGbgZGLSZGBkYmIE9BBKRb3AqkAG7W60dm+yXUgu1gAgrJcvYgGihuDxMHqQGK7wexxQAdsRHcDsSrVwAAAN16VFh0TU9MIHJka2l0IDIwMjQuMDMuMXByZQAAeJyNUEsKgzAQ3ecUc4HImAStiy7ql1JMoLU9QNWFYLFUCz1+E4uNQpHOZODl8eZlJlX3vLY1rV/3timbgZaPru/rijJEdG5dS8DEMT40A3yDxUTzuHKCIIAL1x4kBwMgTLK9hKjYhRMTqbMsTiCA6w6dS+WuUPnEuBABRcd3hUAtdBh6bAQ4hm1lWmhZx3M3/k8dhxT+8ROgZg/TFcdExouRP0uESsZ2CTZWlGZbZgc2FLdzuTrF3HRuYe7TD2pM3oi9WjtbTCgPAAAATHpUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nPN3tnV2U6jR0DXQMzc0MdEB0maGFuY61jABAz0jAzMjHWsDHZgMqoRmDQDdCA3MCN+AhgAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6660>" | |
] | |
}, | |
"execution_count": 14, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 15, | |
"id": "2644b546-e143-4463-b163-238eba2bc7d4", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.285472Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.284809Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.311104Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.309513Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.285430Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 16, | |
"id": "222aa460-8e88-4df9-9de8-c83d2298fce3", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.315012Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.314151Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.391272Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.390053Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.314950Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAW3UlEQ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CALkGMAgB0CWIUAKBLEKMAAF2CGAUA6BLEKABAlyBGAQC6BDEKANAliFEAgC75P6zs3vqdqN9aAAAAfnpUWHRyZGtpdFBLTCByZGtpdCAyMDI0LjAzLjFwcmUAAHice79v7T0GIOBnQAAWIGYG4gZGNoYMEJsZweBkUAAyGDkgfEZGbgZGPSZWRgZGJhY2BmYVNhGQAeJWIDVw414/MtsvoRZsBxNQSJazB9FAcXuYOEgNUHw/iC0GADcPEfk0R/z3AAAA4XpUWHRNT0wgcmRraXQgMjAyNC4wMy4xcHJlAAB4nI2QSwqDMBCG955iLhDJC62LLmp8UIoGWtsDVF0IFku10ON3YrFRKNJJApOPf/6ZpOqe17Ym9eveNmUzkPLR9X1dEU4pdW9d64CJY3RoBvgGjxzkdGUHQQAXgR5OBiaBME73OahiF05E6XNenECCwApcS+Wu0NlEGCgg1PWZlBSFLqceHxM6hi3lKLTU9djG/6kTkMA/fhL0rDFZcYzzaDHy5xGhziP7CD4elaRbbgc2SCyhQMiw9wKaBnM7c59+E3PnDeHOXPm1MAErAAAAVnpUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nPN3tnV2U6jR0DXQMzc0MdEB0maGFuY61jABAz0jAzMjHWsDHZgMqoSmTrmVoZ6BjpGeUQ0AcUcP9iXAN/sAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6660>" | |
] | |
}, | |
"execution_count": 16, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 17, | |
"id": "8dee994b-f848-4cd8-ad18-891ec79d44e8", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.394045Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.393474Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.420267Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.418684Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.394010Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "397a746b-fa3a-4450-99db-ffa2d0614ebf", | |
"metadata": {}, | |
"source": [ | |
"### `double-explicit-crossed-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 18, | |
"id": "ad84db21-d9e9-4dcd-adf4-2b66f09e611b", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.424114Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.423284Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.447535Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.445811Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.424054Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-explicit-crossed-3000.mol\n", | |
" ChemDraw10232310422D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 4 3 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.714435 0.206182 0.000000 0\n", | |
"M V30 2 C 0.000000 0.618744 0.000000 0\n", | |
"M V30 3 F 0.714435 0.206182 0.000000 0\n", | |
"M V30 4 O -0.714435 -0.618744 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 2 1 2 CFG=2\n", | |
"M V30 2 1 2 3 CFG=2\n", | |
"M V30 3 1 1 4 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 19, | |
"id": "b0d90afe-d487-42da-96c9-89bc0107d50a", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.451525Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.450708Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.495425Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.494216Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.451465Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARKElEQVR4nO3da1RTZ74G8H/CxYBgwAjKTbwBQo911KktKqejotWKoIIXwADWVahX6rEW63KVGdtxQC2u6miVcVBAEAEVsNYeWmHsUGVab4UjqFVRbkK5yZ0Qkn0+hBJUxMAOCUme36c38d07z2pZz9o7efOGwzAMAQBAf3HVHQAAQLOhRgEAWEGNAgCwghoFAGAFNQoAwApqFACAFdQoAAArqFEAAFZQo6ABYmNjt27dmpOTo+4gAD3g4FtMMMh5enqeP39eNl6/fn1ERISpqal6IwF0hxqFwau1tfW1114rKioiIhMTk+bmZoZhbGxsIiIi/P39ORyOugMCEOGmHgat8vLy2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AFdQoAAArqFEAAFZQowAArKBGAQBYQY0CALDy//HlzBXptDd0AAAAeXpUWHRyZGtpdFBLTCByZGtpdCAyMDI0LjAzLjFwcmUAAHice79v7T0GIOBnQAAWIGYG4gZGNoYMEJsZweBkUAAyGDkgfEZGbgZGLSZGBkYmIE9BBKRb3AqkAG6W2VOz/QmKwXYwAaY0OXsQDRS3h4mD1ADF94PYYgDt9xAWcMNXkgAAAN96VFh0TU9MIHJka2l0IDIwMjQuMDMuMXByZQAAeJyNUEEOgjAQvPOK/UCbpa0iBw9AgRhDSRR9gMCBBIMRTHy+LQYLiTHudpPpZHa626p7XNqa1M9b25TNQMp71/d1RTgi0mvXOmDiIPfNAJ9g0tE8/ji+78PZeDgZGABhnO4UREUQTkyUn1RxBAFcd+hcKoMizybGhQgIUs8Vgq8AKcO1u2Ea4Bi2lWmhZalWeUJ80XFI4B8/AfnsYfLDMVZyMfJ7iTBX0i7BxoqSdMvswIbidi5Xp5ibzi3MffpBjZ0Xt9xads01tmEAAABfelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHic83e2dXZTqNHQNdAzNzQxMTbVAbLMDC3MTUx0rBGCBnpGBkBRIx1rAx2EPKa0pk65laGegY6hnqGOkZ5RDQCwgBOMcEZ4bwAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6900>" | |
] | |
}, | |
"execution_count": 19, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 20, | |
"id": "28ce7645-8132-4579-bf87-8ee3448af9c5", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.498849Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.497515Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.521147Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.519545Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.498808Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 21, | |
"id": "80bc6d82-6b36-41ea-aa7a-033067470f15", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.525088Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.524252Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.682075Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.680854Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.525027Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAW4klEQVR4nO3deVgTdx4G8O+ECEHQgFEEpKAoImzrRQ9QeHQ9WA+EeuDBmoDLFm99un8U9bGPiu4uYqt9lFVhPQAVFRFEa/XBKlpdBZRyqKDUAxW0EZASqVw59o/whBRRwUCGTN7P06fPZPxN8qL27Uxm5jeMSqUiAAB4Xzy2AwAAGDbUKACATlCjAA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jQuMDMuMXByZQAAeJx7v2/tPQYg4GdAABYgZgbiBkY2hgwQmxnB4GRQADIYOSB8RkZuBkY9JlZGBkYmFjYGZhU2EZAB4lYgNXDjzJ6a7U9QDLaDCTClydmDaKC4PUwcpAYovh/EFgMAB2QQM1ZUoFkAAADjelRYdE1PTCByZGtpdCAyMDI0LjAzLjFwcmUAAHicjZDRCoIwFIbvfYrzAhtzW5kXXahTiVChrAdIvRAMIw16/M4Mm4OIzjY4+/jPf85W949L15Dmeevaqh1Jde+HoamJYIzRa985oOOg9u0In+DKQc5+bN/34aw9nAx0AmGc7nKIyiCcSVSc8vIIEgRW4LKVQVlkM3EhAsKo50opVsAoZ2t3wzFhU5hSjkJDKao8Kb/oBCTwj5+EYtGY/HCMc2WN/H5EWOTKPIJPJ0rSLTcDayRsKBC62NuCusHSTt/n38TceQETwF00IVVVOwAAAF96VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJzzd7Z1dlOo0dA10DM3NDExNtUBsswMLcxNTHSsEYIGekYGQFEjHWsDHYQ8prSmTrmVoZ6BjqGeoY6RnlENALCAE4xwRnhvAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6900>" | |
] | |
}, | |
"execution_count": 21, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 22, | |
"id": "87f8ff9d-2fb9-4643-ab9a-90a26bbe38bc", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.694234Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.693642Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.707774Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.706730Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.694199Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "a2e5f17e-7a5d-414c-933f-7941d367418a", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "d7225ab8-7061-42d7-a6d9-e4036f8ba4ff", | |
"metadata": {}, | |
"source": [ | |
"# Example 2" | |
] | |
}, | |
{ | |
"attachments": { | |
"88b054a0-d11e-4493-9466-c668aa4f4896.png": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAIsAAABcCAYAAABeIkZoAAAGfUlEQVR4Ae2dIUz8PBiHkUgkEnMJEolEIsFhSEgQIBEIHIogMZcgEQgkQSGRmEuQBIUDiUAg98+z7yvZytrrdtvd2v2aXO62dd3665O37/teb7eUqUiBQAWWAuupmhTIBIsgCFZAsARLpYqCRQwEKyBYgqVSRcEiBoIVECzBUqmiYBEDwQoIlmCpVFGwiIFgBQRLsFRxV3x4eMjG4/Gf12QyCe6YYAmWKu6Ku7u72Wg0EixxD+N87h5YeM1SZFlmUS+icwVLRIO16FutmobwY+oUWZY6akVcV7BEP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0ISb6Fipl6veRgIcQFEBZDHx0dOccvNPnmbGCAB5KDBVCIYphyqpYuhibfBsjC1C4nBQtOLL5JsRSnIJOi9yXfiufqc1mBpGABBhJsdgEYIiFf8s0+R9t/FUgKFqaeqmesAYsv+fZXFu2pUiA6WFhYxHPUsBRVAExboFQlgvaFKRAVLObhwITFgAIYxcXS7OcLQVc+JUwS1XIpEBUs9pMZiWxYd2IeW8Ev/IqP1XJ1WvubKRANLFiNlZWVytX0wELILFCaQRB6VjSw0CEysr61sKGdVr1mCvQKFr7HIZrh4XpVITCWI7bfBzcbln6e1RtYcEpZOmDWvZIzYWrBLzGFSIjf5KgsRoHewAIEwFAs5htjMq4cBx6VxSnQG1hcUwyWhhS+sq+Lg8RcuTewkDch0abSXwW8sEwmk/zv6O3bZ3/Vv2J9fHxkt7e3+Tkc//7+Lp2Kc4rzSuKs+AWfqYRzq4SaUaN/715YxuNxPrj2bbOf/9wrFuAAhNPT0xwWjrP99vb2W804q0wtZF+LYTCWBQeXfIpKPxVoBRaAAAzb2mBl2I/FsQtQkDfB2pBU03c6tkL9224FFqzJ4eFhZe9Go1E+NVUezLI86wosqTzDxNXPFPYHwcK0U3zZf/sKEByvKhcXF3+mrKp62td/BVqBhanGBQv7bf+m/7LoDqsUCILFPtEGQJbFVijN7VZgmcVnSVPWNHvVCixNoqE05Uy7V63AgkQheZa0pUy/d15Y6mZwydj6Mrjpy5l2D72wpN119a6uAoKlrmIDri9YBjz4dbsuWOoqNuD6gmXAg1+364KlrmIDri9YBjz4dbsuWOoqNuD6gmXAg1+364KlrmIDrv8PlMVQhev5R0IAAAAASUVORK5CYII=" | |
} | |
}, | |
"cell_type": "markdown", | |
"id": "e441fa11-0d9a-47af-9cc1-95002979410b", | |
"metadata": {}, | |
"source": [ | |
"### ChemDraw\n", | |
"![image.png](attachment:88b054a0-d11e-4493-9466-c668aa4f4896.png)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "d2d88ef2-54cc-40dc-88a0-c95ccf0c827d", | |
"metadata": { | |
"tags": [] | |
}, | |
"source": [ | |
"### `double-2-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 23, | |
"id": "cddafc08-fe93-43a5-8e4c-f9e22a294028", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.709804Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.709240Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.781803Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.780041Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.709770Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-2-2000.mol\n", | |
" ChemDraw10192311332D\n", | |
"\n", | |
" 4 3 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.3572 -0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.3572 0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1.0717 0.6188 0.0000 F 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -1.0717 -0.6188 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 2 0 0\n", | |
" 2 3 1 4 0\n", | |
" 1 4 1 4 0\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 24, | |
"id": "83cd8879-6734-4fed-9346-86fcbd8f2d3e", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.786107Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.785148Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.835985Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.834662Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.786045Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAAC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g==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d65f0>" | |
] | |
}, | |
"execution_count": 24, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 25, | |
"id": "39d0c7e3-deed-4262-9249-6218c3a2769b", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.838415Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.837978Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.867054Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.865222Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.838376Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 26, | |
"id": "6e692bc9-bf7d-4bc4-a78a-074cdcc67f80", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.870845Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.870162Z", | |
"iopub.status.idle": "2023-10-23T11:11:57.912216Z", | |
"shell.execute_reply": "2023-10-23T11:11:57.911001Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.870785Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAT9ElEQVR4nO3deVBT5/oH8IeEXREioCwtIAoqYttbXIrSa91qSlVQgbiwiEpca1ud1uJ0tJ2Ot1drf3fqBVlEUQJeQOvSomLdcBSLCFgXRKUuiCgGWaMsAZLfHwdDpEWBJBxCvp/xj3PenPP6MOh33pNz3vPqyeVyAgCAruKwXQAAgHZDjAIAqAQxCgCgEsQoAIBKEKMAACpBjAIAqAQxCgCgEsQoAIBKEKMAACrRZ7sAAOiiSxJJYW1tp06ZzOMNNDTUUD06CzEKoK1OVVbuLyvr1CkupqaIUbXDRT0AgEowGgXoDZyMjY05rx8V9eFyu6EYXYMYBegNvnFycu/Th+0qdBQu6gEAVIIYBQBQCWIUAEAliFEAAJUgRgEAVIIYBQBQCWIUAEAleG4UoDfYXVrK03/Vf+eBhoZLbG27rR6dghgF6A0yqqpefYCLiQliVENwUQ8AoBKMRgF6Aw8zs36vnC9va2TUbcXoGsQoQG/wib095tSzBRf1ANqhoqKi6nVfgAIrEKMAPd3Zs2fHjRtnZWXF4/EcHR1FIhHbFcFLcFEP0KMdPXp01qxZUqnU3NzcwMDgwYMHwcHBYrF47dq1bJcGLTAaBei5mpub165dK5VKw8PDxWKxWCzeuXMnh8PJysqSyWRsVwct9ORyOds1AMDfy8nJGT169JAhQ27dusV58XL727dvu7q6EtG/HzxQrMW0e9gw3GJiC0ajAD1XXV0dEQ0YMICjtEAIk6HQcyBGAXoud3d3fX39nJyckpIStmuBdiFGAVgmk8kyMzNPnjx58+bNNh/xeDx/f3+pVLpt2zZWaoOOQIwCsOnMmTNOTk5eXl5Tp04dPnz4Rx99VPby0vMrV64koqNHj7JUILweYhSANRcvXuTz+cXFxSNGj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EAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d65f0>" | |
] | |
}, | |
"execution_count": 26, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 27, | |
"id": "3c6b7ecd-861d-4513-8dad-27c65a72cefe", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:57.915005Z", | |
"iopub.status.busy": "2023-10-23T11:11:57.914526Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.027684Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.026087Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:57.914964Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "0a1d2c2c-e1f8-4848-8dd6-9f0ade22eaf4", | |
"metadata": {}, | |
"source": [ | |
"### `double-2-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 28, | |
"id": "ef4bcf86-ecbb-4a9c-a23b-790e6e1cab7a", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.031815Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.030572Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.055009Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.053015Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.031754Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-2-3000.mol\n", | |
" ChemDraw10232310312D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 4 3 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.357168 -0.206181 0.000000 0\n", | |
"M V30 2 C 0.357167 0.206182 0.000000 0\n", | |
"M V30 3 F 1.071603 0.618744 0.000000 0\n", | |
"M V30 4 O -1.071603 -0.618744 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 2 1 2\n", | |
"M V30 2 1 2 3 CFG=2\n", | |
"M V30 3 1 1 4 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 29, | |
"id": "429d8006-ca7c-45fa-8c56-3923c725337b", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.059098Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.058210Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.094616Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.093390Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.059036Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD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uQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6c10>" | |
] | |
}, | |
"execution_count": 29, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 30, | |
"id": "1af1d0d4-593c-471c-bbc3-3ed8f355e25c", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.097232Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.096492Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.119477Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.117978Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.097193Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 31, | |
"id": "24a31b1b-ac77-4c1d-966a-5a15a41efade", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.123580Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.122703Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.161350Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.160139Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.123519Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAT5UlEQVR4nO3deVBT5/oH8IeEJaAIAUQWqwgSRbHtleuC0lt3EddSNpVFVBCX2rHOVGQ62pmOt5U6v453LLIoKhEqaF0RqQraa7EoIG0VUblaFkV2AlG2SPL7IzFEWhWycAj5fsY/Tt6c8/ow6Hfes7zn1ZNIJAQAAMpiMV0AAIB2Q4wCAKgEMQoAoBLEKACAShCjAAAqQYwCAKgEMQoAoBLEKACAShCjAAAq0We6AABQUp5QWNLS0qtD5nC51oaGGqpHZyFGAbRVVmPjidraXh3CMzFBjKodTuoBAFSC0SjAQODA4XBYbx8VmbDZfVCMrkGMAgwEXzo4uA4axHQVOgon9QAAKkGMAgCoBDEKAKASxCgAgEoQowAAKkGMAgCoBDEKAKASPDcKMBAcrqri6r/pv/MwQ8O1trZ9Vo9OQYwCDARXBYI378AzNkaMaghO6gEAVILRKMBA4GZqOuSN8+XtjIz6rBhdgxgFGAg+sbfHnHqm4KQeQDs0NDQI3nYBFBiBGAXo765evTpt2jRLS0sul+vg4MDn85muCF6Bk3qAfu38+fPe3t4dHR3m5ub6+vplZWXBwcG1tbWfffYZ06WBDEajAP1XZ2fn1q1bOzo6oqKiqqura2pqDhw4wGKxcnNzxWIx09WBjJ5EImG6BgD4e3l5eZMnT3Z2dr537x7r5cvtHzx4wOPxiOib8nL5WkyHx47FLSamYDQK0H+1trYSkbW1NUthgRBphkL/gRgF6L9cXV3ZbHZ+fn5lZSXTtcBrIUYBGCYWi3Nyci5fvvzgwYNuX1lYWPj6+ra3t+/du5eR2qAnEKMATMrOznZwcPDw8Jg7d+6YMWO8vLzq6uoUd9i0aRMRZWRkMFQgvB1iFIAxubm5np6eFRUV48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ZKRjDdUJ16ipU24FFNMx0jOqAQCvOxObgLT40gAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6d6c10>" | |
] | |
}, | |
"execution_count": 31, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 32, | |
"id": "9e61f9d7-0bbd-4c71-abb5-412f3b7c8745", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.163717Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.163061Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.188260Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.186477Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.163678Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "df71a331-fa3a-440d-8b1d-099904e6ade1", | |
"metadata": { | |
"tags": [] | |
}, | |
"source": [ | |
"### `double-2-explicit-crossed-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 33, | |
"id": "49ae2129-85f6-42dc-8aef-f0dd351c6ed6", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.192309Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.191451Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.219769Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.218227Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.192249Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-2-explicit-crossed-2000.mol\n", | |
" ChemDraw10232310432D\n", | |
"\n", | |
" 4 3 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.3572 -0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.3572 0.2062 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1.0716 0.6187 0.0000 F 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -1.0716 -0.6187 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 2 3 \n", | |
" 2 3 1 4 \n", | |
" 1 4 1 4 \n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 34, | |
"id": "52a2ecef-0f77-4b67-9d56-6ce18efd5790", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.223703Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.222844Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.297576Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.296383Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.223642Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARNUl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AABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df0b0>" | |
] | |
}, | |
"execution_count": 34, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 35, | |
"id": "8906cd4b-071b-410c-bcd0-84ec01726a94", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.299744Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.299299Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.323687Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.321967Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.299711Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 36, | |
"id": "01b6d3dd-472f-4f3c-9c6a-0e91ef4ba362", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.327786Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.326938Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.365705Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.364516Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.327725Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAUXElEQVR4nO3deVRUZR8H8B/MsBPIIqsFoiABvR00BRzoNcUCX0M7svS6YeWWuZsaakqpnJDqYOaSUhwKelVcKoQgUSRmBAFBj4a4kYHLOCC7LMMs7x9DMyOpgDNwGeb7Ofxx57nPHX8cjt/z3Pvc+1wdqVRKAADwrHSZLgAAQLMhRgEAVIIYBQBQCWIUAEAliFEAAJUgRgEAVIIYBQBQCWIUAEAliFEAAJWwmS4AAJ5RcVPTtdbWXh0SOGSIjb5+H9WjtRCjAJrqVF1danV1rw5xNTJCjKodTuoBAFSC0SjAYOBkaGik2/2oyITF6oditA1iFGAwiHZ2fsnEhOkqtBRO6gEAVIIYBQBQCWIUAEAliFEAAJUgRgEAVIIYBQBQCWIUAEAluG8UYDBI4vMt2U/772yrr/+evX2/1aNVEKMAg8GZ+vqnd3A1MkKM9hGc1AMAqASjUYDBYMxzz5k99Xl5ewODfitG2yBGAQaDpY6OeKaeKTipB9AMtbW19d1dAAVGIEYBBrrc3Nzx48dbW1tbWFg4OTn98MMPTFcEj8BJPcCAlpGR8dZbbwmFQnNzcz09vcrKyrlz5woEgjVr1jBdGnTCaBRg4BKLxWvWrBEKhVFRUQKBQCAQfPvtt7q6ugUFBRKJhOnqoJOOVCplugYAeLzi4uKxY8eOHDny6tWrun8vbn/t2jU3Nzciiq2slL+LKdHdHVNMTMFoFGDgam1tJSIbGxtdpReEyDIUBg7EKMDA5eXlxWazi4uL79y5w3Qt8ESIUQCGSSQSHo+XnZ1dXl7eZZeFhUVYWJhQKNy5cycjtUFPIEYBmJSTk+Ps7Ozv7z958uQXX3wxODi4+tFXzy9dupS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0P9NNdlQd0hrUAAABcelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHic83e2dXZTqNHQNdQzMDc009E10DMztDDXsQYyjE3NjUACRgZmRjrWUD6MC1UPVa6pU24FFNEx0jOqAQDRYxEh2hrj0wAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df0b0>" | |
] | |
}, | |
"execution_count": 36, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 37, | |
"id": "f89bdb7f-b794-445b-877f-9456209ade2d", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.368249Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.367500Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.391935Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.390263Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.368211Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "9dabd8e1-29f4-4949-ae85-d90d8caf7160", | |
"metadata": { | |
"tags": [] | |
}, | |
"source": [ | |
"### `double-2-explicit-crossed-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 38, | |
"id": "965f25ae-581c-4b9b-aebe-bb58182713b8", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.395875Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.395025Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.439319Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.437745Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.395814Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"double-2-explicit-crossed-3000.mol\n", | |
" ChemDraw10232310422D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 4 3 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.357168 -0.206181 0.000000 0\n", | |
"M V30 2 C 0.357167 0.206182 0.000000 0\n", | |
"M V30 3 F 1.071603 0.618744 0.000000 0\n", | |
"M V30 4 O -1.071603 -0.618744 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 2 1 2 CFG=2\n", | |
"M V30 2 1 2 3 CFG=2\n", | |
"M V30 3 1 1 4 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 39, | |
"id": "a6029e6c-d221-45e3-9ed5-c659703d7271", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.443240Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.442537Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.559808Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.557984Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.443179Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARSklEQVR4nO3deVSTZ74H8F8CBMImCLKIuE3dqtUB2SpgxdFzqqJz51adzsHinWN7rbdKoIWKbW2xag8gHhK8LlXbKa1He9S5Z1qQ2pHrlsSF4MKtgFYUasouOySEJe/9IxkCVhQIyZvl+zn+8STv4s+jfH3e533e5+UwDEMAADBSXLYLAAAwb4hRAAC9IEYBAPSCGAUA0AtiFABAL4hRAAC9IEYBAPSCGAUA0AtiFABAL7ZsFwAAIyRra7uvUAzrkCXu7l48noHqsVqIUQBz9b9NTafr64d1yHRHR8ToqMNFPQCAXtAbBbAEkx0cHLjP7xU52tgYoRhrgxgFsAQpkyfPcXJiuworhYt6AAC9IEYBAPSCGAUA0AtiFABAL4hRAAC9IEYBAPSCGAUA0AvmjQJYgq9qatxtn/Xj7M3jvenra7R6rApiFMASXGxufvYO0/l8xKiB4KIeAEAv6I0CWIL5Li6uz3xefry9vdGKsTaIUQBLsMXPD8/UswUX9QAAekGMAgDoBTEKAKAXxCiAObnc0vJGaWlzTw/bhYAObjEBmIcHSuVeubygrY2ITtbX/ycmgZoMxCiAqWvt7T1cVXWqvr6XYVxtbN4aP37tuHFsFwU6iFEA09XLMN81NBysrGzq6bHhcP7d03OTn9+zH/oE48PfB4CJkrW17ZXLy5RKIgp2cXnP3/8FPp/touApEKMAJkeuUu2vrMxvaiIif3v7d/z8lri7s10UDAoxCmBClGr1NzU1X9XUdDEMn8t9w9v7P3x8eEN4czKwCDEKYBIYoryGhqzKyobubg7Rcg8PgZ+fh50d23XB8yFGAdhX3NGxVy7/v44OInrRySnR33/uEB6QH2Nr68Pjado8DsewJcLgOAzDsF0DgP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+b+FnybhsIVsIthFazkMbCQ1zCXI9bjpuIW5d19IufUDzCRbGBqX1lMAAABpelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHic83e2dXZTqNHQNdQzMDc009E10DMztDA3MdGxBjKNTYFiFiBBIwOgsKGONVTMXAcqZKRjDdUJ16ipU24FFNMx1DPUMdIzqgEA/jsUV2kSOBUAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df430>" | |
] | |
}, | |
"execution_count": 39, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 40, | |
"id": "39eaf8a3-2c3b-41aa-b744-c1a17b1397a6", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.563448Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.562705Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.653611Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.652057Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.563386Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 41, | |
"id": "6bd67b86-4377-4ed5-b32f-7186473b6145", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.657679Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.656791Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.738652Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.737358Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.657616Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAUaUlEQVR4nO3de1RU5foH8Ie54IAoV5ERU0QZ1PB0xATkUl6wEM1cBghBmlmpS0PJUkSPsjJT0X7KqUjUzLylaGUJSIGIZ5gaAQVXKBhpKIbcrwoOw8z8/phpGCnlMgybYb6fxR979n73+LBYfte797v3+xopFAoCAIDuYjFdAACAfkOMAgBoBTEKAKAVxCgAgFYQowAAWkGMAgBoBTEKAKAVxCgAgFYQowAAWuEwXQAAdFN2Y2NRU1OXTvG1tLQ1NtZRPQYLMQqgr87X1p6urOzSKQJTU8Roj8NFPQCAVtAbBegPHHg8HqvjXpEpm90LxRgaxChAfxDt4OAycCDTVRgoXNQDAGgFMQoAoBXEKACAVhCjAABaQYwCAGgFMQoAoBXEKACAVvDcKEB/cKiszJLzpP/OQ42N3+Tze60eg4IYBegPMurqntxAYGKCGNURXNQDAGgFvVGA/mDSoEGDn/i+/LABA3qtGEODGAXoD96xt8c79UzBRT2Afqipqanr6AYoMAIxCtDXZWRkeHp6WltbW1paOjg4HDlyhOmK4BG4qAfo05KSkubPn9/S0mJhYcHhcG7fvr1w4cLKysp3332X6dJABb1RgL5LJpOtWbOmpaUlKiqqvLy8oqLiwIEDLBZLLBbL5XKmqwMVI4VCwXQNAPDPsrOz3dzcnJycCgsLWX9Nbv/bb78JBAIi2n7njnotpkNjx2KIiSnojQL0Xc3NzURka2vL0lggRJmh0HcgRgH6LhcXFzabnZOTU1paynQt8FiIUQCGyeVykUiUlpb222+/tTtkZWUVGBgokUhiY2MZqQ06AzEKwKT09HQHBwdvb++ZM2c6Ozv7+/tXVVVpNli5ciURJScnM1QgdAwxCsAYsVjs5+dXUlLy9NNPz50719LS8ty5cy+88IJEIlG3cXBwIKLa2lrGqoSOIEYBGLNp0yapVBoREfHrr79+//33BQUFAoEgNzc3MjJS3eb48eNE5OLiwlyZ0AE88ATADKlUampqSkR1dXUD/3pWKScnx9PTUyqVBgcHT5s27cqVK/v375fL5RcuXJg6dWq7b/i8tDSpulq5/X+jRwtMTXuxfGiDGAVghkwm4/F4CoWioaHBVCMBExISFi9e3NTUpPzIZrNjY2NXrFjBUJnQMcQoAGO8vb1FItG+ffveeustzf137tw5duxYWVmZjY1NcHCwk5MTUxVCZyBGAXSooaHhu++++/PPP62srObNm2dnZ6d5NCEhYcGCBePGjbt+/TpTFYL2EKMAunL+/PmAgAD17HaDBg06cOBAUFCQuoFMJrOxsamrqysvL7e1tWWoTNAWRuoBdOL27duzZ8+uq6ubMWPG1q1bX3rppcbGxldffVUkEqnbsFgsHo9HRC0tLcxVCtpCjALoRExMjEQief3111NTU6Oion744Yd169bJZLKFCxeWl5cr2xw8eLCsrMzR0XHYsGHMVgvawEU9gE64ubllZ2eLxWJ3d3flHqlU6uXllZ2dbWtrO2fOnLKyspSUFLlcfvTo0dDQUGarBW2gNwqgE4MHDyYidceTiLhcbnJy8vTp0ysqKg4ePJicnGxsbBwXF4cM1XfojQLoRExMzLp161588cWUlJR2hy5dunTr1i0Wi+Xn52dubs5IedCDEKMA3XT79u1Dhw5duXLFzMzM398/JCREc1bQurq6ESNG3L9/v6ioaPTo0QzWCbqGGAXojrS0tICAgPr6evUePz+/b7/91sTERL1n/vz533333cmTJzUfcoL+B/dGAbqssbExODi4vr4+ICAgMTExPj7ezs4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YULHmqMARJFDyCwIMFgBBOP7xR5SEKcdpLpn29ezevXrSq44sX7UZVZ2fLsWTdNkXONiOJeVwyMncJj2cJoKmSk45/rui5cTQ0WgQnA3+4PMQSp5w9KkFzi9AwWaMqgMye9NIkGRUIAHIVe2XLtmEjhWjoSUGBnU64isgdt6Dm1wGnYgRRIGFJ3QZRtWQucBQnwEeR/yG0czmb+buEncThtoToPdvuNmgY2kp6LmkRJvWeiafBbzryH76SYfQAvoF3WS4wLwgAAAGl6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJzzd7Z1dlOo0dA11DMwNzTT0TXQMzO0MDcx0bEGMo1NgWIWIEEjA6CwoY41VMxcBypkpGMN1QnXqKlTbgUU0zHUM9Qx0jOqAQD+OxRXaRI4FQAAAABJRU5ErkJggg==\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df430>" | |
] | |
}, | |
"execution_count": 41, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 42, | |
"id": "d6f54aeb-1201-4586-925e-2a4a065a7032", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.742181Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.741453Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.773358Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.771579Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.742118Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 3 bi 1 ei 4 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "5fc19ec3-3777-4018-ae71-273eec6c4607", | |
"metadata": {}, | |
"source": [ | |
"# Example 3" | |
] | |
}, | |
{ | |
"attachments": { | |
"d9dfad51-071c-4cc6-aadb-88f45bacceee.png": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAHYAAAB4CAYAAAAnrQZhAAAIFElEQVR4Ae2cL0z+PBDHMXgkEgNBIgkhAYkEhyRBgCQEgUMRJIYEiSABSVBIJIYESVA4kAgEcm++4z0oe26/tdu1ve25Jk+2p+u6u/vs+ufWbaKwNEgLTAxSK1OqMLADvQkMrIEdqAUGqpZ5rIEdqAUGqpZ5rIEtio+Pj2Jtba14fn4eqDn0qvX+/l4cHR2VP3BoSt4ei8rm5+eL+/v7pjrtuLAFYPOZmZkfsK+vr41X8AZ7fX1dbG5uNlZoBeQtsLi4WDw8PARV7A326empWFhYCKrcCstYAN7q46Xu1bzB4qTd3d3Sa6mthwefn58XX19fbp22L2yBvb29Ar+QFAQWFaNJJrDYB2wMqCzFtcDJyUnpVL5OFAyWEx+eC8iW4loANl5dXS1nJ01XEgGLZuL09LTpWnZcwALUWjZV1RksDaowz7IU3wJwIJ/+thPYm5ubAkNxgxoHKOyKOSzFDjDlwcwEztSUWoPFnbO+vm4j4iYLtzyO6Q2cBn0qfhMTE+V/3/lsK7C4k6anp1uKbKc1WQD2BdTQuatbr4F1raFk/+7urvMUshVY6I8pDkZouKvQ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KgGNsRaPSprYHsEK0RUAxtirR6VNbA9ghUi6n+e/xeqlBX3tQAAAABJRU5ErkJggg==" | |
} | |
}, | |
"cell_type": "markdown", | |
"id": "218c9376-8b40-44e1-b1c7-570139aad529", | |
"metadata": {}, | |
"source": [ | |
"### ChemDraw\n", | |
"![image.png](attachment:d9dfad51-071c-4cc6-aadb-88f45bacceee.png)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "af716449-6b40-4977-9d4c-e5ab49af8e84", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-2-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 43, | |
"id": "d9292541-7d44-4628-9394-2e90738384b3", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.777203Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.776502Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.805616Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.803825Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.777142Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-2-2000.mol\n", | |
" ChemDraw10192311522D\n", | |
"\n", | |
" 8 7 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.9959 -1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.4125 -0.4767 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.4125 -0.4767 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.9959 -1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.7282 0.2855 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.9971 1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.7282 0.2855 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.9971 1.0270 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 1 0 0\n", | |
" 2 3 1 0 0\n", | |
" 3 4 1 0 0\n", | |
" 2 5 2 0 0\n", | |
" 5 6 1 4 0\n", | |
" 3 7 2 0 0\n", | |
" 7 8 1 4 0\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 44, | |
"id": "5b1fa427-bed0-4430-ae53-f2652660f731", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.809343Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.808646Z", | |
"iopub.status.idle": "2023-10-23T11:11:58.849627Z", | |
"shell.execute_reply": "2023-10-23T11:11:58.848403Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.809282Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAQT0lEQVR4nO3de1BU1wEG8G+XJQgIQQGfCPigPghgtcZHnIpVKr7rBBFBjK1WBI2TVG2aNNrW0pjRWjXRmCjmD3wSm4hjMhLpAFpHzRimCT6iQdEIKlF0lbrIy93+ca+AFAV2F87ePd/vr+PqnflGx49z9p57rs5isYCIiKylFx2AiEjbWKNERDZhjRIR2YQ1SkRkE9YoEZFNWKNERDYxiA5Abev69etpaWmenp7Lly8XnYXIOem4b9S5nT59+sUXX+zWrVtJSYmLi4voOEROiIt6Jzds2LCQkJDS0tKjR4+KziKdtLS07du3379/X3QQalusUec3a9YsAPv27RMdRC5ms3n16tULFy48e/as6CzUtriod34XLlwYOHBgp06dSktLn3vuOdFxZJGTkzNu3Ljg4OCioiKdTic6DrUhzkad34ABA8LDw41G45EjR0RnkcjOnTsBzJ07lx3q9FijUpg9ezaAvXv3ig4ii8rKygMHDgCIj48XnYXaHGtUCvHx8Tqd7uDBgyaTSXQWKWRmZt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4kgxoHZ/eAnUjbs2ZbrhI4zv5MiiAntJ7sbhmDKaOlJcem88MyldcgNllJTMc5BImclai4kkItvYVbICuQmsb+CGbxsKUciKk9t7ccasgk0ax2qkHyhaKG4RdH8tJj2x63r70C98nZ1uh9Bnp+OWbCcuVGXPNE6dnRFsQ93z4UmyCxqnybOiHoMsGAvGkrtv676JeE8/CuLiF4IYftqLWdUJAAAAb3pUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nHP2s3XWcNYEYVs/Z4UaDV0DPUtLc0MdQz0DMx1rIM/cyMJIx0DPyMLUFMw3MTQy1QHR5mbmYAFLS1NLHV2IenRpdFkUwxA2GZnraNYAAM3eHDLen5FtAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df740>" | |
] | |
}, | |
"execution_count": 44, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 45, | |
"id": "d7660376-b798-4199-ac32-2b5a78f9b490", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:58.851823Z", | |
"iopub.status.busy": "2023-10-23T11:11:58.851288Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.023055Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.021280Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:58.851785Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 46, | |
"id": "cbc069d8-0066-43fb-beb0-c80921d0ae7b", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.027673Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.026781Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.091320Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.090094Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.027610Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAASIUlEQVR4nO3deVBUV8IF8NPQKEqEIeBCiSwymCgSHEyMikYcVJhozDrEaCXBCCouScrRMRV3s5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AiIYW6IXZzlSIs5FImkma0tOSanY8ypZCbkJrG/ghm87iGrE1NDtPTXOrYI+XYetyA8cWRy3GDZ/LSY/4nW/fewXuc5Jt0Psc9I6KccpG6hyZlZWnZMhmQ6658MT5RSsLL8UvbrIdRYiC8na+72oLd43pPv000hd/AKXLIGYMyyv0QAAAHd6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJxz9rN11nDWBGFbP2eFGg1dAz1LS3NDHUM9AzMdayDP3MjCSMdAz8jC1BTMNzE0MtUB0eZm5mABS0tTSx1diHp0aXRZFMMQNhmZ62jqlFsBWTpmemY1APIxHmRWatG7AAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6df740>" | |
] | |
}, | |
"execution_count": 46, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 47, | |
"id": "9e4a0ca3-7d8e-4da3-82e5-f98a53de38e8", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.093611Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.093075Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.120773Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.118989Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.093573Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "2bff392a-f7d3-4f7c-af80-75234654b0eb", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-2-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 48, | |
"id": "e1338522-eec7-4755-a564-ed691cd83794", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.124772Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.123920Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.169085Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.167297Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.124711Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-2-3000.mol\n", | |
" ChemDraw10232310302D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 8 7 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.995922 -1.060024 0.000000 0\n", | |
"M V30 2 C -0.412509 -0.476711 0.000000 0\n", | |
"M V30 3 C 0.412509 -0.476711 0.000000 0\n", | |
"M V30 4 C 0.995923 -1.060024 0.000000 0\n", | |
"M V30 5 N -0.728217 0.285506 0.000000 0\n", | |
"M V30 6 C -0.997122 1.060024 0.000000 0\n", | |
"M V30 7 N 0.728216 0.285506 0.000000 0\n", | |
"M V30 8 C 0.997122 1.027023 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 1 1 2\n", | |
"M V30 2 1 2 3\n", | |
"M V30 3 1 3 4\n", | |
"M V30 4 2 2 5\n", | |
"M V30 5 1 5 6 CFG=2\n", | |
"M V30 6 2 3 7\n", | |
"M V30 7 1 7 8 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 49, | |
"id": "9a10ff4b-e764-4b6a-ab30-16e448b051eb", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.172912Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.172217Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.232674Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.231473Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.172837Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAQUElEQVR4nO3de1BU1wEG8G+XJQgIQQFFRcAH9UEAqzU+4lSsUvFdJ4gIYmy1Ipg4SdWmptG2hsaM1qq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igRkUO4qCcicghrlIjIIaxRIiKHsEaJiBzCGiUicsj/AJvvw+fksbSeAAAArHpUWHRyZGtpdFBLTCByZGtpdCAyMDI0LjAzLjFwcmUAAHice79v7T0GIOBnQAAOIGYH4gZGNoYEIM3IzMagAaSZWRA0RJwdwmfGxedmYGRgZFJgYmZgZNFiYmRgYWVgYgMx2NgZREBWiWeB1MEt3v+lbv+9de37QZxEk8v7yoW/7IOy7WDs81/q7GFq8nKs9t/QnWQHYic714P02oPYsTlW9kji9rWlzWBxMQAscCkeSM+ZSwAAARZ6VFh0TU9MIHJka2l0IDIwMjQuMDMuMXByZQAAeJyNUsFqwzAMvecr9AM2shJb9mGHJmlLGXWgzfYF2yGwbpf9P5PTem5YCZNikMXTs94jb5OaLtPnuyJVI6K+fH1UkOLUP0/f8BvUV9LHlS+EAK+JozpCKqDd7g8RunHT5k43vMTxDB5YJiSXyM04HHPHQAcKdQg2EIEyGh0iNYAa5yizdEU2hiyGuWLHxjxA1oL8F7CZgfPb9erbFmIiYvJkRJImby26B0CX5bAROSuMLIw3QrdG6G8rZj5ilF3/4raxX/h6dbodYl+cTknFTrlAXTwzcpriDEla6Hb7JyouGDmuaJV5EbLAsGAY/P1a90uke/5RpK5+AP5EfzRecTomAAAAhnpUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nG2OQQqAMAwEv+KxQlqSaBOj9NR7v+Olj7ctIgoeAsswyyaXlF2e+6WSp+o8BjMlZqCAgshwNKS8MSlg4C1GlMFW4ogGPako0YBm0VrXP+U/79aWjzYm5DXxfoS1STOce8sgQeoFhKElPhOUJuwAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6dfac0>" | |
] | |
}, | |
"execution_count": 49, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 50, | |
"id": "2660f68c-6520-45ab-aa0b-5ca7174e54d2", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.234938Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.234355Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.259847Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.258312Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.234887Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 51, | |
"id": "7321f052-87d1-4dce-8489-c174f24f54bd", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.263714Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.262867Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.302595Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.301401Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.263653Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAASH0lEQVR4nO3de1BU58EG8AdYFEWhBLwwItfinWDRpCoasahQNSb5TInRSYIRVCSajNVq6j0mMSVDYxovJIbGaKLBtn6mOql4BRovoxCBVakaHFRUVEDkIgXW3e+PPZ/AssCyC7xn9zy/v17fdWeekfHhnPOe8x47nU4HIiIyl73oAERE1o01SkRkEdYoEZFFWKNERBZhjRIRWYQ1SkRkEdYoEZFFWKNERBZhjRIRWUQlOgB1htJSHD6M+/cREoLQUNFpiGyLHR8GVYKbN+HrC60WAGbPxq5dsLMTnYnIVrBGlWLlSlRW4ttvUVKClBRERYkOpADXrsHfX3QI6ni8NqoUH3yATz/FsmUAkJUlOo0CPH6M0FCEh+PhQ9FRqIOxRhUkPx87dwLA4MGioyjAzZvQ6XD8OF57TXQU6mA8qVeEu3exbh2Sk1FXh5EjkZ6O7t1FZ1KAoiIMGoSKChQVoVcv0Wmow3Cl3vaVlSE8HBcvwtERcXHYsIEd2lHOncN336GkBMOH49lnUVUFrRZaLVT8f2bT+OO1fV9+iYsXMXIkUlK44tGB9u7Fq69Kt0N8/XX9/OzZcHMTFYo6A2vU9l28CAALF7JDO9aaNdBqsXQphgxBZiYyM+HkhMhILFkiOhl1MF4btX1/+Qvefhv9++PV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AgJkzZ7JDbR6PRhWhqqrK2dlZdArF4T+7QrBGiYgswpN6IiKLsEaJiCzCGiUisghrlIjIIqxRIiKL/B9PGnv4b7JupQAAAKx6VFh0cmRraXRQS0wgcmRraXQgMjAyNC4wMy4xcHJlAAB4nHu/b+09BiDgZ0AADiBmB+IGRjaGBCDNyMzGoAGkmVkQNEScHcJnxsXnZmBkYGRSYGJmYGTRYGJhZWFjYtNgYmNnYRMBWSSeBVIFt3b/l7r999a17wdxEk0u7ysX/rIPyraDsc9/qbOHqcnLsdp/Q3eSHYid7FwP0msPYsfmWNkjidvXljaDxcUAJW4pLBuWZioAAAEYelRYdE1PTCByZGtpdCAyMDI0LjAzLjFwcmUAAHicjVLBTsMwDL33K/wDiWy3iZsDh7UdE0JLJSh8ARwqMbjw/8LpFrKKqcJOJOfp5cV+ytts5tP8+W7Y1IhoT18fFaR4Gh7nb/gNHirFcWOFEOA1aVRHSAV0+8NDhH7adRnpx5c4PUMLojc018zdNB4zQtCDQRuCC8xgyKJH5AbQ4hLlLp+ZDbHDsFTihegGs1bmv4jNQlzerjffdhCTkHDLpCNZbp1Df4Po8zhCOs6GoqjiRdBvCbaXFrMeC2qvf3n7OKx8PTvdjXEoTqfkYqceoC6eke6mOMOaDvr7wx0XF0i3X4M+qeg4K1CUKan3azC1eN1QOudPo3X1AxefgfIrhKdpAAAAhnpUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nG2OQQqAMAwEv+KxQlqSaBOj9NR7v+Olj7ctIgoeAsswyyaXlF2e+6WSp+o8BjMlZqCAgshwNKS8MSlg4C1GlMFW4ogGPako0YBm0VrXP+U/79aWjzYm5DXxfoS1STOce8sgQeoFhKElPhOUJuwAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6dfac0>" | |
] | |
}, | |
"execution_count": 51, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 52, | |
"id": "576434c4-246d-44c6-83a6-8b48cabadb34", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.304781Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.304249Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.330154Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.328423Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.304742Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "00ee6963-bee7-43a2-9e01-b09a66aeaa32", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-2-explicit-crossed-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 53, | |
"id": "2f9d3fd2-76b5-40e1-aa3e-507913b61970", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.333941Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.333242Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.357389Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.355785Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.333866Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-2-explicit-crossed-2000.mol\n", | |
" ChemDraw10232310432D\n", | |
"\n", | |
" 8 7 0 0 0 0 0 0 0 0999 V2000\n", | |
" -0.9959 -1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.4125 -0.4767 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.4125 -0.4767 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.9959 -1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.7282 0.2855 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.9971 1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.7282 0.2855 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.9971 1.0270 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 1 0 \n", | |
" 2 3 1 0 \n", | |
" 3 4 1 0 \n", | |
" 2 5 2 3 \n", | |
" 5 6 1 4 \n", | |
" 3 7 2 0 \n", | |
" 7 8 1 4 \n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 54, | |
"id": "a2cba633-b34f-4a34-be83-88a994b9bb2b", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.361559Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.360671Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.421121Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.419885Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.361497Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAQT0lEQVR4nO3de1BU1wEG8G+XJQgIQQGfCPigPghgtcZHnIpVKr7rBBFBjK1WBI2TVG2aNNrW0pjRWjXRmCjmD3wSm4hjMhLpAFpHzRimCT6iQdEIKlF0lbrIy93+ca+AFAV2F87ePd/vr+PqnflGx49z9p57rs5isYCIiKylFx2AiEjbWKNERDZhjRIR2YQ1SkRkE9YoEZFNWKNERDYxiA5Abev69etpaWmenp7Lly8XnYXIOem4b9S5nT59+sUXX+zWrVtJSYmLi4voOEROiIt6Jzds2LCQkJDS0tKjR4+KziKdtLS07du3379/X3QQalusUec3a9YsAPv27RMdRC5ms3n16tULFy48e/as6CzUtriod34XLlwYOHBgp06dSktLn3vuOdFxZJGTkzNu3Ljg4OCioiKdTic6DrUhzkad34ABA8LDw41G45EjR0RnkcjOnTsBzJ07lx3q9FijUpg9ezaAvXv3ig4ii8rKygMHDgCIj48XnYXaHGtUCvHx8Tqd7uDBgyaTSXQWKWRmZt6/f3/48OH9+/cXnYXaHGtUCoGBgSNGjDCZTJ9//rnoLFJQVvSJ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vpuGzMSGhCYW6ssIgiZY8XKXJIjjkEkaSRLSSqQHOlKz5IFk4vA8gYu+LYCF4Q0Gbq9J6PULFjFcbTk9ANFzYpLBM1fi1GP9Lze2rUTX0en6861yemwKdnJFyiSZ5JPmZwh3gqa580TJRcknyrNyvU8yITRzGgw923dNxHu8UfhOPsF/YqFiV8guOAAAABvelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHicc/azddZw1gRhWz9nhRoNXQM9S0tzQx1DPQMzHWsgz9zIwkjHQM/IwtQUzDcxNDLVAdHmZuZgAUtLU0sdXYh6dGl0WRTDEDYZmeto1gAAzd4cMt6fkW0AAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6dff20>" | |
] | |
}, | |
"execution_count": 54, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 55, | |
"id": "aa65244b-1029-40a9-9408-5bfa60cdd57a", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.424074Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.423087Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.509404Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.507827Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.424033Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 56, | |
"id": "62c8f0f3-9c1c-436f-a522-2a1adbc455c4", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.513534Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.512643Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.571105Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.569925Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.513471Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARg0lEQVR4nO3de1BU58EG8GdhURRBEdRYEVBjEBGxGi+JELFIpF5rOjGJjoZEjRYTk3ipiRoUQ9TBUtGYOjbFJ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vxdDi/cNhX38abjOfgFi4YhHyIJ0swAAAHl6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJxljTEOgDAMA7/CWCQnaiOaEqpO2fsdFh5PYUHAYDnWWbH35sHnS637dITIZiUhcZSCGrnIKogsa85XXJJk0PCiNzbLBhptRaUvph9/faNnSzFj38YBZT1O93oeZGvv588AAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e6dff20>" | |
] | |
}, | |
"execution_count": 56, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 57, | |
"id": "15da7421-c78c-426f-9e8f-ed37adaf4f00", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.573451Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.573022Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.607966Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.606248Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.573413Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondStereo', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 4 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "408687a1-fc7b-4812-bf0e-ec548b03ee34", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-2-explicit-crossed-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 58, | |
"id": "0d7ec364-f387-4c8e-a82e-3dedb84039f9", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.612067Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.611162Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.639714Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.637954Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.612005Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-2-explicit-crossed-3000.mol\n", | |
" ChemDraw10232310432D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 8 7 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -0.995922 -1.060024 0.000000 0\n", | |
"M V30 2 C -0.412509 -0.476711 0.000000 0\n", | |
"M V30 3 C 0.412509 -0.476711 0.000000 0\n", | |
"M V30 4 C 0.995923 -1.060024 0.000000 0\n", | |
"M V30 5 N -0.728217 0.285506 0.000000 0\n", | |
"M V30 6 C -0.997122 1.060024 0.000000 0\n", | |
"M V30 7 N 0.728216 0.285506 0.000000 0\n", | |
"M V30 8 C 0.997122 1.027023 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 1 1 2\n", | |
"M V30 2 1 2 3\n", | |
"M V30 3 1 3 4\n", | |
"M V30 4 2 2 5 CFG=2\n", | |
"M V30 5 1 5 6 CFG=2\n", | |
"M V30 6 2 3 7\n", | |
"M V30 7 1 7 8 CFG=2\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 59, | |
"id": "0e372ff1-82ca-4099-be3d-872276d0cf57", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.643701Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.642831Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.730147Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.728908Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.643639Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAQUElEQVR4nO3de1BU1wEG8G+XJQgIQQFFRcAH9UEAqzU+4lSsUvFdJ4gIYmy1Ipg4SdWmptG2hsaM1qqJ1kaxf+CT2CiOyUikg2gdNWOYMUiMFkUjqETRVeoij81u/7hXQIrCPuDcu/f7/XVcvTPf6Phxzt5zz9VZrVYQEZG99KID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jFwcmUAAHice79v7T0GIOBnQAAOIGYH4gZGNoYEIM3IzMagAaSZWRA0RJwdwmfGxedmYGRgZFJgYmZgZNFiYmRgYWVgYgMx2NgZREBWiWeB1MEt3v+lbv+9de37QZxEk8v7yoW/7IOy7WDs81/q7GFq8nKs9t/QnWQHYic714P02oPYsTlW9kji9rWlzWBxMQAscCkeSM+ZSwAAASd6VFh0TU9MIHJka2l0IDIwMjQuMDMuMXByZQAAeJyNUttuwjAMfe9X+AdSOW5ze9gDbRmaJlJp6/YD0IdIMBDwsM+fU+hCNVTNbiTHOj7xOeo2iLAPX70g0X8fd2ETLmJzOpzP/VYUiJjvD7sMYrw1r+ECv0FNxn2c+Zxz8Bk5sjXEAqrl6sVD3S2qsVO3H757BwuGJzinyEXXrseOhBoE5s4pRwRC5qgRqQTMcYg0S1dkKUmhGyqjjZQPkAUj/wUsB+DwdjH7tgIfiQxZkiwpJ6sU6gdAPcoxkuXMMBpmvBHqOUJ7W3HkI4O861/c0jcTX69OV61vktMxKdnJFyiSZ5JPmZwhTgX18+qJkguSj05aeZ6FTDCGMQbs/Vr3S8T7+KNwnf0AecWF4+8hAzwAAACHelRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHicbY4xCoBADAS/YqkQQ7J6iVGsrvc7Nj7e8xBRsAgswyybvK25zd1165abo+2FI1wBUhYTAS0FOSaokzCmlMQqGxVJgq7k5qoVRqQo3f4p/3m3Nny0OmGvifcj8CJ1tM8lE1jJ2I4TGiQl+/cihuoAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d040>" | |
] | |
}, | |
"execution_count": 59, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 60, | |
"id": "c1f4352f-5168-4caf-990b-1bffbcb389d3", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.732363Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.731943Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.757352Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.755811Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.732326Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 61, | |
"id": "ede118f2-751d-4f19-8c70-19c93efb2a7f", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.761432Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.760568Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.796874Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.795321Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.761370Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAARiElEQVR4nO3de1BU58EG8GdhURRBEdRYERBjFBWhXhITJWLRSL3WZmKMjoZEjAYbk3ipGg1KJOpoqWhMrU1JEy+ZkHbStHG+YmwVqFETIQIrUKM4IHiLoIhcBNbd749zlIsLLLsL7549z++v16M78yjjs+f2vq/GaDSCiIgs5SQ6ABGRsrFGiYiswholIrIKa5SIyCqsUSIiq7BGiYiswholIrIKa5SIyCqsUSIiq2hFB6COcOsWvvkGN29i5EiMGyc6DZFj0XAyqBoUFcHfHwYDAMyfjwMHoNGIzkTkKFijarF+PSoqcOgQSkuRlIQ5c0QHUoFLlxAQIDoEtT/eG1WL99/Hrl1YvRoAMjJEp1GB+/cxbhzCw3Hnjugo1M5YoyqSn4/9+wEgMFB0FBUoKoLRiGPHsGCB6CjUznhRrwo3bmDTJiQmoq4Oo0cjNRVdu4rOpALXr2PIENy9i+vX0auX6DTUbvik3vGVlSE8HDk5cHHB669j82Z2aHs5cwaff47SUoSE4MknUVkJgwEGA7T8f+bQ+ON1fH/+M3JyMHo0kpL4xKMdffEFXnpJfh3i00/rj8+fD09PUaGoI7BGHV9ODgBER7ND21dMDAwGrFqFoUORno70dLi6IiICK1aITkbtjPdGHd/u3XjzTfTvj5deQnExMjNRVobRo7F9OwYPFh3OgXh7o7QU+fn8ulId1qjjq63F1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gi3ef+Xuv331rXvB3ESTS7vKxf+sg/KtoOxz3+ps4epycux2n9Dd5IdiJ3sXA/Saw9ix+ZY2SOJ29eWNoPFxQA/zik4JUnM1AAAASl6VFh0TU9MIHJka2l0IDIwMjQuMDMuMXByZQAAeJyNUsFuwyAMvecr/AMg4wQIhx2apKumqYm0ZfuBNgekdq3aHvb5M2kZjVZFs0EyT4+H/cTWC7/3X4MgMXwfd37jL2JzOpzPw1bkiCj3h10GId6aV3+B36AmYxxnlnMOPoNGtoZQQLVcvbRQ94sqInX30fbvUILlG5xT5qLv1hFRUINA6Zx2RCCURINIBaDEMdJdujILRRrdWFljlXrAzJn5L2IxEse389m3NbRByFJJikeSVGqN5gHRxHGs4nFmFC0r3gTNnGB5azHqkUXu9S9v2TYTX69OV13bJKdDUrKTD5AnzxTvIjlDnBrq59UTJRcUbzMFTVDhcSagZaYNvd+DocX7hsI5fhqusx/jRYihcTVgUQAAAIx6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJxtjjEKw1AMQ6/SMQHb2GpsxymZ/p7rdMnh+3/okEIHgRBPSO3Y29Tmof1oj3NSqUoDyESRCnqpJFZYkApWd40RLQbXIu4uI81GVuWFJ3Fvho4m/+P4C+IXvDbytsH3Jxc203vrnhZxConzAyIJJgEiCE8xAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d040>" | |
] | |
}, | |
"execution_count": 61, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 62, | |
"id": "224f8542-e60a-4f4a-bee8-138fbd08d481", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.800269Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.799588Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.824849Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.822904Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.800226Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 5 bi 5 ei 6 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 3 ei 7 type DOUBLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 7 ei 8 type SINGLE stereo STEREONONE dir UNKNOWN prop ['_MolFileBondType', '_MolFileBondCfg', '_UnknownStereo'] _MolFileBondType 1 _UnknownStereo 1 _MolFileBondStereo 0 _MolFileBondCfg 2\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "67bc1ce7-2b8d-4b0d-8154-42ec4a3bc4ca", | |
"metadata": {}, | |
"source": [ | |
"# Example 4" | |
] | |
}, | |
{ | |
"attachments": { | |
"be0fbfed-0050-407c-832d-da445c09e998.png": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAIYAAAB6CAYAAAB6KSvzAAAIB0lEQVR4Ae2dMUg0PRCGLYUP1EJBLNRGsBQRsRC0ELXUzlIQwdJCRLSwtLQRLC0sLEUQLC1FEMTK0k7tLCws8/Pe949fjKu3t7dJZpIJyN7uebvJmyezk0k222E0qQIFCnQUHNNDqoBRMBSCQgUUjEJZ9KCCoQwUKqBgFMqiBxUMZaBQAQWjUBY9WAqMt7c3s7+/r2plpEApMKDH0tKSOT8/z0iavItaGoz7+3szNTVlPj4+8lYsk9KXBgN6bG5umsPDw0ykybuYLYEBX2N0dNS8vLzkrVoGpW8JDOhxfHxsNjY2MpAm7yK2DAbkGhsbM/A5NKWrQCUwrq+vzezsbLqqaMmqj65q9zVteipZDEgCB3R4eFi7r4nyURkM6IFoqEZEZZPx9PRk0Nt0U1tgINgFq6HdV1dWGfuAAr4itm5qCwyc7OzszKysrLjn1X3mCvwGBbLeNhg4CULlNzc3zKXQ7JECzaDA/9UCBmIaiG1o4q9AGShqAwMnQjQUUVFNfBUoCwVKUIvFwIm0+8oXCOSsFShqBQMnw8grRmA18VKgVSiQ+9osBk6G7it8jcfHR17KZJybKlDUDgZOiFleCJdriq9AVSiQ81otBkmh4yikRLxtO1B4A0OnAcYDAlduFwpvYODEOg0wDhx1QOEVDJ0GGB6MuqDwCgZOrtMAw8FRJxTewcAFdBqgfzjqhiIIGDoN0C8YPqAIAgYucnBwoDO9PPDhC4pgYHjQJPtT+oQiKBgdHR1ma2vrW4Xi+N3d3bfjeuBnBXxDgSt7iXwWFQkAFEFQdKzo93rsrwIhoMCVgoKxvLxspqenv9SxgvFFjl93QkERHAz0UEZGRszR0dGnAArGpxS/fggJRXAw4EsADsDw/PzcECJ3MGBF0VjchON2A8JjGoAjVAp6KyEnc21tzeAPScFYbmhgQwBdXDBC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zAsKHAZ4yh9Pb2sgZjfHy88doNO++4tcARlZxYgyHBHEt3Mn+Cly0Y7rMXPxWAw3Ga4MshL3XlgS0YNHZSV0F9n0dafpvpwRIMKb0RW9yi7rb9vbTP7MCQ/L7WlZWVZKYnsgNDchg5hW4qWTZWYMAc41ECePpSk9RhdldvVmDQnAw3k5L2ATWG2mmJA0l5t/PKBgzpYwu2qCmUhQUYaGXo7qW0ep/EaQM23CzAkNg9tUUs+iy9+xodjJQ8eRcQyT2s6GAUDVm7AkvdB/RwRBGbkZaigiHd3JapbKm3yahgIGYhfXi6GRxwrFFONAJJKRoYKXTpyla0xLJGAQOtSPJE2bJA2P8nYW6Jnd8oYND0PDsjqX9GjAaxGjQKCSk4GCl3T5tVuKTua3AwUhqabgaC+72kKQVBwUAPBB56zsl94o6rFkHBSG36W9VKlaBDMDCktJSqld3K7yRYziBg5Ng9bQYK9+5rEDAkeePNKrSu77n3zryDIa3/XlfFlzkP53iOdzC4m8wyFejrfzjfYr2C4a554UtgyefFqsiI7XBL3sBAa5A4qhijgjiOMnsDQ+o8hBhgcJyX4gUMeNwI4mCrqZwC3FYq9AKGdk/LwWD/F7fua+1gcDSLdgVw/szp9ls7GDCJ7vvKOVcGp7zBYecyZ6N2MDgJrXmproCCUV27pH+pYCRdvdULp2BU1y7pXyoYSVdv9cL9B4qXlIm4RA/0AAAAAElFTkSuQmCC" | |
} | |
}, | |
"cell_type": "markdown", | |
"id": "115a9110-ea81-46a3-94d1-fd471a0600db", | |
"metadata": {}, | |
"source": [ | |
"### ChemDraw\n", | |
"![image.png](attachment:be0fbfed-0050-407c-832d-da445c09e998.png)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "5d41c2c6-b2bf-40cd-a057-225c809aa4c1", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-cross-2000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 63, | |
"id": "bfea8de4-93f5-4efc-8383-2b5d3c6c16b4", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.829316Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.828296Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.854817Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.853117Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.829247Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-cross-2000.mol\n", | |
" ChemDraw10192311582D\n", | |
"\n", | |
" 8 7 0 0 0 0 0 0 0 0999 V2000\n", | |
" -1.0099 -1.1129 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.5974 -0.3984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.2276 -0.3984 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.6401 -1.1129 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -0.8109 0.3984 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 0.6401 0.3160 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" -1.2234 1.1129 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1.2234 0.8994 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n", | |
" 1 2 1 0 0\n", | |
" 2 3 1 0 0\n", | |
" 3 4 1 0 0\n", | |
" 2 5 2 3 0\n", | |
" 3 6 2 3 0\n", | |
" 5 7 1 0 0\n", | |
" 6 8 1 0 0\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 64, | |
"id": "4087158a-8d69-4620-9df1-29d25d2a0389", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.859629Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.858512Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.900209Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.898844Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.859557Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAUPElEQVR4nO3de1SUZR4H8C93AgQhL6uoYAqmbCoZJMi6igblWRC8kDc6tnVQQ2S4iIo3dhVBiJuWZqlrq6uyJmi0Lglhpom5RxRLDPGaYkmrcEaE4TLM/sEk6ZKACA/zvt/P8Y/3jPPH93jky++Z553n1dNoNCAioielLzoAEZFuY40SEbULa5SIqF1Yo0RE7cIaJSJqF9YoEVG7sEZ1XlZWlru7u1KpFB2ESKZYo7pNo9EkJCTk5+fHxcWJzkIkU3q8/V7XFRQUuLi4GBoafvfddw4ODqLjEMkOp1Gd9+KLLwYGBtbW1i5ZskR0FiI54jQqBbdv33Z0dFQqlZ9//rmXl5foOETywmlUCnr37r106VIAYWFh9fX1ouMQyQtrVCIiIiIcHByKioq2bNkiOguRvHBRLx2ZmZlTpkyxtrYuKSl59tlnRcchkgtOo9Lh7+/v5eVVXl7+l7/8RXQWIhnhNCopRUVFI0aMAFBQUPDCCy+IjkMkC5xGJWXYsGFBQUH19fVhYWGisxDJBadRqbl7966jo+OdO3cOHjzo6+srOg6R9HEalRobG5tVq1YBCA8Pr6mpER2HHqe8vFx0BHoKWKMS9M4777zwwguXL19OS0sTnYV+U3Z2tr29fVZWlugg1F6sUQkyNDR89913AWRnX7h9W3Qaas6hQ4f8/PyUSuWxY8dEZ6H24mejkhUUdPajj0b++c/Ytk10FHpYdna2v7+/SqVSKBTJycl6enqiE1G7sEYl6/JlODmhrg4nT8LFRXQa+gU7VHq4qJesQYOwaBEaGhAaCv6u7CLYoZLEaVTK7t3DkCH48Ufs3o2ZM0WnkT12qFRxGpWybt2wZg0AREXh/n3RaeSNHSphrFGJe/NNuLjg5k0kJoqOImPsUGnjol76TpyAh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KF198MXPmTLVavW7duqCgoOvXrxcWFlpZWY1rfGA00dPGGqU2+PXHo42CgoLefvttlUo1derUO3fuiIumderUKT8/v5qampCQkKVLlwLIzMwEMGnSJGNjY9HpSJpYo9QG7u7u5ubm586d++mnnx68uHHjxpdeeunatWuxsbECswE4f/78a6+9VllZGRgYmPbLuSMHDx4EV/TUkVij1AbGxsZ/+MMfNBpNXl7egxdNTU33798fEhIitkZv3LgxadKku3fv+vr6bt++vXE36e7du8ePHzcyMvL29haYjaSNxzNQ23h4eGRnZwcHB69du/aRvxo1apSQSI2USmVpaem4cePS09MNfzl3JCsrq76+3tvbuzu/AUodhjVKbVNSUmJubl5RUVFRUSE6y0O6d++ur68fHx9v+qtzR7iip07A79RTGxQVFY0YMQLAJ5984uDgIDrOQ+Lj43fu3Onp6fnFF180vlJdXd2zZ8+qqqoffvihX79+YuORhLFGqQ28vb0PHz68aNGitK53cHx5ebmDg8OdO3cOHDjQOH5++umnkydPdnV1/eabb0SnIynjFhO1VkZGxuHDh21sbFatWiU6SzOsra1Xr14NIDw8vKamBsCtW7e6devGFT11NE6j1Cq1tbW///3vS0pK3n///XfeeUd0nOap1WpnZ+dvv/02Pj5+yZIlAGpqampra7t16yY6GkkZa5RaJS4uLjo6etiwYYWFhYZd+PkbeXl5EyZM6NatW3FxcZ8+fUTHIVngop5advv27fj4eAApKSlduUMBeHp6+vr63rt3b8WKFaKzkFxwGqWWzZ079+OPP/b39288Q76Lu3z5spOTU11dXX5+vqurq+g4JH2cRqkFp0+f3rlzp7Gx8fr160VnaZVBgwaFhoY2NDQoFApOCdQJWKP0OBqNRqFQNDQ0REREdLUbRR9jxYoVffr0yc/P37Nnj+gsJH1c1NPj7Nq1KzAwsHfv3hcvXrS0tBQdpw22b9/+1ltv2draFhcXm5ubi45DUsZplH5TVVXV8uXLAaxfv163OhTA3LlzXVxcSktLExMTRWchieM0Sr9p5cqVa9euffHFF//zn//o6+veb9z8/PwxY8aYmpoWFRXZ29uLjkOSpXs/G9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OvuAAdN1bg82KaoXB9retLyHn6UbgufgGLWYC/D/tobwAAAHl6VFh0U01JTEVTIHJka2l0IDIwMjQuMDMuMXByZQAAeJxNTbkNwCAMXCUlSMaywYFYiMo9EzF8CMpXXHG/9WbO/IXWbRsuMMaYBBiZo0INhAeTAmHSQxbftQiEV2AkUoXwNGgOlPwFCLMQ//3Fp80Z6n03X1QF/DgBcucdQLi7sMkAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d2e0>" | |
] | |
}, | |
"execution_count": 64, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 65, | |
"id": "014d4032-c4aa-427b-a7b5-5f51be8ffa0e", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.903472Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.902403Z", | |
"iopub.status.idle": "2023-10-23T11:11:59.933344Z", | |
"shell.execute_reply": "2023-10-23T11:11:59.931230Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.903427Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 5 bi 3 ei 6 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 6 bi 5 ei 7 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 6 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 66, | |
"id": "829f03ee-dd0b-458b-9f2a-905d9fda29df", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:11:59.937394Z", | |
"iopub.status.busy": "2023-10-23T11:11:59.936488Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.036569Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.035331Z", | |
"shell.execute_reply.started": "2023-10-23T11:11:59.937331Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAUPElEQVR4nO3de1SUZR4H8C93AgQhL6uoYAqmbCoZJMi6igblWRC8kDc6tnVQQ2S4iIo3dhVBiJuWZqlrq6uyJmi0Lglhpom5RxRLDPGaYkmrcEaE4TLM/sEk6ZKACA/zvt/P8Y/3jPPH93jky++Z553n1dNoNCAioielLzoAEZFuY40SEbULa5SIqF1Yo0RE7cIaJSJqF9YoEVG7sEZ1XlZWlru7u1KpFB2ESKZYo7pNo9EkJCTk5+fHx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aAPDxQUYGDHncLj0NnEapZc7Ozj179gTQ0NAwe/bsK1euiE70JNLTtR06bhz++U92KD01rFFqmb6+/vjx4wE4OzuXl5dPmTKlqqpKdKi2USqVCxdaGxmF9OlzLzMTpqaiA5GEsEapVSZOnAjAzs5u6NChhYWFQTq1vV1dXe3j46NSVdTVbdq48VT37qIDkbTws1FqlevXr9vb21tbWx8/ftzNzU2pVL733nvBwcGic7VMrVYHBARkZGQAcHR0LOZDUehp4zRKrWJnZzd48ODy8vL79+/v2LFDT08vLCzs2LFjonO1QKPRBAUFZWRkmJqaApg+fbroRCRBrFFqrcZ1fU5Ojr+/f3h4eF1dXUBAwK1bt0TnepzFixdv377dzMzM2toawORHDmomehpYo9RajTWam5sLYP369V5eXj/99NO0adNqa2tFR2ve2rVrk5KSjI2NExMTf/zxx759+zbetkX0dLFGqbUmTJhgYGDw9ddf379/38DAYPfu3fb29vn5+YsXLxYdrRkffPDBypUr9fX1d+7cWVZWBsDPz0+v8YRRoqeKNUqt1b1791GjRtXW1h4/fhzAs88+m56ebmJismHDhh07dohO95DMzMyFCxfq6elt3rw5ICDgwIED4IqeOgxrlNrglVdeAZDzy0NFXF1dN2zYAGDBggUFBQUik/3KF198MXPmTLVavW7duqCgoOvXrxcWFlpZWY1rfGA00dPGGqU2+PXHo42CgoLefvttlUo1derUO3fuiIumderUKT8/v5qampCQkKVLlwLIzMwEMGnSJGNjY9HpSJpYo9QG7u7u5ubm586d++mnnx68uHHjxpdeeunatWuxsbECswE4f/78a6+9VllZGRgYmPbLuSMHDx4EV/TUkVij1AbGxsZ/+MMfNBpNXl7egxdNTU33798fEhIitkZv3LgxadKku3fv+vr6bt++vXE36e7du8ePHzcyMvL29haYjaSNxzNQ23h4eGRnZwcHB69du/aRvxo1apSQSI2USmVpaem4cePS09MNfzl3JCsrq76+3tvbuzu/AUodhjVKbVNSUmJubl5RUVFRUSE6y0O6d++ur68fHx9v+qtzR7iip07A79RTGxQVFY0YMQLAJ5984uDgIDrOQ+L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4Y79URE7cJFPRFRu7BGiYjahTVKRNQurFEionZhjRIRtQtrlIioXf4HXucLCgbptRAAAACuelRYdHJka2l0UEtMIHJka2l0IDIwMjQuMDMuMXByZQAAeJx7v2/tPQYg4GdAAA4gZgfiBkY2hgQgzcjMxqABpJlZEDREnB3Ch9MI9RCam4GRgZFJgYmZgZFFj4mVkYGJFUwBDWBlZxABWSaeBVIJtzrdpXF/U3HffhDH9L3EfrHfp/eB2D/5M+1g7Bl3le1halSm+4PU2MHED55aCGbHz5gDMsceyrYXsU8Ds8UAr/Qn8EZhy4AAAAEaelRYdE1PTCByZGtpdCAyMDI0LjAzLjFwcmUAAHichVLbboMwDH3nK/wDRI4TcnnYQ4GumqYGaWP7gW0PSL1I6/5fs4cgRWKtDZJzOD6Oj/gcyuE4nL7Kj+/z5VISIqrj+VCAxEv7PPzAHNQWjOONJ8YI74Y1ij1IAfV295Sg6Tf1hDTdW+pfIYDnDs4lc9N3+wnR0ECpFbIqolRak1TIkETuJWGiqqK3wkRlYrCrTMNMVETe3SHaP6KzqO/MriCJUNA4fv9X0TFxVmSedrjK8+PaREZ0bkwOTJx5fIMY1wdvU7vwdXS67lKbnZakbCcfwGTPNL82O0OcFTSPuwfKLnADr7gAHTdW4PNimqFwfa3rS8h5+lG4Ln4Bi1mAvw/7aG8AAAB5elRYdFNNSUxFUyByZGtpdCAyMDI0LjAzLjFwcmUAAHicTU25DcAgDFwlJUjGssGBWIjKPRMxfAjKV1xxv/VmzvyF1m0bLjDGmAQYmaNCDYQHkwJh0kMW37UIhFdgJFKF8DRoDpT8BQizEP/9xafNGep9N19UBfw4AXLnHUC4u7DJAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d2e0>" | |
] | |
}, | |
"execution_count": 66, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 67, | |
"id": "21d4d359-0f60-4484-b44f-2ef905d2a2c7", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.051850Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.051251Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.089848Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.088053Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.051816Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 5 bi 3 ei 6 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondStereo'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 3 _MolFileBondCfg 0\n", | |
"idx 6 bi 5 ei 7 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 6 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "ec74d489-345a-45da-826c-84f43231cffd", | |
"metadata": {}, | |
"source": [ | |
"### `di-imine-cross-3000.mol`" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 68, | |
"id": "8eca2093-6344-4c43-9e2b-689993726245", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.094013Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.093021Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.122238Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.120073Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.093945Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [], | |
"source": [ | |
"mol = Chem.MolFromMolBlock(\"\"\"di-imine-cross-3000.mol\n", | |
" ChemDraw10232310302D\n", | |
"\n", | |
" 0 0 0 0 0 0 V3000\n", | |
"M V30 BEGIN CTAB\n", | |
"M V30 COUNTS 8 7 0 0 0\n", | |
"M V30 BEGIN ATOM\n", | |
"M V30 1 C -1.009900 -1.112900 0.000000 0\n", | |
"M V30 2 C -0.597400 -0.398400 0.000000 0\n", | |
"M V30 3 C 0.227600 -0.398400 0.000000 0\n", | |
"M V30 4 C 0.640100 -1.112900 0.000000 0\n", | |
"M V30 5 N -0.810900 0.398400 0.000000 0\n", | |
"M V30 6 N 0.640100 0.316000 0.000000 0\n", | |
"M V30 7 C -1.223400 1.112900 0.000000 0\n", | |
"M V30 8 C 1.223400 0.899400 0.000000 0\n", | |
"M V30 END ATOM\n", | |
"M V30 BEGIN BOND\n", | |
"M V30 1 1 1 2\n", | |
"M V30 2 1 2 3\n", | |
"M V30 3 1 3 4\n", | |
"M V30 4 2 2 5 CFG=2\n", | |
"M V30 5 2 3 6 CFG=2\n", | |
"M V30 6 1 5 7\n", | |
"M V30 7 1 6 8\n", | |
"M V30 END BOND\n", | |
"M V30 END CTAB\n", | |
"M END\n", | |
"\"\"\")" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 69, | |
"id": "09625f1d-9e38-41f0-9656-42a0a58ec476", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.126464Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.125619Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.171187Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.169775Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.126395Z" | |
} | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAUPElEQVR4nO3de1SUZR4H8C93AgQhL6uoYAqmbCoZJMi6igblWRC8kDc6tnVQQ2S4iIo3dhVBiJuWZqlrq6uyJmi0Lglhpom5RxRLDPGaYkmrcEaE4TLM/sEk6ZKACA/zvt/P8Y/3jPPH93jky++Z553n1dNoNCAioielLzoAEZFuY40SEbULa5SIqF1Yo0RE7cIaJSJqF9YoEVG7sEZ1XlZWlru7u1KpFB2ESKZYo7pNo9EkJCTk5+fHxcWJzkIkU3q8/V7XFRQUuLi4GBoafvfddw4ODqLjEMkOp1Gd9+KLLwYGBtbW1i5ZskR0FiI54jQqBbdv33Z0dFQqlZ9//rmXl5foOETywmlUCnr37r106VIAYWFh9fX1ouMQyQtrVCIiIiIcHByKioq2bNkiOguRvHBRLx2ZmZlTpkyxtrYuKSl59tlnRcchkgtOo9Lh7+/v5eVVXl7+l7/8RXQWIhnhNCopRUVFI0aMAFBQUPDCCy+IjkMkC5xGJWXYsGFBQUH19fVhYWGisxDJBadRqbl7966jo+OdO3cOHjzo6+srOg6R9HEalRobG5tVq1YBCA8Pr6mpER2HHqe8vFx0BHoKWKMS9M4777zwwguXL19OS0sTnYV+U3Z2tr29fVZWlugg1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Wam5sLYP369V5eXj/99NO0adNqa2tFR2ve2rVrk5KSjI2NExMTf/zxx759+zbetkX0dLFGqbUmTJhgYGDw9ddf379/38DAYPfu3fb29vn5+YsXLxYdrRkffPDBypUr9fX1d+7cWVZWBsDPz0+v8YRRoqeKNUqt1b1791GjRtXW1h4/fhzAs88+m56ebmJismHDhh07dohO95DMzMyFCxfq6elt3rw5ICDgwIED4IqeOgxrlNrglVdeAZDzy0NFXF1dN2zYAGDBggUFBQUik/3KF198MXPmTLVavW7duqCgoOvXrxcWFlpZWY1rfGA00dPGGqU2+PXHo42CgoLefvttlUo1derUO3fuiIumderUKT8/v5qampCQkKVLlwLIzMwEMGnSJGNjY9HpSJpYo9QG7u7u5ubm586d++mnnx68uHHjxpdeeunatWuxsbECswE4f/78a6+9VllZGRgYmPbLuSMHDx4EV/TUkVij1AbGxsZ/+MMfNBpNXl7egxdNTU33798fEhIitkZv3LgxadKku3fv+vr6bt++vXE36e7du8ePHzcyMvL29haYjaSNxzNQ23h4eGRnZwcHB69du/aRvxo1apSQSI2USmVpaem4cePS09MNfzl3JCsrq76+3tvbuzu/AUodhjVKbVNSUmJubl5RUVFRUSE6y0O6d++ur68fHx9v+qtzR7iip07A79RTGxQVFY0YMQLAJ5984uDgIDrOQ+Lj43fu3Onp6fnFF180vlJdXd2zZ8+qqqoffvihX79+YuORhLFGqQ28vb0PHz68aNGitK53cHx5ebmDg8OdO3cOHDjQOH5++umnkydPdnV1/eabb0SnIynjFhO1VkZGxuHDh21sbFatWiU6SzOsra1Xr14NIDw8vKamBsCtW7e6devGFT11NE6j1Cq1tbW///3vS0pK3n///XfeeUd0nOap1WpnZ+dvv/02Pj5+yZIlAGpqampra7t16yY6GkkZa5RaJS4uLjo6etiwYYWFhYZd+PkbeXl5EyZM6NatW3FxcZ8+fUTHIVngop5advv27fj4eAApKSlduUMBeHp6+vr63rt3b8WKFaKzkFxwGqWWzZ079+OPP/b39288Q76Lu3z5spOTU11dXX5+vqurq+g4JH2cRqkFp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9IvUjr/l+zhyBFYq0NknM4Po6P+BzK4TicvsqP7/PlUhpEVMfzoQCJl/Z5+IE5qC0YxxtPjBHeRaPYgxRQb3dPCZp+U09I072l/hUCeO7gXDI3fbefEA0NlFohqyJKpTVJhQxJ5F4SJqoqeitMVCYGu8o0zERF5N0dov0jOov6zuwKkggFjeP3fxUdE2dF5mmHqzw/rk1kROfG5MDEmcc3iHF98Da1C19Hp+sutdlpScp28gFM9kzza7MzxFlB87h7oOwCN/CKC9BxYwU+L6YZCtfXur6EnKcfheviF43kgMABaYIeAAAAgHpUWHRTTUlMRVMgcmRraXQgMjAyNC4wMy4xcHJlAAB4nE1NOQ6AMAz7CiNIbhSXUAgVU3e+w8LjKYhr8OC7rEtpS3diWUuzt4ESY2+gkNGRg8pEdaj0PtnFBx8N4RUoqu4IT0PrwJi+gEoy5d+/eLWZkO+7+uJu6LDNUQiTYT8Aocofce3+NkEAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d740>" | |
] | |
}, | |
"execution_count": 69, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 70, | |
"id": "6d1f8827-53cf-4864-a3b9-ce593be69488", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.174378Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.173281Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.200065Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.198321Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.174332Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 5 bi 3 ei 6 type DOUBLE stereo STEREOANY dir NONE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 5 ei 7 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 6 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 71, | |
"id": "6cb4448a-df32-4ffa-9b7b-c78c98da03ac", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.204499Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.203100Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.243636Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.242198Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.204427Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR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iILVuwYgX09bFzJzuUnhxrlH6TmxuSkrTXjVvbEvDgVqcDBxAcDD09bN6MgADRsUiXsUbpcRYuxKxZAHD+/NVvvy0VHae9yspw8iRMTGBkhBkzoFYjNhZBQaJjkY5jjVILtm6FtXU0MMjX10PXP0k/eBBqNVxdMWsWamoQEoJly0RnIt3HGqUWPPMMfHxKAc21a9fWrVsnOk67NK7oz5xBZSXmzEFamuhAJAncqaeWnT59+qWXXgKgr6//2Wefvfbaa6ITPYnKSvTogZoaAPDxQUYGDHncLj0NnEapZc7Ozj179gTQ0NAwe/bsK1euiE70JNLTtR06bhz++U92KD01rFFqmb6+/vjx4wE4OzuXl5dPmTKlqqpKdKi2USqVCxdaGxmF9OlzLzMTpqaiA5GEsEapVSZOnAjAzs5u6NChhYWFQTq1vV1dXe3j46NSVdTVbdq48VT37qIDkbTws1FqlevXr9vb21tbWx8/ftzNzU2pVL733nvBwcGic7VMrVYHBARkZGQAcHR0LOZDUehp4zRKrWJnZzd48ODy8vL79+/v2LFDT08vLCzs2LFjonO1QKPRBAUFZWRkmJqaApg+fbroRCRBrFFqrcZ1fU5Ojr+/f3h4eF1dXUBAwK1bt0TnepzFixdv377dzMzM2toawORHDmomehpYo9RajTWam5sLYP369V5eXj/99NO0adNqa2tFR2ve2rVrk5KSjI2NExMTf/zxx759+zbetkX0dLFGqbUmTJhgYGDw9ddf379/38DAYPfu3fb29vn5+YsXLxYdrRkffPDBypUr9fX1d+7cWVZWBsDPz0+v8YRRoqeKNUqt1b1791GjRtXW1h4/fhzAs88+m56ebmJismHDhh07dohO95DMzMyFCxfq6elt3rw5ICDgwIED4IqeOgxrlNrglVdeAZDzy0NFXF1dN2zYAGDBggUFBQUik/3KF198MXPmTLVavW7duqCgoOvXrxcWFlpZWY1rfGA00dPGGqU2+PXHo42CgoLefvttlUo1derUO3fuiIumderUKT8/v5qampCQkKVLlwLIzMwEMGnSJGNjY9HpSJpYo9QG7u7u5ubm586d++mnnx68uHHjxpdeeunatWuxsbECswE4f/78a6+9VllZGRgYmPbLuSMHDx4EV/TUkVij1AbGxsZ/+MMfNBpNXl7egxdNTU33798fEhIitkZv3LgxadKku3fv+vr6bt++vXE36e7du8ePHzcyMvL29haYjaSNxzNQ23h4eGRnZwcHB69du/aRvxo1apSQSI2USmVpaem4cePS09MNfzl3JCsrq76+3tvbuzu/AUodhjVKbVNSUmJubl5RUVFRUSE6y0O6d++ur68fHx9v+qtzR7iip07A79RTGxQVFY0YMQLAJ5984uDgIDrOQ+Lj43fu3Onp6fnFF180vlJdXd2zZ8+qqqoffvihX79+YuORhLFGqQ28vb0PHz68aNGitK53cHx5ebmDg8OdO3cOHDjQOH5++umnkydPdnV1/eabb0SnIynjFhO1VkZGxuHDh21sbFatWiU6SzOsra1Xr14NIDw8vKamBsCtW7e6devGFT11NE6j1Cq1tbW///3vS0pK3n///XfeeUd0nOap1WpnZ+dvv/02Pj5+yZIlAGpqampra7t16yY6GkkZa5RaJS4uLjo6etiwYYWFhYZd+PkbeXl5EyZM6NatW3FxcZ8+fUTHIVngop5advv27fj4eAApKSlduUMBeHp6+vr63rt3b8WKFaKzkFxwGqWWzZ079+OPP/b39288Q76Lu3z5spOTU11dXX5+vqurq+g4JH2cRqkFp0+f3rlzp7Gx8fr160VnaZVBgwaFhoY2NDQoFApOCdQJWKP0OBqNRqFQNDQ0REREdLUbRR9jxYoVffr0yc/P37Nnj+gsJH1c1NPj7Nq1KzAwsHfv3hcvXrS0tBQdpw22b9/+1ltv2draFhcXm5ubi45DUsZplH5TVVXV8uXLAaxfv163OhTA3LlzXVxcSktLExMTRWchieM0Sr9p5cqVa9euffHFF//zn//o6+veb9z8/PwxY8aYmpoWFRXZ29uLjkOSpXs/G9Q5bty4kZycrKenl5aWposdCsDNzW3GjBnV1dWN5zcTdRCd/PGgThAeHl5VVTV79mwPDw/RWZ5cQkKCubl5enr60aNHRWchyWKNUjO+/vrr/fv3m5mZCT/Qvp369evX+OBShUKhVqtFxyFpYo3SoxoaGkJDQzUazbJlyw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RHWo9D7ZxQcfDeEVKKruCE9D68CYvoBKMuXfv3i1mZDvu/ribuiwzVEIk2E/AKHKH3Ht/jZBAAAAAElFTkSuQmCC\n", | |
"text/plain": [ | |
"<rdkit.Chem.rdchem.Mol at 0x7f830e69d740>" | |
] | |
}, | |
"execution_count": 71, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"Chem.ReapplyMolBlockWedging(mol)\n", | |
"mol" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 72, | |
"id": "fe78e370-dbac-4711-a418-ff42c59d768e", | |
"metadata": { | |
"execution": { | |
"iopub.execute_input": "2023-10-23T11:12:00.246874Z", | |
"iopub.status.busy": "2023-10-23T11:12:00.245758Z", | |
"iopub.status.idle": "2023-10-23T11:12:00.293409Z", | |
"shell.execute_reply": "2023-10-23T11:12:00.291605Z", | |
"shell.execute_reply.started": "2023-10-23T11:12:00.246834Z" | |
}, | |
"tags": [] | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"idx 1 bi 1 ei 2 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 2 bi 2 ei 3 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 3 bi 3 ei 4 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 4 bi 2 ei 5 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 5 bi 3 ei 6 type DOUBLE stereo STEREOANY dir EITHERDOUBLE prop ['_MolFileBondType', '_MolFileBondCfg'] _MolFileBondType 2 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 2\n", | |
"idx 6 bi 5 ei 7 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n", | |
"idx 7 bi 6 ei 8 type SINGLE stereo STEREONONE dir NONE prop ['_MolFileBondType'] _MolFileBondType 1 _UnknownStereo 0 _MolFileBondStereo 0 _MolFileBondCfg 0\n" | |
] | |
} | |
], | |
"source": [ | |
"print_bond_info(mol)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"id": "16db24d0-3bdf-474e-bb8c-eb53b0db43a4", | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "rdkit_master", | |
"language": "python", | |
"name": "rdkit_master" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.8.15" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment