Skip to content

Instantly share code, notes, and snippets.

@greglandrum
Created October 26, 2022 03:07
Show Gist options
  • Save greglandrum/f86587a196da572a2f8b813e429c19e7 to your computer and use it in GitHub Desktop.
Save greglandrum/f86587a196da572a2f8b813e429c19e7 to your computer and use it in GitHub Desktop.
Github5634.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:03:08.499660Z",
"end_time": "2022-10-26T03:03:08.506312Z"
},
"trusted": true
},
"cell_type": "code",
"source": "from rdkit import Chem\nfrom rdkit.Chem.Draw import IPythonConsole\n\nmolecule = Chem.MolFromMolBlock(\"\"\"0121.cdx\n ChemDraw04300520492D\n\n 12 13 0 0 0 0 0 0 0 0999 V2000\n -0.9920 0.7219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.9920 -0.1031 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.2775 -0.5156 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.4369 -0.1031 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.4369 0.7219 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.2775 1.1344 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.7065 -0.5156 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n 1.2216 -0.3581 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n 1.7065 0.3094 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1.2216 0.9768 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n -0.6348 -0.7219 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0\n 0.0797 -1.1344 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1 2 4 0 \n 2 3 4 0 \n 3 4 4 0 \n 4 5 4 0 \n 5 6 4 0 \n 6 1 4 0 \n 2 7 1 0 \n 4 8 1 0 \n 8 9 1 0 \n 9 10 1 0 \n 10 5 1 0 \n 3 11 1 0 \n 11 12 1 0 \nM STY 1 1 SUP\nM SLB 1 1 1\nM SAL 1 2 11 12\nM SBL 1 1 12\nM SMT 1 OCH3\nM SBV 1 12 -2.4599 6.1489\nM END\"\"\")\nmolecule",
"execution_count": 6,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 6,
"data": {
"text/plain": "<rdkit.Chem.rdchem.Mol at 0x7f1f421b9340>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nO3deVhTV/oH8DchQTYVlCBYUHFhs1hcUOuGC6OOgtNOhT5OjWvFukyC2hF/09aoj7RoHRuo1cFSx7i0U5xuQVsQUSjuqICigBVQUBQUENmX5Pz+uNcElSUhN9yQvJ/Hp88Rzrn3ReiXu5x7LocQAgghhDqLy3YBCCHUvWGMIoSQTjBGEUJIJxijCCGkE4xRhBDSCY/tAhBCHWlshCdPoLISevYEe3uwsGC7IPQCjFGEDNXZsxAbCwkJcPv2Cx93cYGZM+Htt2HOHOBwWCoOqXFw3ihCBic3F0JDIT6+g27jxoFUCuPHd0lNqE0Yo8igHT9+3MzMLCMjQyQSWVtbs11Ol0hNhb/8BSoq1B8ZOBA8PaFnT6ipgfx8yMlRf6pHDzh0CIKDu75MpEYQMki5ublz584FADs7OwDo379/dHS0QqFguy49u36dWFoSAAJAOBzy3nvk5s2X+xQUkNWriZkZ3Y3LJSdOsFEromGMIoNTXl4uFov5fD6VoaGhoWPGjKF+648fP/7SpUtsF6g3dXXE25sORz6ffPdde53j49WB268fKS3tqirRyzBGkQFRKBQymczBwQEAuFyuUCgsKSkhhCiVytjY2AEDBgAAh8MJCgq6d+8e28XqwZ49dCwCEKm04/7ffqvuv26d/utDrcMYRYbi9OnTI0aMoI46p06dmpGR8VKH6upqiURiYWEBANbW1hKJpK6ujpVS9UKpJJ6edCb6+BANL1/MnEkPsbUlVVV6LhG1DmMUsa+wsFAoFFIB6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vmJdsMsbxzuu9hzeFiNkZggNVe3zuoB7L6obU/bUbByAJpIB41x9uOfbnG0JQQ47Ce8khAYWT5CcHp5W2yhWRPUJFm0wVmdI5E5mGjN1kamai0Mr6ByHNkninSLtKTYKU1ptEBz3kJBzaRzUWzCQhJdlIVKbYrtFz7jki89BvpyZcRmRFnS22iRSKRGGVLmLuf/smOQmEzrvAvNN42zWr+ccTUfVdk06EZpNp7ppNpeHqYGmC4TFpTvwDNo1Ds1ESneOCS8qGVEXSjxjyC5koYEs5KKBm0TRxLTTHn057oMllt8veYrfD8dJfX1O/w/WVv0GV4bCTMcIe3sNGBuLfqaza06GvnxTk8z0bxnJsDzsdSsml0IbvphWkCw+4X9awzhiQ231lP/sFjJjGk1aoPL4AAACQelRYdFNNSUxFUyByZGtpdCAyMDIyLjAzLjUAAHicXY7RDcQwCENXuc+eRBCQBILy2QEyBGt0+DZVL6ruCz1b2N5HcMjYR0hE8PgcGyGZGyRGzqVAT4SaS4PrmrDfgpjVKVSuCp2wZPXJTJmhM4qwTs613WykFS4kL8smdNO2vv/TX/Xu8rYnrq70hP/GfI8TjNArTK3ZaWUAAAAASUVORK5CYII=\n"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:03:13.982541Z",
"end_time": "2022-10-26T03:03:13.991381Z"
},
"trusted": true
},
"cell_type": "code",
"source": "from rdkit.Chem import rdAbbreviations\nabbrmol = rdAbbreviations.CondenseAbbreviationSubstanceGroups(molecule)\nabbrmol",
"execution_count": 7,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 7,
"data": {
"text/plain": "<rdkit.Chem.rdchem.Mol at 0x7f1f421b9400>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nO3dd1xTV/8H8G8CYcoGRRQFB6O4itZRxD1oC6JV6tNq3MWNom21rmBdVNsaWmtFiwrW6oPrV0TU4kCx6qN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IkYckiOGhvq6/zaU1m14+/6hbemhkTg/OTFG+jTM3FwpOdSdzpeR+vnYrZF++hjndwIIWt7I3mOP83RdI6CeDqxi1JKSWAWN+HD4sfJTvQOKBzaoIs2C1CG4BengfBVpBcnKGh9fpHQl8EmRfkcNBWNtFRhoogNUYP+qxlaQUFrDL0Dj2nqNUbi3jILjWKcGlxllosG3dSDolhi9se3C/W/fp3HYqbro3E3jkHW2YjqracVMlswmy7qk7fL05UI+D9mKIY9S8lLI80pUbZ4KJBSL5pFiZZNI0Y1MviykFqDsrewk3dffLn7zB+zNnjeTvVNbAAAAlHpUWHRTTUlMRVMgcmRraXQgMjAyMi4wMy41AAB4nF2OOw4DMQhEr5JiiyRiLT4GG7ncJp0PwTX28LFXiRWFBh4jZngGBfejB0cE9dt53zGZ5AqjFyaHNgYuRedCSQ0apizmkwmFoFFiJpssWi8uaAoD0fOSMXmxuq7/3SmR5HyxO//KE1fW/jH/PvOArR8vaau28w1lpCuTD1EOoQAAAABJRU5ErkJggg==\n"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:04:09.944052Z",
"end_time": "2022-10-26T03:04:09.951462Z"
},
"trusted": true
},
"cell_type": "code",
"source": "nmol = Chem.MolFromSmiles('c1ccccc1OC')\nnmol",
"execution_count": 8,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 8,
"data": {
"text/plain": "<rdkit.Chem.rdchem.Mol at 0x7f1f431e2b80>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAeHklEQVR4nO3daVRT19oH8CeGocyIgAyOKEjRC8WAFBIEKQgiqHW+aznU2tr2vl6tV63W3ldvW+ValsuqtavXVpdFrdQRCQhUFJUkICJSqSiCRVQmmQTKTJL9fji8kXpbOCE5ORme3/KTZ5/k6ar82TvZ59kcQggghBAaqmFsF4AQQroNYxQhhFSCMYoQQirBGEUIIZVgjCIltLS0sF0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dFSf1HBs+iDh7bRy2x+oe0z51e9w/FpyEa7H6X1AAAAABJRU5ErkJggg==\n"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:04:42.497723Z",
"end_time": "2022-10-26T03:04:42.503900Z"
},
"trusted": true
},
"cell_type": "code",
"source": "nmol2 = rdAbbreviations.CondenseMolAbbreviations(nmol,rdAbbreviations.GetDefaultAbbreviations())\nnmol2",
"execution_count": 9,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 9,
"data": {
"text/plain": "<rdkit.Chem.rdchem.Mol at 0x7f1f421b9460>",
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAcIAAACWCAIAAADCEh9HAAAABmJLR0QA/wD/AP+gvaeTAAAec0lEQVR4nO3dezzU+f4H8PeMcUlRlLBRJ8kqOiq6Ss5GaiVtt909Svebbm6VZFUuXUToYrtsuynStrWlnG7Ipg6rTeKXe3SjiyzKbZqM8fvjcx7f42A1M+Y73zHzfv418f3wGmvf3t/v9/P9fFgtLS2AEEJIXGymAyCEUPeGZRQhhLoEyyhCCHUJllGEEOoSDtMBFMKrV68qKyuZTiElpqamqqqqTKdASHqwjNIuOjo6JSUlJiaG6SBSEhwcPHfuXFNTU6aDICQlLJzwRKuSkhJzc3M+n29iYqKsrMx0HNq9ffv2zZs306dPv379OtNZEJISLKP0mjVr1pUrV5YtW/bjjz8ynUUaqqurTUxMqqqqEhISnJycmI6DkDRgGaVRSkqKnZ2dhoZGUVGRvr4+03GkJDIy0tPTc8iQIXl5eXiRFCkCvFNPl+bmZg8PDwD47rvvFKeGAsD69evNzMxKS0sPHz7MdBaEpAG7UbocOnRo48aNRkZG+fn5itaUJScnT506VUNDo7i4WE9Pj+k4CNELu1Fa1NTUBAQEAEB4eLii1VAAsLe3nzFjRl1d3fbt25nOghDtsBulxfr166OioqZMmXLr1i2mszCDTFFoamq6d++elZUV03EQohF2o5KXn59/7NgxJSWlyMhIprMwxtjYeP369QKBwN3dHf9UI/m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syepNIJpBuWQsRVHGCGigEAzhgk2pjwQwAAAADeelRYdE1PTCByZGtpdCAyMDIyLjAzLjUAAHicfZFdCsMgDMffPUUuMIlftT62tYwxaqHrdoe97/4sVrq0DEwMaPypyV8B2ZZ4f3/gZzoKAYCVEUKAl0FEMUGeQD9ebwmGtev3zDA/0/oAT47Zz2S3ztOeUTAASqOV1QEuSuoQ0LSUws34qCaQ9pVvnVdV0hQy6I3k/T/Qnq6s3OiORVa4hjgl0ZdmKi97WEBLV8AKN6Z4Uqvo188psn6WQrNKlsKwFDYHN5zdcVu0gIarVxSea7Q5dSzl+HBe719Oc/EFxQJu1sVLQTYAAABtelRYdFNNSUxFUyByZGtpdCAyMDIyLjAzLjUAAHic00o2TAYBQ4UaDSM9U3NDE2MdAx1rQz0DGNNAz9jI0MTIUsdQz8jS0sBEx1rXUM/Q3MLUHEXE0ggkYoAkqwuXhhsBF9LUUfH3TbUGA5UaAHw+HCLqGsicAAAAAElFTkSuQmCC\n"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:04:58.939890Z",
"end_time": "2022-10-26T03:04:58.942437Z"
},
"trusted": true
},
"cell_type": "code",
"source": "print(Chem.MolToMolBlock(nmol2))",
"execution_count": 11,
"outputs": [
{
"output_type": "stream",
"text": "\n RDKit 2D\n\n 7 7 0 0 0 0 0 0 0 0999 V2000\n 1.5000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.7500 -1.2990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.7500 -1.2990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -1.5000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n -0.7500 1.2990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.7500 1.2990 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1.5000 2.5981 0.0000 R 0 0 0 0 0 0 0 0 0 0 0 0\n 1 2 2 0\n 2 3 1 0\n 3 4 2 0\n 4 5 1 0\n 5 6 2 0\n 6 7 1 0\n 6 1 1 0\nM END\n\n",
"name": "stdout"
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2022-10-26T03:06:20.684407Z",
"end_time": "2022-10-26T03:06:20.687549Z"
},
"trusted": true
},
"cell_type": "code",
"source": "nmol2 = rdAbbreviations.LabelMolAbbreviations(nmol,rdAbbreviations.GetDefaultAbbreviations())\nprint(Chem.MolToV3KMolBlock(nmol2))",
"execution_count": 16,
"outputs": [
{
"output_type": "stream",
"text": "\n RDKit 2D\n\n 0 0 0 0 0 0 0 0 0 0999 V3000\nM V30 BEGIN CTAB\nM V30 COUNTS 8 8 1 0 0\nM V30 BEGIN ATOM\nM V30 1 C 1.500000 0.000000 0.000000 0\nM V30 2 C 0.750000 -1.299038 0.000000 0\nM V30 3 C -0.750000 -1.299038 0.000000 0\nM V30 4 C -1.500000 0.000000 0.000000 0\nM V30 5 C -0.750000 1.299038 0.000000 0\nM V30 6 C 0.750000 1.299038 0.000000 0\nM V30 7 O 1.500000 2.598076 0.000000 0\nM V30 8 C 3.000000 2.598076 0.000000 0\nM V30 END ATOM\nM V30 BEGIN BOND\nM V30 1 2 1 2\nM V30 2 1 2 3\nM V30 3 2 3 4\nM V30 4 1 4 5\nM V30 5 2 5 6\nM V30 6 1 6 7\nM V30 7 1 7 8\nM V30 8 1 6 1\nM V30 END BOND\nM V30 BEGIN SGROUP\nM V30 1 SUP 0 ATOMS=(2 7 8) XBONDS=(1 6) LABEL=OMe SAP=(3 7 6 1)\nM V30 END SGROUP\nM V30 END CTAB\nM END\n\n",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.9.1",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"toc": {
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"base_numbering": 1,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
},
"gist": {
"id": "",
"data": {
"description": "Github5634.ipynb",
"public": true
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment