================
pattern_analysis
================
.. image:: https://img.shields.io/pypi/v/pattern_analysis.svg
:target: https://pypi.python.org/pypi/pattern_analysis
.. image:: https://img.shields.io/travis/ScienceComputing/pattern_analysis.svg
:target: https://travis-ci.com/ScienceComputing/pattern_analysis
.. image:: https://readthedocs.org/projects/pattern-analysis/badge/?version=latest
:target: https://pattern-analysis.readthedocs.io/en/latest/?version=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/ScienceComputing/pattern_analysis/shield.svg
:target: https://pyup.io/repos/github/ScienceComputing/pattern_analysis/
:alt: Updates
A package for analyzing patterns in biological data.
* Free software: MIT license
* Documentation: https://pattern-analysis.readthedocs.io.
Features
--------
* Count patterns of nucleotide interest in a genome sequence
* Generate the complement for a genome sequence
Usage
--------
.. code-block:: python
from pattern_analysis import pattern_analysis
# Estimate the number of patterns equal to "TGATCA" in the ori sequence
ori = "ATCAATGATCAACGTAAGCTTCTAAGCATGATCAAGGTGCTCACACAGTTTATCCACAACCTGAGTGGATGACATCAAGATAGGTCGTTGTATCTCCTTCCTCTCGTACTCTCATGACCACGGAAAGATGATCAAGAGAGGATGATTTCTTGGCCATATCGCAATGAATACTTGTGACTTGTGCTTCCAATTGACATCTTCAGCGCCATATTGCGCTGGCCAAGGTGACGGAGCGGGATTACGAAAGCATGATCATGGCTGTTGTTCTGTTTATCTTGTTTTGACTGAGACTTGTTAGGATAGACGGTTTTTCATCACTGACTAGCCAAAGCCTTACTCTGCCTGACATCGACCGTAAATTGATAATGAATTTACATGCTTCCGCGACGATTTACCTCTTGATCATCGATCCGATTGAAGATCTTCAATTGTTAATTCTCTTGCCTCGACTCATAGCCATGATGAGCTCTTGATCATGTTTCCTTAACCCTCTATTTTTTACGGAAGAATGATCAAGCTGCTGCTCTTGATCATCGTTTC"
pat = "TGATCA"
res = pattern_analysis.pattern_count(ori, pat)
print("A total of {} {} are found.".format(res, pat)) # Return "A total of 8 TGATCA are found."
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.1 (2023-12-17)
------------------
* Restructure the pattern analysis package using cookiecutter-pypackage.
0.1.0 (2023-12-12)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/ScienceComputing/pattern_analysis",
"name": "pattern-analysis",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "pattern_analysis",
"author": "Anni Liu",
"author_email": "anni.liu009@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1a/4f/c8df185244cc301c77b2fde0572aacf835c1a2492a21d5ef52b95d6ef059/pattern_analysis-0.1.2.tar.gz",
"platform": null,
"description": "================\npattern_analysis\n================\n\n\n.. image:: https://img.shields.io/pypi/v/pattern_analysis.svg\n :target: https://pypi.python.org/pypi/pattern_analysis\n\n.. image:: https://img.shields.io/travis/ScienceComputing/pattern_analysis.svg\n :target: https://travis-ci.com/ScienceComputing/pattern_analysis\n\n.. image:: https://readthedocs.org/projects/pattern-analysis/badge/?version=latest\n :target: https://pattern-analysis.readthedocs.io/en/latest/?version=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/ScienceComputing/pattern_analysis/shield.svg\n :target: https://pyup.io/repos/github/ScienceComputing/pattern_analysis/\n :alt: Updates\n\n\n\nA package for analyzing patterns in biological data.\n\n\n* Free software: MIT license\n* Documentation: https://pattern-analysis.readthedocs.io.\n\n\nFeatures\n--------\n\n* Count patterns of nucleotide interest in a genome sequence\n* Generate the complement for a genome sequence\n\nUsage\n--------\n.. code-block:: python\n\n from pattern_analysis import pattern_analysis\n\n # Estimate the number of patterns equal to \"TGATCA\" in the ori sequence\n ori = \"ATCAATGATCAACGTAAGCTTCTAAGCATGATCAAGGTGCTCACACAGTTTATCCACAACCTGAGTGGATGACATCAAGATAGGTCGTTGTATCTCCTTCCTCTCGTACTCTCATGACCACGGAAAGATGATCAAGAGAGGATGATTTCTTGGCCATATCGCAATGAATACTTGTGACTTGTGCTTCCAATTGACATCTTCAGCGCCATATTGCGCTGGCCAAGGTGACGGAGCGGGATTACGAAAGCATGATCATGGCTGTTGTTCTGTTTATCTTGTTTTGACTGAGACTTGTTAGGATAGACGGTTTTTCATCACTGACTAGCCAAAGCCTTACTCTGCCTGACATCGACCGTAAATTGATAATGAATTTACATGCTTCCGCGACGATTTACCTCTTGATCATCGATCCGATTGAAGATCTTCAATTGTTAATTCTCTTGCCTCGACTCATAGCCATGATGAGCTCTTGATCATGTTTCCTTAACCCTCTATTTTTTACGGAAGAATGATCAAGCTGCTGCTCTTGATCATCGTTTC\"\n\n pat = \"TGATCA\"\n res = pattern_analysis.pattern_count(ori, pat)\n\n print(\"A total of {} {} are found.\".format(res, pat)) # Return \"A total of 8 TGATCA are found.\"\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n=======\nHistory\n=======\n\n0.1.1 (2023-12-17)\n------------------\n\n* Restructure the pattern analysis package using cookiecutter-pypackage.\n\n0.1.0 (2023-12-12)\n------------------\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "A package for analyzing patterns in biological data.",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/ScienceComputing/pattern_analysis"
},
"split_keywords": [
"pattern_analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4b857501ba3cc69ad3f9760315f418a24d112a14484b8472fffa269c82a0664f",
"md5": "a52c4ad1efd3ff517855cef0f61db884",
"sha256": "99f9a17aee72ae191cc1e9cc49624984db082c57bf0b267633122fce3b6b7f77"
},
"downloads": -1,
"filename": "pattern_analysis-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a52c4ad1efd3ff517855cef0f61db884",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 4166,
"upload_time": "2023-12-18T03:00:24",
"upload_time_iso_8601": "2023-12-18T03:00:24.807463Z",
"url": "https://files.pythonhosted.org/packages/4b/85/7501ba3cc69ad3f9760315f418a24d112a14484b8472fffa269c82a0664f/pattern_analysis-0.1.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1a4fc8df185244cc301c77b2fde0572aacf835c1a2492a21d5ef52b95d6ef059",
"md5": "5c330bf2ded8c69d6fb6b704f803afc3",
"sha256": "41a8fbb3d4222a24d590b53c6c7997346a3d7fa431e7e1dbe8d2a9216d6c5ce7"
},
"downloads": -1,
"filename": "pattern_analysis-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "5c330bf2ded8c69d6fb6b704f803afc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 10398,
"upload_time": "2023-12-18T03:00:27",
"upload_time_iso_8601": "2023-12-18T03:00:27.799464Z",
"url": "https://files.pythonhosted.org/packages/1a/4f/c8df185244cc301c77b2fde0572aacf835c1a2492a21d5ef52b95d6ef059/pattern_analysis-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-18 03:00:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ScienceComputing",
"github_project": "pattern_analysis",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "pattern-analysis"
}