{ "info": { "author": "Roberto Preste", "author_email": "robertopreste@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "========\nallfreqs\n========\n\n\n.. image:: https://img.shields.io/pypi/v/allfreqs.svg\n :target: https://pypi.python.org/pypi/allfreqs\n\n.. image:: https://www.repostatus.org/badges/latest/wip.svg\n :alt: Project Status: WIP \u2013 Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.\n :target: https://www.repostatus.org/#wip\n\n.. image:: https://travis-ci.com/robertopreste/allfreqs.svg?branch=master\n :target: https://travis-ci.com/robertopreste/allfreqs\n\n.. image:: https://readthedocs.org/projects/allfreqs/badge/?version=latest\n :target: https://allfreqs.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/robertopreste/allfreqs/python-3-shield.svg\n :target: https://pyup.io/repos/github/robertopreste/allfreqs/\n :alt: Python 3\n\n.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg\n :target: https://saythanks.io/to/robertopreste\n\n\nCalculate allele frequencies from a sequence multialignment.\n\n\n* Free software: MIT license\n* Documentation: https://allfreqs.readthedocs.io\n* GitHub repo: https://github.com/robertopreste/allfreqs\n\n\nFeatures\n========\n\nCalculate allele frequencies from a nucleotide multialignment in fasta or csv format.\n\nAllele frequencies will be returned as a table in which each row is a nucleotide position (based on the provided reference sequence) and columns are A, C, G, T frequencies as well as gaps and other non-canonical nucleotides.\n\nFor example, given the following multialignment:\n\n+------+----------+\n| ID | Sequence |\n+======+==========+\n| ref | ACGTACGT |\n+------+----------+\n| seq1 | A-GTAGGN |\n+------+----------+\n| seq2 | ACCAGCGT |\n+------+----------+\n\nthe resulting allele frequencies will be:\n\n+----------+-----+-----+-----+-----+-----+-----+\n| position | A | C | G | T | gap | oth |\n+==========+=====+=====+=====+=====+=====+=====+\n| 1.0_A | 1.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 2.0_C | 0.0 | 0.5 | 0.0 | 0.0 | 0.5 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 3.0_G | 0.0 | 0.5 | 0.5 | 0.0 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 4.0_T | 0.5 | 0.0 | 0.0 | 0.5 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 5.0_A | 0.5 | 0.0 | 0.5 | 0.0 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 6.0_C | 0.0 | 0.5 | 0.5 | 0.0 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 7.0_G | 0.0 | 0.0 | 1.0 | 0.0 | 0.0 | 0.0 |\n+----------+-----+-----+-----+-----+-----+-----+\n| 8.0_T | 0.0 | 0.0 | 0.0 | 0.5 | 0.0 | 0.5 |\n+----------+-----+-----+-----+-----+-----+-----+\n\nallfreqs can be used either as a command line tool or through its Python API.\n\nFor more information, please refer to the Usage_ section of the documentation.\n\nInstallation\n============\n\n**PLEASE NOTE: allfreqs only supports Python >= 3.6!**\n\nThe preferred installation method for allfreqs is using ``pip``::\n\n $ pip install allfreqs\n\nFor more information, please refer to the Installation_ section of the documentation.\n\nCredits\n=======\n\nThis package was created with Cookiecutter_ and the `cc-pypackage`_ project template.\n\n.. _Usage: https://allfreqs.readthedocs.io/en/latest/usage.html\n.. _Installation: https://allfreqs.readthedocs.io/en/latest/installation.html\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cc-pypackage`: https://github.com/robertopreste/cc-pypackage\n\n\n=======\nHistory\n=======\n\n0.1.0 (2019-07-08)\n==================\n\n* First release.\n\n0.1.1 (2019-08-08)\n------------------\n\n* Read and process multialignments from fasta and csv files (Python module only).\n\n0.1.2 (2019-10-17)\n------------------\n\n* Add tests with and without reference included in multialignments;\n* Add tests with real datasets (coming from haplogroup-specific multialignments).\n\n0.1.3 (2019-10-18)\n------------------\n\n* Add more detailed tests for real datasets;\n* Implement more efficient frequency calculation;\n* Add dunder methods and sanity checks;\n* Fix requirements and testing framework;\n* Clean code.\n\n\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/robertopreste/allfreqs", "keywords": "allfreqs", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "allfreqs", "package_url": "https://pypi.org/project/allfreqs/", "platform": "", "project_url": "https://pypi.org/project/allfreqs/", "project_urls": { "Homepage": "https://github.com/robertopreste/allfreqs" }, "release_url": "https://pypi.org/project/allfreqs/0.1.3/", "requires_dist": [ "Click", "numpy", "pandas", "scikit-bio", "cached-property" ], "requires_python": "", "summary": "Calculate allele frequency from a sequence multialignment.", "version": "0.1.3" }, "last_serial": 5995688, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "4668a4598c1aca204cc6e5d083f4dfea", "sha256": "9cb32e5f8eafe1214b8b386de06d43076dce30f21ecbd813bcaccb49fe86e4d8" }, "downloads": -1, "filename": "allfreqs-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4668a4598c1aca204cc6e5d083f4dfea", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7827, "upload_time": "2019-10-18T13:36:42", "url": "https://files.pythonhosted.org/packages/45/fe/0e28dd0041e14060d3da7a98f3f2cc80e1be6d410237c03a6ec584a9da0a/allfreqs-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c8e75825c3512440ef04fdd2dd5b1f1", "sha256": "71cb59996af12fa0e482e01d95b3954f8a001e0ac6735a7cd5cbc49f709feaab" }, "downloads": -1, "filename": "allfreqs-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3c8e75825c3512440ef04fdd2dd5b1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 346423, "upload_time": "2019-10-18T13:36:46", "url": "https://files.pythonhosted.org/packages/cd/0e/30b88cd5073fe527248acb7c6045e475900a340e6fdb36ce0fc739d5d8fe/allfreqs-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4668a4598c1aca204cc6e5d083f4dfea", "sha256": "9cb32e5f8eafe1214b8b386de06d43076dce30f21ecbd813bcaccb49fe86e4d8" }, "downloads": -1, "filename": "allfreqs-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4668a4598c1aca204cc6e5d083f4dfea", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7827, "upload_time": "2019-10-18T13:36:42", "url": "https://files.pythonhosted.org/packages/45/fe/0e28dd0041e14060d3da7a98f3f2cc80e1be6d410237c03a6ec584a9da0a/allfreqs-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3c8e75825c3512440ef04fdd2dd5b1f1", "sha256": "71cb59996af12fa0e482e01d95b3954f8a001e0ac6735a7cd5cbc49f709feaab" }, "downloads": -1, "filename": "allfreqs-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3c8e75825c3512440ef04fdd2dd5b1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 346423, "upload_time": "2019-10-18T13:36:46", "url": "https://files.pythonhosted.org/packages/cd/0e/30b88cd5073fe527248acb7c6045e475900a340e6fdb36ce0fc739d5d8fe/allfreqs-0.1.3.tar.gz" } ] }