{ "info": { "author": "Markus Englund", "author_email": "jan.markus.englund@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "predsim\n=======\n\n|Build-Status| |Coverage-Status| |PyPI-Status| |License| |DOI-URI|\n\n**predsim** is a simple command-line tool for simulating predictive\ndatasets from `MrBayes' `_ output files. \nDatasets can be simulated under the GTR+G+I substitution model or any nested \nvariant available in MrBayes (JC69, HKY85 etc.). The code is contained\nwithin a single module that can be imported using Python's import mechanism.\nThe tool uses `Seq-Gen `_ for\nsimulating the DNA-sequences and builds on the third-party library\n`DendroPy `_.\n\nThe code has been tested with Python 3.3 and 3.6.\n\nSource repository: ``_\n\n--------------------------------\n\n.. contents:: Table of contents\n :local:\n :backlinks: none\n\n\nPrerequisites\n-------------\n\n* Python 3.3+\n* The Python library `DendroPy `_ (version 4.0 or higher)\n* The command-line tool `Seq-Gen `_\n\nAn easy way to get Python working on your computer is to install the free\n`Anaconda distribution `_.\n\n\nInstallation\n------------\n\nFor most users, the easiest way is probably to install the latest version \nhosted on `PyPI `_:\n\n.. code-block::\n\n $ pip install predsim\n\nThe project is hosted at ``_ and \ncan also be installed using git:\n\n.. code-block::\n\n $ git clone https://github.com/jmenglund/predsim.git\n $ cd predsim\n $ python setup.py install\n\n\nYou may consider installing predsim and its required Python packages \nwithin a virtual environment in order to avoid cluttering your system's \nPython path.\n\n\nUsage\n-----\n\n.. code-block::\n\n $ predsim --help\n usage: predsim [-h] [-V] [-l N] [-f #A #C #G #T] [-g N] [-s N] [-n N]\n [-o {nexus,phylip}] [-p FILE] [--seeds-file FILE]\n [--commands-file FILE] [--trees-file FILE]\n pfile tfile\n\n A command-line utility that reads posterior output of MrBayes and simulates\n predictive datasets with Seq-Gen.\n\n positional arguments:\n pfile path to a MrBayes p-file\n tfile path to a MrBayes t-file\n\n optional arguments:\n -h, --help show this help message and exit\n -V, --version show program's version number and exit\n -l N, --length N sequence lenght (default: 1000)\n -f #A #C #G #T, --freqs #A #C #G #T\n base frequences (overrides any base frequences in\n MrBayes' output)\n -g N, --gamma-cats N number of gamma rate categories (default: continuous)\n -s N, --skip N number of records (trees) to skip at the beginning of\n the sample (default: 0)\n -n N, --num-records N\n number of records (trees) to use in the simulation\n -o {nexus,phylip}, --out-format {nexus,phylip}\n output format (default: \"nexus\")\n -p FILE, --seqgen-path FILE\n path to a Seq-Gen executable (default: \"seq-gen\")\n --seeds-file FILE path to file with seed numbers (e.g. for debugging\n purposes)\n --commands-file FILE path to output file with commands used by Seq-Gen\n --trees-file FILE path to output file with trees used by Seq-Gen\n\n* If base frequences are missing from MrBayes' output, these must be set manually\n with the ``-f`` (or ``--freqs``) flag.\n* It is recommended that you use the ``--commands-file`` and ``--trees-file`` \n flags to check the input given to Seq-Gen.\n\n\nRunning the tests\n-----------------\n\nTesting is carried out with `pytest `_:\n\n.. code-block::\n\n $ pytest test_predsim.py\n\nTest coverage can be calculated with `Coverage.py\n`_ using the following commands:\n\n.. code-block::\n\n $ coverage run -m pytest test_predsim.py\n $ coverage report -m predsim.py\n\nThe code follow style conventions in `PEP 8\n`_, which can be checked\nwith `pycodestyle `_:\n\n.. code-block::\n\n $ pycodestyle predsim.py test_predsim.py setup.py\n\n\nLicense\n-------\n\npredsim is distributed under the \n`MIT license `_.\n\n\nCiting\n------\n\nIf you use results produced with this package in a scientific \npublication, please just mention the package name in the text and \ncite the Zenodo DOI of this project:\n\n|DOI-URI|\n\nYou can select your preferred citation style in the \"Cite as\" section\non the Zenodo page.\n\npredsim relies on other software that also should be cited. Below are \nsuggested citations for Seq-Gen and DendroPy:\n\n* Rambaut A, Grassly NC. 1997. Seq-Gen: an application for the Monte \n Carlo simulation of DNA sequence evolution along phylogenetic trees. \n Comput. Appl. Biosci. 13:235\u2013238. DOI:\n `10.1093/bioinformatics/13.3.235 `_\n\n* Sukumaran J, Holder MT. 2010. DendroPy: a Python library for \n phylogenetic computing. Bioinformatics 26:1569\u20131571. DOI:\n `10.1093/bioinformatics/btq228 `_\n\n\nAuthor\n------\n\nMarkus Englund, `orcid.org/0000-0003-1688-7112 `_\n\n.. |Build-Status| image:: https://travis-ci.org/jmenglund/predsim.svg?branch=master\n :target: https://travis-ci.org/jmenglund/predsim\n.. |Coverage-Status| image:: https://codecov.io/gh/jmenglund/predsim/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/jmenglund/predsim\n.. |PyPI-Status| image:: https://img.shields.io/pypi/v/predsim.svg\n :target: https://pypi.python.org/pypi/predsim\n.. |License| image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://raw.githubusercontent.com/jmenglund/predsim/master/LICENSE.txt\n.. |DOI-URI| image:: https://zenodo.org/badge/23107/jmenglund/predsim.svg\n :target: https://zenodo.org/badge/latestdoi/23107/jmenglund/predsim\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jmenglund/predsim", "keywords": "simulation,predictive,Seq-Gen,DendroPy,MrBayes,phylogenetics,dna-sequences,Bayesian", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "predsim", "package_url": "https://pypi.org/project/predsim/", "platform": "", "project_url": "https://pypi.org/project/predsim/", "project_urls": { "Homepage": "https://github.com/jmenglund/predsim" }, "release_url": "https://pypi.org/project/predsim/0.7.0/", "requires_dist": [ "dendropy (>=4.0)" ], "requires_python": "", "summary": "Command-line tool for simulating predictive datasets from MrBayes' output.", "version": "0.7.0" }, "last_serial": 5515597, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "12b2e683f8b7e2255ee6543d9b65b066", "sha256": "c2dc4b3c06b5dde365cd134413f588d205a3a66f13b145156c626f5c3005112b" }, "downloads": -1, "filename": "predsim-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "12b2e683f8b7e2255ee6543d9b65b066", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 9286, "upload_time": "2016-08-06T06:58:23", "url": "https://files.pythonhosted.org/packages/d6/85/6cf8b936fdc5ef1e388579278f62a5cea984f324bb1a9dec70d192e5e0e7/predsim-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c0637481dd72fb84d1173d8fd58c488", "sha256": "cc8832804341529f45418a9ad7ffc75cfabd7e2f99222e0a4d50846afea7057d" }, "downloads": -1, "filename": "predsim-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7c0637481dd72fb84d1173d8fd58c488", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6880, "upload_time": "2016-08-06T06:57:37", "url": "https://files.pythonhosted.org/packages/27/97/bf364295da36d322bb44bc3563c748d2347548ce8314b6944eba86c62f71/predsim-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ae3febe9fc68bc807a4e007cf89d0d90", "sha256": "464075b2ffd0843bfcbaf898681f217875b9c371d4dcd8c96c9472bcc460e8d2" }, "downloads": -1, "filename": "predsim-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ae3febe9fc68bc807a4e007cf89d0d90", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 9339, "upload_time": "2016-08-11T14:20:35", "url": "https://files.pythonhosted.org/packages/a7/89/5fc0a52ebcb5d5ba9d4c6ddc7e66caa222abc69d4a7197c23823d724deb5/predsim-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5a93b9e26bf1d776d0cbd57fdb2108f", "sha256": "e53643b83b1892e92faeae1af64f582d413d6d2df74b5bb336635e9d8feb2fb6" }, "downloads": -1, "filename": "predsim-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d5a93b9e26bf1d776d0cbd57fdb2108f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7007, "upload_time": "2016-08-11T14:20:49", "url": "https://files.pythonhosted.org/packages/aa/d8/643dbdbc69b9d124982d4686573ed8e2e73de8de07dd227dda0a9f1ca2ab/predsim-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c45b99f16ae7e58d7c25a61058bc371a", "sha256": "2ae5e0ca3207fc669fb8709d5d906e9a83824408e2e697f7ed3ec46d99d645ee" }, "downloads": -1, "filename": "predsim-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c45b99f16ae7e58d7c25a61058bc371a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6770, "upload_time": "2018-05-19T15:30:21", "url": "https://files.pythonhosted.org/packages/bc/ae/9f4a5b948487587962c915d0b6862fa0009e45bf07163a94310fc4a45b23/predsim-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf963011738ce14f7fefc2f06a9d405e", "sha256": "e719c7b8fe35381cb19f461aacc565c4bec2f0191276a24cb2349bcfdd0202c6" }, "downloads": -1, "filename": "predsim-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cf963011738ce14f7fefc2f06a9d405e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8485, "upload_time": "2018-05-19T15:30:23", "url": "https://files.pythonhosted.org/packages/64/56/239f5e528e75edf663597a0b55c0852a0d7ee948ecf010d641b58eb0a111/predsim-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f5a59a66c933c3b67b06d7e53346138a", "sha256": "ba12337448190ad45ab5558bafbb79749f5272d7567909336dc30f8ee7a3660e" }, "downloads": -1, "filename": "predsim-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5a59a66c933c3b67b06d7e53346138a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7096, "upload_time": "2018-07-18T06:52:06", "url": "https://files.pythonhosted.org/packages/e6/d3/060d122287fb87608f2d2fa16403579afc575daf923a55e15b230e19c9de/predsim-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b94fc9205e35293a8361e31ed72a6976", "sha256": "c2859510c233870df0e935a2ecd85078e5b83cc661aec1f70a35d6d0405e6f0a" }, "downloads": -1, "filename": "predsim-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b94fc9205e35293a8361e31ed72a6976", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7089, "upload_time": "2018-07-18T06:49:43", "url": "https://files.pythonhosted.org/packages/b2/c8/d07b7c881b78d7a3eb74659ea5db4c444cf835a38c6aea273888d04b8f13/predsim-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d51d2a9383e075ec92e3511a560f6baa", "sha256": "4221400397688284945f0bfb8aced164ab49aa5e68b49d3c3daf7c43139358a7" }, "downloads": -1, "filename": "predsim-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d51d2a9383e075ec92e3511a560f6baa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9028, "upload_time": "2018-07-18T06:49:44", "url": "https://files.pythonhosted.org/packages/28/b3/9d9c5eb890d17a5ecae047fa9fef6d60fa6a3994e7ec3091b58005d4c4b3/predsim-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "e6f07de2eb2248e9ac917e2950bb8d6e", "sha256": "0de6ceefb3054716fa537d9528c317602956a48a9a1f2d2cf4ba5ff680a994f7" }, "downloads": -1, "filename": "predsim-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e6f07de2eb2248e9ac917e2950bb8d6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7093, "upload_time": "2019-03-09T13:55:44", "url": "https://files.pythonhosted.org/packages/dd/16/c3f5388b5e7b1390919976627eee958c0a3378549da7e4f77aff62539a92/predsim-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16f39fedb72c75fedef4848a6a7c368f", "sha256": "47e8e57381151faca2bb70805f20e17ac1eb53b3a790eee24cfbbcfaf0753e43" }, "downloads": -1, "filename": "predsim-0.3.1.tar.gz", "has_sig": false, "md5_digest": "16f39fedb72c75fedef4848a6a7c368f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9103, "upload_time": "2019-03-09T13:55:45", "url": "https://files.pythonhosted.org/packages/4a/da/769a3aeece2e74f8b021877aac3822c51a4397e01674b6c952e2795c42e4/predsim-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4ce65cc87c1c714c74276a0c80b065a9", "sha256": "59fbe90b74d48c775edc0329c6a990a97f6357f21feeab7762d8b66175e8a7e1" }, "downloads": -1, "filename": "predsim-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4ce65cc87c1c714c74276a0c80b065a9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7264, "upload_time": "2019-03-09T22:54:02", "url": "https://files.pythonhosted.org/packages/85/18/00fe2cbe07258f6551e0a06a156b75cb84e7098bbbd5d3f5780a188bcd2f/predsim-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c56a11f3fa595d544e02ae979b9a978a", "sha256": "50a9d0d62b1d76ad7e3fa20dae8b23db584d63203915a0b2c791984a846b2701" }, "downloads": -1, "filename": "predsim-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c56a11f3fa595d544e02ae979b9a978a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9393, "upload_time": "2019-03-09T22:54:03", "url": "https://files.pythonhosted.org/packages/12/58/9e1bc1fcc72e04ddab3b327daddee59bf1c85644c45d39c87faed2575bd5/predsim-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "9d946ad0bd98c1353d03fd4ca242c89d", "sha256": "c4b05d82dec08c03b04ebba2fc05a87132beb502fb05fedf9a4723f5cfc0a7f6" }, "downloads": -1, "filename": "predsim-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9d946ad0bd98c1353d03fd4ca242c89d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7127, "upload_time": "2019-03-10T20:59:21", "url": "https://files.pythonhosted.org/packages/e8/a1/401fa66e33990e2dd6d80311e3ac2ab3be3f0b25849a11f2f77ae81444d3/predsim-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e344df67430fe882e1489630e92003b4", "sha256": "12eb1bd62fe4fa89708331ef99832feaf56a93d69c652f2b588cbf127c53e4a1" }, "downloads": -1, "filename": "predsim-0.5.0.tar.gz", "has_sig": false, "md5_digest": "e344df67430fe882e1489630e92003b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9446, "upload_time": "2019-03-10T20:59:22", "url": "https://files.pythonhosted.org/packages/26/c3/77677876f1653db89dccc04974e128c9f585e2cae5d37d46fee8fa55e9fa/predsim-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "66095818b56f654c24177431b972602a", "sha256": "e6e4b4454a637f729c5986c6afeb47d47756dbac528f1ffd047efecd9c6c7177" }, "downloads": -1, "filename": "predsim-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "66095818b56f654c24177431b972602a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8150, "upload_time": "2019-05-05T20:54:33", "url": "https://files.pythonhosted.org/packages/3f/e8/f3c203499d17ab891ec727b7002792f5ede29d845a50e485a91bd6607f34/predsim-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c4945056a76d20a5c257b19fab78d6e", "sha256": "00dfa3ab3178e90cb5973fe4093de37e468f4214f90e7f6dc44607fa0723f9e0" }, "downloads": -1, "filename": "predsim-0.6.0.tar.gz", "has_sig": false, "md5_digest": "2c4945056a76d20a5c257b19fab78d6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9914, "upload_time": "2019-05-05T20:54:34", "url": "https://files.pythonhosted.org/packages/40/1f/cc87e1325f918477888c8c659273d08b13243b3c4b7fa5bb30c5ea74b4c2/predsim-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "757136aaeffc7998927e5ea7f47b36ad", "sha256": "e4bc49dc9c092dc4d30262f0ce96be70a42f617cb11a834d9575eec11c58688e" }, "downloads": -1, "filename": "predsim-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "757136aaeffc7998927e5ea7f47b36ad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8496, "upload_time": "2019-07-11T06:25:49", "url": "https://files.pythonhosted.org/packages/de/2f/2b0b88764bfb329d3af553e12bbb6c1f5f122ac43ab37bca1bd35bd8cb53/predsim-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b0732f5b3194926d9db0b85a0c6d8b8", "sha256": "f4c16f1cf320bf060b461888bee6c7ec7f6cca4ad1492cde04e79fb22d06d6ec" }, "downloads": -1, "filename": "predsim-0.7.0.tar.gz", "has_sig": false, "md5_digest": "7b0732f5b3194926d9db0b85a0c6d8b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10332, "upload_time": "2019-07-11T06:25:52", "url": "https://files.pythonhosted.org/packages/29/51/e1d9265afa85ea44a8be80520f542bfc1313b2478274a1a1f06552c9f50f/predsim-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "757136aaeffc7998927e5ea7f47b36ad", "sha256": "e4bc49dc9c092dc4d30262f0ce96be70a42f617cb11a834d9575eec11c58688e" }, "downloads": -1, "filename": "predsim-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "757136aaeffc7998927e5ea7f47b36ad", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8496, "upload_time": "2019-07-11T06:25:49", "url": "https://files.pythonhosted.org/packages/de/2f/2b0b88764bfb329d3af553e12bbb6c1f5f122ac43ab37bca1bd35bd8cb53/predsim-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b0732f5b3194926d9db0b85a0c6d8b8", "sha256": "f4c16f1cf320bf060b461888bee6c7ec7f6cca4ad1492cde04e79fb22d06d6ec" }, "downloads": -1, "filename": "predsim-0.7.0.tar.gz", "has_sig": false, "md5_digest": "7b0732f5b3194926d9db0b85a0c6d8b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10332, "upload_time": "2019-07-11T06:25:52", "url": "https://files.pythonhosted.org/packages/29/51/e1d9265afa85ea44a8be80520f542bfc1313b2478274a1a1f06552c9f50f/predsim-0.7.0.tar.gz" } ] }