{ "info": { "author": "John Didion", "author_email": "github@didion.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "License :: Public Domain", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# ngsindex\n\nSupport for reading various NGS-related index formats:\n\n* [BAI](https://samtools.github.io/hts-specs/SAMv1.pdf)\n* [TBI](https://samtools.github.io/hts-specs/tabix.pdf)\n* [CSI](https://samtools.github.io/hts-specs/CSIv2.pdf)\n\n# Installation\n\n```bash\npip install ngsindex\n```\n\n# Usage\n\n```python\nfrom ngsindex import IndexType, resolve_index_file, parse_index\nfrom pathlib import Path\n\nbam_file = Path('/path/to/reads.bam')\n\n# Resolve the location of the BAM index file.\nindex_file = resolve_index_file(bam_file, IndexType.BAI)\n\n# Load the index\nindex = parse_index(index_file)\n\n# Loop through chromosome indexes\nfor refidx in index.ref_indexes:\n ...\n```\n\n# Limitations\n\n* CRAM files are not yet supported (neither .crai nor .bai index files).\n\n# Todo\n\n* Add support for splitting BAI:\n * https://github.com/samtools/hts-specs/pull/321\n * https://github.com/tomwhite/hts-specs/blob/sbi/SAMv1.tex", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jdidion/ngsindex", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ngsindex", "package_url": "https://pypi.org/project/ngsindex/", "platform": "", "project_url": "https://pypi.org/project/ngsindex/", "project_urls": { "Homepage": "https://github.com/jdidion/ngsindex" }, "release_url": "https://pypi.org/project/ngsindex/0.1.7/", "requires_dist": null, "requires_python": "", "summary": "Utilities for working with NGS index formats.", "version": "0.1.7" }, "last_serial": 5226097, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "100edbeaf5fd8e4bb83878f144fdd870", "sha256": "f2fb686b59257c83874fada5d663a74fd6deb9f13af35336e3e87f8d01d8cff5" }, "downloads": -1, "filename": "ngsindex-0.1.0.tar.gz", "has_sig": false, "md5_digest": "100edbeaf5fd8e4bb83878f144fdd870", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28192, "upload_time": "2018-08-06T13:38:39", "url": "https://files.pythonhosted.org/packages/f1/20/819a4b6bf698dd3cf72e6de21b4060b488907a92421a1c16e054a9ab33ee/ngsindex-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d089635d5bd488b2ec1ea9444b172711", "sha256": "b16230c2e15032c375708d3518c4f9017de5722f85a71170c67ef8058fca3541" }, "downloads": -1, "filename": "ngsindex-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d089635d5bd488b2ec1ea9444b172711", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28190, "upload_time": "2018-08-06T13:40:32", "url": "https://files.pythonhosted.org/packages/0b/1c/10f104b36b205e84c2b5d4bd0f7ad9ea06ef384c3ed037e20d6920575ab8/ngsindex-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "39153c6e7c1c0df13a876c573f2aea58", "sha256": "c1edcfa01b60e569305eab39bcbf96046923b4b5a2adb93209fbad3794dfe954" }, "downloads": -1, "filename": "ngsindex-0.1.2.tar.gz", "has_sig": false, "md5_digest": "39153c6e7c1c0df13a876c573f2aea58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28251, "upload_time": "2018-08-08T16:01:29", "url": "https://files.pythonhosted.org/packages/5e/30/6d500e605714c812ceca22db31444cc0b09096108bcdd4363c515931065f/ngsindex-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3867389345bfd2886b197c4d383eda1a", "sha256": "caccbd6b23bc701d8a2a47901cf8be1aa3e7d5c49b93b28cc749e43b20f6d485" }, "downloads": -1, "filename": "ngsindex-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3867389345bfd2886b197c4d383eda1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28255, "upload_time": "2018-08-08T16:08:20", "url": "https://files.pythonhosted.org/packages/5b/fa/bafa9accad7d838ed9cf6a46a54acfb526e8c81acdef278fe86a5a85dc67/ngsindex-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "61ac20a8c002b2faa5119d62c8abca2c", "sha256": "9f438c722b3e3eb8dc2e6de8763b6a4fad651a6b436915b8c5b168674aad01c4" }, "downloads": -1, "filename": "ngsindex-0.1.4.tar.gz", "has_sig": false, "md5_digest": "61ac20a8c002b2faa5119d62c8abca2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43150, "upload_time": "2019-03-23T20:22:59", "url": "https://files.pythonhosted.org/packages/1c/a2/5b47d66a9c087a1a5af07c76b49595efdbbfa0dc2d39870e1165e4034e1c/ngsindex-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "602e54f51cb9ceca5f945e54efffcf74", "sha256": "e8499e5e7f84e819dbf167017b748d0a17e1b287280a58c51582a52d77df7ddd" }, "downloads": -1, "filename": "ngsindex-0.1.5.tar.gz", "has_sig": false, "md5_digest": "602e54f51cb9ceca5f945e54efffcf74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43203, "upload_time": "2019-05-04T14:07:45", "url": "https://files.pythonhosted.org/packages/36/63/40d3a14b876804e8298944aef81d424ed57f81656b142f3e67eafefb7310/ngsindex-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "566e284dc7540583ce3a296f8a86795e", "sha256": "dd4e247615e886483af3ccc2e331ba21b12d64994b4c8d47e5c4a2db04e50ae4" }, "downloads": -1, "filename": "ngsindex-0.1.6.tar.gz", "has_sig": false, "md5_digest": "566e284dc7540583ce3a296f8a86795e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43311, "upload_time": "2019-05-04T16:20:17", "url": "https://files.pythonhosted.org/packages/52/2a/9de1678c1f159a1010a1e243f1041efb0cca49586307c3f185ade2db1aef/ngsindex-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "887b971ba7ce356a2ea4ca13fa3f55ca", "sha256": "8996c6e762df0814631e2e5f5b97733ebcf30cd7ac0884f149b6422a9a1eb38a" }, "downloads": -1, "filename": "ngsindex-0.1.7.tar.gz", "has_sig": false, "md5_digest": "887b971ba7ce356a2ea4ca13fa3f55ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43332, "upload_time": "2019-05-04T16:55:28", "url": "https://files.pythonhosted.org/packages/32/55/1838a41dda1d46e74319453f234354166164abcbcb9b0fe46a707c33cc29/ngsindex-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "887b971ba7ce356a2ea4ca13fa3f55ca", "sha256": "8996c6e762df0814631e2e5f5b97733ebcf30cd7ac0884f149b6422a9a1eb38a" }, "downloads": -1, "filename": "ngsindex-0.1.7.tar.gz", "has_sig": false, "md5_digest": "887b971ba7ce356a2ea4ca13fa3f55ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43332, "upload_time": "2019-05-04T16:55:28", "url": "https://files.pythonhosted.org/packages/32/55/1838a41dda1d46e74319453f234354166164abcbcb9b0fe46a707c33cc29/ngsindex-0.1.7.tar.gz" } ] }