{ "info": { "author": "Yimin Zheng, Tianqin Li", "author_email": "zym.zym1220@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# circDraw\n\nA python package for circDraw visualization\n\n\n\n## Usage\n\n```python\nfrom circDraw import circDraw\n\n # initiate a circDraw instance\ncd = circDraw()\n\n# set color of circ_on_chr (optional)\ncd.set_palette([\"#5CA0F2\", \"#FF881D\", '#e30067', '#924900','#ab9c00','#ccd0d2', '#075800', '#5e0094',])\n\n# set color of modifications (optional)\nmod_palette = {'m6a': '#E98B2A',\n 'm5c': '#E16B8C',\n 'm1a': '#64363C',\n 'pu': '#ffa12c',\n '2ome': '#1a6f00',\n 'mre': '#6D2E5B',\n 'rbp': \"#2B5F75\",\n 'orf': '#516E41'}\ncd.set_mod_palette(mod_palette)\n\n# draw backsplicing site on chromosome region\ncd.circ_on_chr('Your file')\n\n# draw modifications on circRNA\ncd.mod_on_circ('Your file')\n```\n\n\n\n### API\n\n#####circ_on_chr\n\n```python\ncircDraw.circ_on_chr(file, title='circDraw', dpi=300, save='png', show=True, size=(10, 5))\n```\n\n- File:\n\n - Only supported 'csv'\n\n - | Start | End | Type | Name | Color (Optional) |\n | ----- | ---- | ---- | ---- | ---------------- |\n | | | | | |\n\n - Start < End\n\n - Type: **circ**, **exon**, **intron**, **gene**\n\n - Color: RGB, RGBA, hex, or [supported color names](https://matplotlib.org/examples/color/named_colors.html).\n\n- Title: The title of the plot\n\n- Save: file format you wish to save as, **PNG**, **PDF**, **JPEG**, etc.\n\n- Show: Bool, wheather to show the plot after rendering.\n\n- Size: (Length, Width) the size of the plot.\n\n#####mod_on_circ\n\n```python\ncircDraw.mod_on_circ(self, file, dpi=100, save='png', show=True, size=(7, 7), sep_mod=False)\n```\n\n- File:\n\n - Only supported 'csv'\n\n - | Start | End | Type | Name | Color (Optional) |\n | ----- | ---- | ---- | ---- | ---------------- |\n | | | | | |\n\n - Start < End\n\n - Type: **circ**, **exon**, **intron**, and modifications type\n\n - Modifications type: **m6A**, **m1A**, **m5C**, **pU**, **2OMe**, **MRE**, **RBP**, **ORF**\n\n - Color: RGB, RGBA, hex, or [supported color names](https://matplotlib.org/examples/color/named_colors.html).\n\n- Save: file format you wish to save as, **PNG**, **PDF**, **JPEG**, etc.\n\n- Show: Bool, wheather to show the plot after rendering.\n\n- Size: (Length, Width) the size of the plot.\n\n- sep_mod: Bool, prevent the modifications from overlapping if set **True**.\n\n##### set_palette\n\n```python\ncircDraw.set_palette(palette)\n```\n\nA list of colors, the length of the list must bigger than 5.\n\n##### set_mod_palette\n\n```python\ncircDraw.set_mod_palette(palette)\n```\n\nA dictionary of colors match with the modification. You can change any one of the modification colors.\n\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/Mr-Milk/circDraw-py", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "circDraw", "package_url": "https://pypi.org/project/circDraw/", "platform": "", "project_url": "https://pypi.org/project/circDraw/", "project_urls": { "Homepage": "https://github.com/Mr-Milk/circDraw-py" }, "release_url": "https://pypi.org/project/circDraw/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A python package for circDraw visualization", "version": "0.0.1" }, "last_serial": 5180930, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "34b386ae1010b810ba9e2b64acdcea4a", "sha256": "0e946487255e5ed77030113c4e92c75cd157414631af9cd99e5b62075ac72fe9" }, "downloads": -1, "filename": "circDraw-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34b386ae1010b810ba9e2b64acdcea4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11413, "upload_time": "2019-04-24T08:13:01", "url": "https://files.pythonhosted.org/packages/bb/02/aaf03455e44765692e18b487ce646511115f60674d32821d4dace153d22a/circDraw-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ac63d6c6775b12484f8c1c66fdb2d70", "sha256": "8a87b41f236b774196924d0549ce5042826bb0d4d5fc6c491ccdd8901be5af5e" }, "downloads": -1, "filename": "circDraw-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6ac63d6c6775b12484f8c1c66fdb2d70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6080, "upload_time": "2019-04-24T08:13:04", "url": "https://files.pythonhosted.org/packages/d0/36/5554e46af9f6ac9f083751c60ddd9b92c751e3e603a651f65eb100bf9335/circDraw-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34b386ae1010b810ba9e2b64acdcea4a", "sha256": "0e946487255e5ed77030113c4e92c75cd157414631af9cd99e5b62075ac72fe9" }, "downloads": -1, "filename": "circDraw-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34b386ae1010b810ba9e2b64acdcea4a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11413, "upload_time": "2019-04-24T08:13:01", "url": "https://files.pythonhosted.org/packages/bb/02/aaf03455e44765692e18b487ce646511115f60674d32821d4dace153d22a/circDraw-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ac63d6c6775b12484f8c1c66fdb2d70", "sha256": "8a87b41f236b774196924d0549ce5042826bb0d4d5fc6c491ccdd8901be5af5e" }, "downloads": -1, "filename": "circDraw-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6ac63d6c6775b12484f8c1c66fdb2d70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6080, "upload_time": "2019-04-24T08:13:04", "url": "https://files.pythonhosted.org/packages/d0/36/5554e46af9f6ac9f083751c60ddd9b92c751e3e603a651f65eb100bf9335/circDraw-0.0.1.tar.gz" } ] }