{ "info": { "author": "SANBI", "author_email": "help@sanbi.ac.za", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# **tbvcfreport**\n\n[![Build Status](https://travis-ci.org/COMBAT-TB/tbvcfreport.svg?branch=master)](https://travis-ci.org/COMBAT-TB/tbvcfreport)\n[![Anaconda-Server Badge](https://anaconda.org/thoba/tbvcfreport/badges/version.svg)](https://anaconda.org/thoba/tbvcfreport)\n\nA tool to generate an interactive HTML-based report from SnpEff annotated VCF file(s) with links to the Combat-TB-Explorer.\n\n![test-report-img](img/test-report.png)\n\n## Usage\n\n**Prerequisites:**\n\n- `python-pip`\n- [SnpEff](http://snpeff.sourceforge.net/SnpEff_manual.html) annotated *M.tuberculosis* VCF file(s).\n- A [Combat-TB-NeoDB](https://github.com/COMBAT-TB/combat-tb-neodb) instance, `tbvcfreport` defaults to [neodb.sanbi.ac.za](https://neodb.sanbi.ac.za).\n - See [combat-tb-neodb](https://github.com/COMBAT-TB/combat-tb-neodb) if you want a local installation and `export DATABASE_URI=localhost` for `tbvcfreport` to use your local instance.\n\n### Installation\n\n#### Using `pip`\n\n```sh\n$ pip install -i https://test.pypi.org/simple/ tbvcfreport\n...\n```\n\n#### From source\n\n```sh\n$ git clone https://github.com/COMBAT-TB/tbvcfreport.git\n...\n$ cd tbvcfreport\n$ virtualenv envname\n$ source envname/bin/activate\n$ pip install -r requirements.txt\n$ pip install -e .\n```\n\n### Run `tbvcfreport`\n\n```sh\n$ tbvcfreport --help\nUsage: tbvcfreport [OPTIONS] COMMAND [ARGS]...\n\n Generate an HTML-based VCF report from SnpEff annotated VCF file(s).\n\nOptions:\n --help Show this message and exit.\n\nCommands:\n generate Generate an interactive HTML-based VCF report.\n\n```\n\n```sh\n$ tbvcfreport generate --help\nUsage: tbvcfreport generate [OPTIONS] VCF_DIR\n\n Generate an interactive HTML-based VCF report.\n\nOptions:\n -t, --tbprofiler-report FILENAME\n TBProfiler json report.\n -f, --filter-udi / -nf, --no-filter-udi\n Filter upstream, downstream and intergenic\n variants. [default: True]\n --help Show this message and exit.\n\n```\n\n```sh\n$ tbvcfreport generate VCF_DIR/\nProcessing...\n```\n\nThis will generate a `{vcf-file-name}.html` file in the current working directory (`pwd`).\n\n## In Galaxy\n\n:construction:\n\nWe have also added `tbvcfreport` to the [Galaxy](https://github.com/galaxyproject) [Test Tool Shed](https://testtoolshed.g2.bx.psu.edu/repository?repository_id=0f42e4f01e64b182).\n\nKindly see [`this repository`](https://testtoolshed.g2.bx.psu.edu/repository?repository_id=0f42e4f01e64b182) for the latest revision.\n\n![Galaxy-tbvcfreport](img/tbvcfreport.png)", "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/COMBAT-TB/tbvcfreport", "keywords": "neo4j,vcf,tuberculosis,h37rv,snpeff", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "tbvcfreport", "package_url": "https://pypi.org/project/tbvcfreport/", "platform": "", "project_url": "https://pypi.org/project/tbvcfreport/", "project_urls": { "Homepage": "https://github.com/COMBAT-TB/tbvcfreport", "Project": "https://combattb.org", "Source": "https://github.com/COMBAT-TB/tbvcfreport", "Tracker": "https://github.com/COMBAT-TB/tbvcfreport/issues" }, "release_url": "https://pypi.org/project/tbvcfreport/0.1.7/", "requires_dist": null, "requires_python": "~=3.6", "summary": "Parses SnpEff generated VCF and generates an HTML report.", "version": "0.1.7" }, "last_serial": 5720783, "releases": { "0.1.7": [ { "comment_text": "", "digests": { "md5": "414b90115ee6d96e5d4cab79e9478258", "sha256": "f256a987ee3d6257f926ebc2d71d7f0c50480751bb354581e5ab57ef41a6f7a3" }, "downloads": -1, "filename": "tbvcfreport-0.1.7.tar.gz", "has_sig": false, "md5_digest": "414b90115ee6d96e5d4cab79e9478258", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 12082, "upload_time": "2019-08-23T13:29:48", "url": "https://files.pythonhosted.org/packages/47/71/59fd7a721167e01b80d6673be74560746b17d478322b956991097ecd1b7a/tbvcfreport-0.1.7.tar.gz" } ], "0.1.7.dev20190823": [ { "comment_text": "", "digests": { "md5": "a7940197fca67116952c4d4dd3c6662a", "sha256": "ab359e10a7a300c7a940f94b03dd1412a377ace1ca2066bbfc319551d6f4a60f" }, "downloads": -1, "filename": "tbvcfreport-0.1.7.dev20190823-py3-none-any.whl", "has_sig": false, "md5_digest": "a7940197fca67116952c4d4dd3c6662a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.6", "size": 25264, "upload_time": "2019-08-23T13:29:43", "url": "https://files.pythonhosted.org/packages/40/1f/d43c4b94584ecc7a4a510eb65f91d13c9f8ac257a565cf98be769a6aa47b/tbvcfreport-0.1.7.dev20190823-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "080e2a95b9a8b5bf4f69b052e0cdb159", "sha256": "7114e2fcd41b247439633d2b98a6ee173c6723964e555de178e00abb7090133f" }, "downloads": -1, "filename": "tbvcfreport-0.1.7.dev20190823.tar.gz", "has_sig": false, "md5_digest": "080e2a95b9a8b5bf4f69b052e0cdb159", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 12105, "upload_time": "2019-08-23T13:29:46", "url": "https://files.pythonhosted.org/packages/3d/7e/a9a20cdfcaedbac2602d99b5da0810c0e4fba11f207d6e0d1868ecbcd0e0/tbvcfreport-0.1.7.dev20190823.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "414b90115ee6d96e5d4cab79e9478258", "sha256": "f256a987ee3d6257f926ebc2d71d7f0c50480751bb354581e5ab57ef41a6f7a3" }, "downloads": -1, "filename": "tbvcfreport-0.1.7.tar.gz", "has_sig": false, "md5_digest": "414b90115ee6d96e5d4cab79e9478258", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 12082, "upload_time": "2019-08-23T13:29:48", "url": "https://files.pythonhosted.org/packages/47/71/59fd7a721167e01b80d6673be74560746b17d478322b956991097ecd1b7a/tbvcfreport-0.1.7.tar.gz" } ] }