{ "info": { "author": "Applied Bioinformatics Laboratory", "author_email": "abil@ihrc.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization" ], "description": "* [tagore](#tagore) \n * [Installation](#installation) \n * [Requirements](#requirements) \n * [Quick start](#quick-start) \n * [Usage](#usage) \n * [Input file description](#input-file-description) \n * [Etymology](#etymology) \n\n# tagore\n\n`tagore` is a simple way to visualize features on human chromosome ideograms as shown in this article: https://www.nature.com/articles/srep12376\n\n`tagore` was designed to allow everyone to create 23andMe style chromosome painting diagrams.\n\n![tagore](https://github.com/jordanlab/tagore/raw/master/tagore.png)\n\n## Installation\n\n`tagore` is a simple Python script that uses the RSVG library and has no other depenendies.\n\n```bash\npip install tagore\ntagore --version\n# tagore (version 1.0.1)\n```\n\n### Requirements\n* Python 3.6+\n* [RSVG](https://developer.gnome.org/rsvg/stable/)\n* [Click](https://click.palletsprojects.com/en/7.x/) (automatically installed if `pip` is used)\n\n## Quick start\n\nThe demo data consists of [Catalogue of Somatic Mutations in Cancer (COSMIC) Cancer Gene Census](https://www.nature.com/articles/s41568-018-0060-1) genes and 100 randomly simulated mutations. Points represent single nucleotide variants (i.e. variant present in <3 samples); triangles represent single nucleotide polymorphisms (i.e. variants found in many samples); and short lines (single chromosome) represent known INDEL sites.\n\n```bash\ntagore --input example_ideogram/test.bed --prefix example_ideogram/example -vf\n```\n\n## Usage\n```\nusage: tagore.py [-h] [--version] -i [-p [output file prefix]] [-v] [-f]\n\ntagore: a utility for illustrating human chromosomes\n\noptional arguments:\n -h, --help show this help message and exit\n --version Print the software version.\n -i , --input Input BED-like file\n -p [output file prefix], --prefix [output file prefix] Output prefix [Default: \"out\"]\n -v, --verbose Display verbose output\n -f, --force Overwrite output files if they exist already\n\n```\nThe input file is a bed-like format, described below. If an output prefix is not specified, the scripts uses \"out\" as the default prefix.\n\nHelper scripts for converting RFMix and ADMIXTURE outputs are included in the `scripts/` folder.\n\nA more complete example of a full chromosome painting using an RFMix output can be seen by running:\n\n```bash\n./scripts/rfmix2tagore.py --chr1 example_ideogram/1KGP-MXL104_chr1.bed \\\n\t--chr2 example_ideogram/1KGP-MXL104_chr2.bed \\\n\t--out example_ideogram/1KGP-MXL104_tagore.bed\n\ntagore -input example_ideogram/1KGP-MXL104_tagore.bed \\\n\t--prefix example_ideogram/1KGP-MXL104 \\\n --build hg37\n --verbose\n\n```\n\n## Input file description\n```\n#chr\tstart\tstop\tfeature\tsize\tcolor\tchrCopy\nchr1\t10000000\t20000000\t0\t1\t#FF0000\t1\nchr2\t20000000\t30000000\t0\t1\t#FF0000\t2\nchr2\t40000000\t50000000\t0\t0.5\t#FF0000\t1\n```\n\nEach column is explained below:\n1. *chr* - The chromosome on which a feature has to be drawn\n2. *start* - Start position (in bp) for feature\n3. *stop* - Stop position (in bp) for feature\n4. *feature* - The shape of the feature to be drawn\n\t* 0 will draw a rectangle\n\t* 1 will draw a circle\n\t* 2 will draw a triangle pointing to the genomic location\n\t* 3 will draw a line at that genomic location\n5. *size* - The horizontal size of the feature. Should range between 0 and 1.\n6. *color* - Specify the color of the genomic feature with a hex value (#FF0000 for red, etc.)\n7. *chrCopy* - Specify the chromosome copy on which the feature should be drawn (1 or 2). To draw the same feature on both chromosomes, you must specify the feature twice\n\n\n## Etymology\n\n[Tagore](https://en.wikipedia.org/wiki/Rabindranath_Tagore) (/t\u00e6\u02c8g\u0254\u02d0r/) was a prolific songwriter,\n artist, and influential poet of 19th and 20th century India. Notably, Tagore spoke out against\n racial prejudice and espoused the princple respect for all people, regardless of ancestry or\n ethnic bacground.\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/jordanlab/tagore", "keywords": "Human,chromosome,ideogram,visualization", "license": "", "maintainer": "", "maintainer_email": "", "name": "tagore", "package_url": "https://pypi.org/project/tagore/", "platform": "", "project_url": "https://pypi.org/project/tagore/", "project_urls": { "Homepage": "https://github.com/jordanlab/tagore" }, "release_url": "https://pypi.org/project/tagore/1.0.1/", "requires_dist": [ "click" ], "requires_python": ">=3.6", "summary": "A simple way to visualize features on human chromosome ideograms", "version": "1.0.1" }, "last_serial": 5858174, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "04068bb5a618410ab3d7f090800d5995", "sha256": "62f24f30338e19fe7eabeea212a0ff48fc4855c54892ce2bf63f3978165534b0" }, "downloads": -1, "filename": "tagore-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "04068bb5a618410ab3d7f090800d5995", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 24489, "upload_time": "2019-09-19T18:52:32", "url": "https://files.pythonhosted.org/packages/9a/11/c658072d64b56776ec296ff00b40c16144ebf9426f2def55f1635e459593/tagore-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0fcba35ebafc80b61b82c640aef7b3d7", "sha256": "051bfd915dea7f408d6aec1576ed99c730faf3cf468be95f79ac5aaf2f5bf502" }, "downloads": -1, "filename": "tagore-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0fcba35ebafc80b61b82c640aef7b3d7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 13354, "upload_time": "2019-09-19T18:52:35", "url": "https://files.pythonhosted.org/packages/98/75/da7e0d8299ec290c5a1545259752d643de7b3f7bdf8f7f92806dbb62969e/tagore-1.0.1.tar.gz" } ], "1.0.post1": [ { "comment_text": "", "digests": { "md5": "6776b421e077d5915ad6f8bda8e3003b", "sha256": "59e86c545ee62c95fa38ed3553bafb8503061d7efdbad00de4e36c9413b118b5" }, "downloads": -1, "filename": "tagore-1.0.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "6776b421e077d5915ad6f8bda8e3003b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 23607, "upload_time": "2019-09-18T17:48:06", "url": "https://files.pythonhosted.org/packages/2f/a6/778459a2ab7d8d37ed0f15710c62813ad881b28ac579a379ca10e6b994b3/tagore-1.0.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c6f988dbab291566a72f9f2f232cdec", "sha256": "421ec158e7444e02f8caf9a470cd46012ae3b2e9f34439506df673c0a9e02411" }, "downloads": -1, "filename": "tagore-1.0.post1.tar.gz", "has_sig": false, "md5_digest": "3c6f988dbab291566a72f9f2f232cdec", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 11953, "upload_time": "2019-09-18T17:48:08", "url": "https://files.pythonhosted.org/packages/06/15/a2a1c1c181256db4e36ea593e4bb0270ccc4fa74933fea21c8c1f6701dbe/tagore-1.0.post1.tar.gz" } ], "1.0.post2": [ { "comment_text": "", "digests": { "md5": "734888cb098689f4edaa0909c09779f1", "sha256": "4e0cdfc89b491e2d5e375202af4b9e98132d73cbfcfd8484be1a3a939954127c" }, "downloads": -1, "filename": "tagore-1.0.post2-py3-none-any.whl", "has_sig": false, "md5_digest": "734888cb098689f4edaa0909c09779f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 23822, "upload_time": "2019-09-18T19:10:18", "url": "https://files.pythonhosted.org/packages/e0/e4/b38016cb7db74c0c32526955c3cf8f43b7cbba9f977ace995293858d6593/tagore-1.0.post2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39c0c59419ee5e7e7f29fbc87deaa2bf", "sha256": "7b3c8136bb202d9baf437e17b32086430f8bf6cef7398b179a715a4645d586bd" }, "downloads": -1, "filename": "tagore-1.0.post2.tar.gz", "has_sig": false, "md5_digest": "39c0c59419ee5e7e7f29fbc87deaa2bf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 12166, "upload_time": "2019-09-18T19:10:20", "url": "https://files.pythonhosted.org/packages/41/d7/14e791e36f44776579aae2d7c21ddf52542500b0d026cdd481efe3385f18/tagore-1.0.post2.tar.gz" } ], "1.0.post3": [ { "comment_text": "", "digests": { "md5": "059a5e14958f395f2b0792c2d57375d7", "sha256": "601f5d8405a0c28a8f8e5bbe09b9d03d2497b6e7978009782c530c3904d7aacb" }, "downloads": -1, "filename": "tagore-1.0.post3-py3-none-any.whl", "has_sig": false, "md5_digest": "059a5e14958f395f2b0792c2d57375d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 24057, "upload_time": "2019-09-19T15:00:28", "url": "https://files.pythonhosted.org/packages/db/6b/c86a7a267a08a397fae6e999b35a12c6000b932fd7d1993af547dd7a8e4d/tagore-1.0.post3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5489b89183c976d512d657491923114", "sha256": "f4a08bbe90762581a65ca247f30542eeabbceb4f15175e39f7d2828906541952" }, "downloads": -1, "filename": "tagore-1.0.post3.tar.gz", "has_sig": false, "md5_digest": "d5489b89183c976d512d657491923114", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 12623, "upload_time": "2019-09-19T15:00:29", "url": "https://files.pythonhosted.org/packages/de/8c/d7387d2ecc4f5a232d203b1fe1202912390a5e4865412076b8523e996895/tagore-1.0.post3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04068bb5a618410ab3d7f090800d5995", "sha256": "62f24f30338e19fe7eabeea212a0ff48fc4855c54892ce2bf63f3978165534b0" }, "downloads": -1, "filename": "tagore-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "04068bb5a618410ab3d7f090800d5995", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 24489, "upload_time": "2019-09-19T18:52:32", "url": "https://files.pythonhosted.org/packages/9a/11/c658072d64b56776ec296ff00b40c16144ebf9426f2def55f1635e459593/tagore-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0fcba35ebafc80b61b82c640aef7b3d7", "sha256": "051bfd915dea7f408d6aec1576ed99c730faf3cf468be95f79ac5aaf2f5bf502" }, "downloads": -1, "filename": "tagore-1.0.1.tar.gz", "has_sig": false, "md5_digest": "0fcba35ebafc80b61b82c640aef7b3d7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 13354, "upload_time": "2019-09-19T18:52:35", "url": "https://files.pythonhosted.org/packages/98/75/da7e0d8299ec290c5a1545259752d643de7b3f7bdf8f7f92806dbb62969e/tagore-1.0.1.tar.gz" } ] }