{ "info": { "author": "Guanliang Meng", "author_email": "mengguanliang@foxmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "# depth_stat\n\n## 1 Introduction\n\n`depth_stat` is a tool to extract the sequence depth from depthfile and do some statstics.\n\nsee `https://github.com/linzhi2013/depth_stat`.\n\n## 2 Installation\n\n pip install depth_stat\n\nThere will be a command `depth_stat` created under the same directory as your `pip` command.\n\n## 3 Usage\n\n### 3.1 command line\n\n $ depth_stat\n usage: depth_stat [-h] -i [-q ] [-a ] [-b ]\n [-f ]\n\n To extract the sequence depth from depthfile.\n\n The depthfile content format:\n seqid1 depth1 depth2 depth3 ...\n seqid2 depth1 depth2 depth3 ...\n\n This script is part of the MitoZ project, by Guanliang MENG.\n See https://github.com/linzhi2013/depth_stat.\n\n\n optional arguments:\n -h, --help show this help message and exit\n -i input depthfile\n -q sequence id\n -a the start position, Python-style (0-leftmost)\n -b the end position, Python-style for slicing\n -f a file of 'seqid start end' list on each line\n\n\n### 3.2 in a Python3 script\n\n In [1]: from depth_stat import SeqDepth\n\n In [2]: sdj = SeqDepth('DRR095708_mitoscaf.fa.fsa.depth')\n\n In [3]: sdj.extract_range_depth(seqid='scaffold44450', start=0, end=20)\n Out[3]: [1, 1, 1, 1, 4, 4, 4, 4, 5, 5, 5, 6, 7, 7, 8, 8, 8, 8, 8, 8]\n\n In [4]: sdj.range_depth_stat(seqid='scaffold44450', start=0, end=20)\n Out[4]: ('scaffold44450', 0, 20, 1, 5.15, 8)\n\n In [5]: sdj.range_depth_freq(seqid='scaffold44450', start=0, end=20)\n Out[5]: [(1, 4), (4, 4), (5, 3), (6, 1), (7, 2), (8, 6)]\n\n\n\n## Author\nGuanliang MENG\n\n## Citation\nThis script is part of the package `MitoZ`, when you use the script in your work, please cite:\n \n MitoZ: A toolkit for mitochondrial genome assembly, annotation and visualization with NGS data. Guangliang Meng, Yiyuan Li, Chentao Yang, Shanlin Liu (in manuscript)", "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/linzhi2013", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "depth-stat", "package_url": "https://pypi.org/project/depth-stat/", "platform": "", "project_url": "https://pypi.org/project/depth-stat/", "project_urls": { "Homepage": "https://github.com/linzhi2013" }, "release_url": "https://pypi.org/project/depth-stat/0.0.1/", "requires_dist": null, "requires_python": ">=3", "summary": "To extract the sequence depth from depthfile.", "version": "0.0.1" }, "last_serial": 4321844, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0550701631850c48b91fb8ae811db2e4", "sha256": "2db0f510a12319c4cd8b529c4440e095fb9218f47477f7e378fd64787bafe04b" }, "downloads": -1, "filename": "depth_stat-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0550701631850c48b91fb8ae811db2e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 17700, "upload_time": "2018-09-29T03:41:49", "url": "https://files.pythonhosted.org/packages/60/0d/c3ff4feb09dc63228da89246957c6cb7322935c5c077c19bbd5a1934f9fc/depth_stat-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0550701631850c48b91fb8ae811db2e4", "sha256": "2db0f510a12319c4cd8b529c4440e095fb9218f47477f7e378fd64787bafe04b" }, "downloads": -1, "filename": "depth_stat-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0550701631850c48b91fb8ae811db2e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 17700, "upload_time": "2018-09-29T03:41:49", "url": "https://files.pythonhosted.org/packages/60/0d/c3ff4feb09dc63228da89246957c6cb7322935c5c077c19bbd5a1934f9fc/depth_stat-0.0.1.tar.gz" } ] }