{ "info": { "author": "Anders Goncalves da Silva", "author_email": "andersgs@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "beast2\\_constsites: Update BEAST2 XML to account for constant sites\n===================================================================\n\n|Build Status|\n\nIntroduction\n------------\n\nBased on this\n`suggestion `__\nby Remco, we can correctly account for constant sites in a BEAST2\nanalysis by adding the following ``data`` tag below your current\n``data`` tag:\n\n::\n\n \n\nThis assumes that your original ```` tag had ``id=xyz`` and was\nrenamed to ``id=xyzOriginal``, and that you have 1000 constant sites\nthat were removed from the alignment, with:\n\n- 100 As\n- 200 Cs\n- 300 Gs\n- 400 Ts\n\nWhat does this do?\n------------------\n\nThis script will take a FASTA file with a single DNA sequence (e.g., a\nbacterial chromosome), a VCF file containing the position of SNPs along\nthe FASTA file (e.g., as outputted from\n`snippy-core `__) and the XML\nfile produced by BEAUTi containing only variable sites. It will output a\nnew XML file named ``_plus_const.xml`` with the added\ninformation to account for constant sites. There is nothing else you\nneed to do but run BEAST2.\n\nIt will optionally also take a BED file with positions to mask (e.g.,\npositions of phage).\n\nHow to install?\n---------------\n\n::\n\n pip3 install b2constsites\n\nHow to run it?\n--------------\n\nIf installed correctly, a scripted called ``run_b2cs`` should be\navailable in your path:\n\n::\n\n run_b2cs --help\n\nAt a minimum, you need to supply a sequence file with your reference\n(assuming it has a single chromosome entry --- this was designed for\nbacterial genomics, but may work with viral too), a VCF file with\nvariants, and the XML output from BEAUTi.\n\n::\n\n run_b2cs myref.fasta myvar.vcf myxml.xml\n\nA new file called ``myxml_plus_const.xml`` will be created in the same\nfolder as ``myxml.xml``.\n\nASSUMPTIONS and CAVEATS\n-----------------------\n\nThis script will:\n\n- Only take in to account SNPs and MNPs annotated in the VCF. Other\n variant types will be ignored.\n- Will only take into consideration A, C, G, and T bases in your\n reference sequence. All other characters will be ignored.\n- Has not been tested with BEAST1.8, and as far as I know it will\n **not** work with that version of BEAST. This was designed for use\n with BEAST2.\n\nThe output will be, therefore, an approximation. However, it should be a\nclose enough approximation that it will provide a better inference from\nBEAST2 than if one uses only variable sites, and then corrects in some\n*post hoc* manner.\n\nAuthors\n-------\n\n| Anders Gon\u00e7alves da Silva\n| Sarah Baines\n| Jean Lee\n| Torsten Seemann\n\nMaintainer\n----------\n\nAnders Gon\u00e7alves da Silva\n\nIssues or Questions\n-------------------\n\n`GitHub Issues `__\n\n.. |Build Status| image:: https://travis-ci.org/andersgs/beast2_constsites.svg?branch=master\n :target: https://travis-ci.org/andersgs/beast2_constsites\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andersgs/beast2_constsites/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "b2constsites", "package_url": "https://pypi.org/project/b2constsites/", "platform": "", "project_url": "https://pypi.org/project/b2constsites/", "project_urls": { "Homepage": "https://github.com/andersgs/beast2_constsites/" }, "release_url": "https://pypi.org/project/b2constsites/0.3.3/", "requires_dist": [ "biopython (>=1.70)", "pyvcf (>=0.6.8)" ], "requires_python": ">=3.6", "summary": "Generate an appropriate data tag to add constant sites to your BEAST2 XML", "version": "0.3.3", "yanked": false, "yanked_reason": null }, "last_serial": 6044932, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "85322f259fb7dbccb88cf1e031a196ac", "sha256": "f245542ca654bbef92570d2d50c808676243d391839529714a6c6de9badd5c50" }, "downloads": -1, "filename": "b2constsites-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "85322f259fb7dbccb88cf1e031a196ac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 39303, "upload_time": "2017-10-03T02:04:06", "upload_time_iso_8601": "2017-10-03T02:04:06.606933Z", "url": "https://files.pythonhosted.org/packages/14/5e/e1178544a3e414234c457f7375ba196da085ecbfc5aea6a89a1e506b10a7/b2constsites-0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "b166588682102b709e6fd6923f2f6004", "sha256": "8adfd2b689c4fc3ffa5db897115dcb74ceddcf31949e5026bb7e3b43e2036ce1" }, "downloads": -1, "filename": "b2constsites-0.1.tar.gz", "has_sig": false, "md5_digest": "b166588682102b709e6fd6923f2f6004", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 16921, "upload_time": "2017-10-03T02:04:12", "upload_time_iso_8601": "2017-10-03T02:04:12.828902Z", "url": "https://files.pythonhosted.org/packages/f2/1f/3ee729ac66fa689e3ed5afa0e63dfbee5b28097b34cb7164c4833cfe16c3/b2constsites-0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d400340e8954faf4700aa66306e59a37", "sha256": "3aaea61a9b799e01e747f9cdb5d930e9b22c035537c4b60af9dc61f279ee5dfb" }, "downloads": -1, "filename": "b2constsites-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d400340e8954faf4700aa66306e59a37", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 39330, "upload_time": "2017-10-03T03:02:49", "upload_time_iso_8601": "2017-10-03T03:02:49.012684Z", "url": "https://files.pythonhosted.org/packages/7a/80/0cdfc30dd44b4ae9abf7dcc94046222513ade0ed34c3b452d00a070530a4/b2constsites-0.1.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "10b9505357ae8390a76a7c1a86be4ca2", "sha256": "8ebf6e7e93cc1d191929380cf1fabb3649a1eba5235eafd8384a93da272a3908" }, "downloads": -1, "filename": "b2constsites-0.1.1.tar.gz", "has_sig": false, "md5_digest": "10b9505357ae8390a76a7c1a86be4ca2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 16948, "upload_time": "2017-10-03T03:03:07", "upload_time_iso_8601": "2017-10-03T03:03:07.896999Z", "url": "https://files.pythonhosted.org/packages/9c/b8/e71e19607afb5ba9a2404173567eb0934d986c7615f1d5f39417f78e85bc/b2constsites-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "47eca02b571b3ffaa17f51b6dc24fbd5", "sha256": "90918641afc559e4e3b8a300b591546c64d87846db7865374e154489239de7ef" }, "downloads": -1, "filename": "b2constsites-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "47eca02b571b3ffaa17f51b6dc24fbd5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 41208, "upload_time": "2017-10-03T10:37:09", "upload_time_iso_8601": "2017-10-03T10:37:09.764855Z", "url": "https://files.pythonhosted.org/packages/dc/0b/8bc4eb5bffd7bb967468a7c75051a8a303e0f06676232da58ff38cecef5c/b2constsites-0.2.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "5b64b482771733223115a3956ecd48ef", "sha256": "cfd1dbdb1c876bdd9ce5ecab13fd58ad30b41a2e6599161fe32e974108e0f6b9" }, "downloads": -1, "filename": "b2constsites-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5b64b482771733223115a3956ecd48ef", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 19647, "upload_time": "2017-10-03T10:37:17", "upload_time_iso_8601": "2017-10-03T10:37:17.415826Z", "url": "https://files.pythonhosted.org/packages/eb/10/13b10c563712eb77cb5e18a56db057463e9970aedba17ecbc7b8b25f1373/b2constsites-0.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "21c260e113432e759ee6a81a66256dac", "sha256": "7cf2da80b2a1267349919187bbd2e163ed4457c133e5bb93ebc0a5be2302f4a7" }, "downloads": -1, "filename": "b2constsites-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "21c260e113432e759ee6a81a66256dac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 42928, "upload_time": "2017-11-30T02:55:55", "upload_time_iso_8601": "2017-11-30T02:55:55.791296Z", "url": "https://files.pythonhosted.org/packages/05/23/25394ebb8c008c8534c9919a9c7cd02501ccb0a09a3124abe69d826533cb/b2constsites-0.3.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3c6f9a898ac0cf2ea12dd1e150f91f98", "sha256": "a207fea13505c6ee678e4bdfd65f55c787d683e87ee5ac9afa8c45fb9fa6bcb1" }, "downloads": -1, "filename": "b2constsites-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3c6f9a898ac0cf2ea12dd1e150f91f98", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21224, "upload_time": "2017-11-30T03:00:14", "upload_time_iso_8601": "2017-11-30T03:00:14.820710Z", "url": "https://files.pythonhosted.org/packages/37/f2/b4977538b13c6ed8f98a73a12f753d97191abcdec684b35d133d5fec1c54/b2constsites-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "a7bb5787262473775abc11cb84fc570d", "sha256": "a0bb6b0c42fb5b1816c84d93bbdf29a6179a855b8d6de63ab853d788bac2e85d" }, "downloads": -1, "filename": "b2constsites-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a7bb5787262473775abc11cb84fc570d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 42949, "upload_time": "2017-11-30T03:43:12", "upload_time_iso_8601": "2017-11-30T03:43:12.658098Z", "url": "https://files.pythonhosted.org/packages/46/91/5a8ebd121a648b5982c8caad3d1583d76106306d94098573a3997973eceb/b2constsites-0.3.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "9b99956cbacea9a9b74cb97a9c831835", "sha256": "ce8e1f909a21f198c48e27222f9344cc59e02a687cefeed51a246d2f1c78c355" }, "downloads": -1, "filename": "b2constsites-0.3.1.tar.gz", "has_sig": false, "md5_digest": "9b99956cbacea9a9b74cb97a9c831835", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21737, "upload_time": "2017-11-30T03:43:19", "upload_time_iso_8601": "2017-11-30T03:43:19.390359Z", "url": "https://files.pythonhosted.org/packages/1a/8a/9affed4ce6653c2a41337516a577d1b24b1b8721bc19b6c8ddc421464607/b2constsites-0.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9893e87162f1d7cb617a2a80d2e1c5ba", "sha256": "5cb53c24321f2a9b3819ef277fcbd3d8cda05d6b67488b74ed5768587eda1289" }, "downloads": -1, "filename": "b2constsites-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9893e87162f1d7cb617a2a80d2e1c5ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 42991, "upload_time": "2017-11-30T03:53:05", "upload_time_iso_8601": "2017-11-30T03:53:05.967541Z", "url": "https://files.pythonhosted.org/packages/ea/15/f1150d382bb35835436afad0bc55d64e665ca5f11ee4901755443f4ef8ea/b2constsites-0.3.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "02b34b3510ab1fbc97fb0d57378598a7", "sha256": "4eeb555a7042fe645c608f025844b766d7dd50500dde640e324c900695d6fb4b" }, "downloads": -1, "filename": "b2constsites-0.3.2.tar.gz", "has_sig": false, "md5_digest": "02b34b3510ab1fbc97fb0d57378598a7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21754, "upload_time": "2017-11-30T03:53:12", "upload_time_iso_8601": "2017-11-30T03:53:12.455045Z", "url": "https://files.pythonhosted.org/packages/48/de/5a98b877f2d42a563f44efb9b8784a32664acfa2151ec82517c01f3cb55e/b2constsites-0.3.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "1e3cf34b61b9a54944fe68c335765585", "sha256": "3908073d5b7e333e79da7607a0d06cf9d150ed0e307a0f837d4964f7c008b287" }, "downloads": -1, "filename": "b2constsites-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1e3cf34b61b9a54944fe68c335765585", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 43006, "upload_time": "2019-10-29T02:58:09", "upload_time_iso_8601": "2019-10-29T02:58:09.211851Z", "url": "https://files.pythonhosted.org/packages/4e/2c/9cea51ca203bd1f2040eedb6f780f390f7db4f6b1e0af824335a9cb8079a/b2constsites-0.3.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "729c574ede1de074221bdd8ace863765", "sha256": "e93526b106a72a4c6f537c0cfa7c92ec55f80aca4bc293efd1708c1209b3002e" }, "downloads": -1, "filename": "b2constsites-0.3.3.tar.gz", "has_sig": false, "md5_digest": "729c574ede1de074221bdd8ace863765", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21697, "upload_time": "2019-10-29T02:58:11", "upload_time_iso_8601": "2019-10-29T02:58:11.196076Z", "url": "https://files.pythonhosted.org/packages/1f/83/89c7683e5ace3eac6c8483a0588092ea73aa09a888e9d983fb3f540f2037/b2constsites-0.3.3.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e3cf34b61b9a54944fe68c335765585", "sha256": "3908073d5b7e333e79da7607a0d06cf9d150ed0e307a0f837d4964f7c008b287" }, "downloads": -1, "filename": "b2constsites-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1e3cf34b61b9a54944fe68c335765585", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 43006, "upload_time": "2019-10-29T02:58:09", "upload_time_iso_8601": "2019-10-29T02:58:09.211851Z", "url": "https://files.pythonhosted.org/packages/4e/2c/9cea51ca203bd1f2040eedb6f780f390f7db4f6b1e0af824335a9cb8079a/b2constsites-0.3.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "729c574ede1de074221bdd8ace863765", "sha256": "e93526b106a72a4c6f537c0cfa7c92ec55f80aca4bc293efd1708c1209b3002e" }, "downloads": -1, "filename": "b2constsites-0.3.3.tar.gz", "has_sig": false, "md5_digest": "729c574ede1de074221bdd8ace863765", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 21697, "upload_time": "2019-10-29T02:58:11", "upload_time_iso_8601": "2019-10-29T02:58:11.196076Z", "url": "https://files.pythonhosted.org/packages/1f/83/89c7683e5ace3eac6c8483a0588092ea73aa09a888e9d983fb3f540f2037/b2constsites-0.3.3.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }