{ "info": { "author": "lu", "author_email": "lu@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# transformation between smiles and bsmiles\nAll chemical molecules can be represented by SMILES notation. But from SMILES notation, can not seperate molecules into fragments directly. Here I create a new notation called BSMILES which is easier to check each fragment.\n\nExample:\n\n SMILES notation: O(=C1CSC(c4ccccn4)N(c2ccc3c(cccc3)c2)1) \n\n BSMILES notation: O{0=C!CSCN!{4c%ccc!c(cccc!)c%}{3c!ccccn!}}\n\n ## how to convert SMILES to BSMILES\n from BSMILES.BSMILES import encode \n\n bsmiles = encode(smiles)\n\n ## how to convert BSMILES back to SMILES\n from BSMILES.B_to_smiles import convertB \n\n smiles = convertB(bsmiles)\n\n ## how to get fragments from BSMILES notation\n 1. input one file then got one output file\n from BSMILES.B_to_smiles import bsmiles_to_frag \n\n inputfile_name =\"bsmiles\"\n outputfile_name=\"fragment\"\n bsmiles_to_frag(inputfile_name,outputfile_name)\n\n 2. input one bsmiles string return two vectors, the second one contains fragments.\n from BSMILES.B_to_smiles import getFragments\n\n bsmiles = \"any_kind_of_bsmiles\"\n visited = []#contain all unique fragments from bsmiles\n fragments = []#contain all fragments\n visited,bsmiles = getFragments(visited,bsmiles)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LUJUANJUAN/BSMILES", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "BSMILES", "package_url": "https://pypi.org/project/BSMILES/", "platform": "", "project_url": "https://pypi.org/project/BSMILES/", "project_urls": { "Homepage": "https://github.com/LUJUANJUAN/BSMILES" }, "release_url": "https://pypi.org/project/BSMILES/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "transformation between smiles and bsmiles", "version": "0.0.1" }, "last_serial": 4967272, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "cab41ca06081929f056daa08add713a1", "sha256": "281f80dda05cada7966631242618576439ffbd668ce1c9dfc85727b408f6d1d2" }, "downloads": -1, "filename": "BSMILES-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cab41ca06081929f056daa08add713a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7775, "upload_time": "2019-03-21T09:21:40", "url": "https://files.pythonhosted.org/packages/fa/ac/b34ad877f683bf30b3e131b53a2a8b88a3aeed3464aae15f18fd73304ee8/BSMILES-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d6bbf1f7751c0950ee6ae9636bbaa5d", "sha256": "f87fc6bbda6158273975b6e339635448999f1f303bcc99ddd87bb4767ee4bf94" }, "downloads": -1, "filename": "BSMILES-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2d6bbf1f7751c0950ee6ae9636bbaa5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5918, "upload_time": "2019-03-21T09:21:42", "url": "https://files.pythonhosted.org/packages/13/f6/d4427600b8e0ad2335b6368e1b314fdc8fb3c56de5153c6f296e33a543dc/BSMILES-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cab41ca06081929f056daa08add713a1", "sha256": "281f80dda05cada7966631242618576439ffbd668ce1c9dfc85727b408f6d1d2" }, "downloads": -1, "filename": "BSMILES-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cab41ca06081929f056daa08add713a1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7775, "upload_time": "2019-03-21T09:21:40", "url": "https://files.pythonhosted.org/packages/fa/ac/b34ad877f683bf30b3e131b53a2a8b88a3aeed3464aae15f18fd73304ee8/BSMILES-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d6bbf1f7751c0950ee6ae9636bbaa5d", "sha256": "f87fc6bbda6158273975b6e339635448999f1f303bcc99ddd87bb4767ee4bf94" }, "downloads": -1, "filename": "BSMILES-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2d6bbf1f7751c0950ee6ae9636bbaa5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5918, "upload_time": "2019-03-21T09:21:42", "url": "https://files.pythonhosted.org/packages/13/f6/d4427600b8e0ad2335b6368e1b314fdc8fb3c56de5153c6f296e33a543dc/BSMILES-0.0.1.tar.gz" } ] }