========
BioNumPy
========
.. image:: https://img.shields.io/pypi/v/bionumpy.svg
:target: https://pypi.python.org/pypi/bionumpy
.. image:: https://github.com/bionumpy/bionumpy/actions/workflows/python-install-and-test.yml/badge.svg
:target: https://github.com/bionumpy/bionumpy/actions/
:alt: Build and test status
.. image:: https://github.com/bionumpy/bionumpy/actions/workflows/benchmarking_big.yml/badge.svg
:target: https://github.com/bionumpy/bionumpy/blob/benchmarks/benchmarks/report_big.md
:alt: Benchmarks
Documentation: `https://bionumpy.github.io/bionumpy/ <https://bionumpy.github.io/bionumpy/>`_
What is BioNumPy?
-----------------
BioNumPy is a Python library, built on top of NumPy, for enabling array programming on biological datasets in Python.
BioNumPy aims to make it easy to read common bioinformatics file formats efficiently into NumPy-like data structures
that enable efficient operations and analysis of the data. Working in BioNumPy should feel much like working in NumPy.
Getting started
----------------
1. Install with pip:
$ pip install bionumpy
2. Import BioNumPy and read your data, e.g.:
>>> import bionumpy as bnp
>>> import numpy as np
>>> f = bnp.open("example_data/big.fq.gz")
>>> # chunk contains the sequences of reads and NumPy-functions can be used
>>> for chunk in f:
... print(np.sum(chunk.sequence == "G"))
53686
Check out the getting started guide and various tutorials in the `documentation <https://bionumpy.github.io/bionumpy/>`_.
You can also find the latest version of the `BioNumPy manuscript here <https://github.com/bionumpy/bionumpy/blob/manuscript/bionumpymanuscript.pdf>`_.
Raw data
{
"_id": null,
"home_page": "https://github.com/bionumpy/bionumpy",
"name": "bionumpy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "bionumpy",
"author": "Knut Rand",
"author_email": "knutdrand@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/bc/b7/825ebd685d5c8119dc1ac912a86f11b5cb4b50688a6448bd07e2ff382823/bionumpy-1.0.8.tar.gz",
"platform": null,
"description": "========\nBioNumPy\n========\n\n.. image:: https://img.shields.io/pypi/v/bionumpy.svg\n :target: https://pypi.python.org/pypi/bionumpy\n\n.. image:: https://github.com/bionumpy/bionumpy/actions/workflows/python-install-and-test.yml/badge.svg\n :target: https://github.com/bionumpy/bionumpy/actions/\n :alt: Build and test status\n\n.. image:: https://github.com/bionumpy/bionumpy/actions/workflows/benchmarking_big.yml/badge.svg\n :target: https://github.com/bionumpy/bionumpy/blob/benchmarks/benchmarks/report_big.md\n :alt: Benchmarks\n\n\nDocumentation: `https://bionumpy.github.io/bionumpy/ <https://bionumpy.github.io/bionumpy/>`_\n\n\nWhat is BioNumPy?\n-----------------\nBioNumPy is a Python library, built on top of NumPy, for enabling array programming on biological datasets in Python.\nBioNumPy aims to make it easy to read common bioinformatics file formats efficiently into NumPy-like data structures\nthat enable efficient operations and analysis of the data. Working in BioNumPy should feel much like working in NumPy.\n\n\nGetting started\n----------------\n\n1. Install with pip:\n\n\t$ pip install bionumpy\n\n2. Import BioNumPy and read your data, e.g.:\n\n >>> import bionumpy as bnp\n >>> import numpy as np\n >>> f = bnp.open(\"example_data/big.fq.gz\")\n >>> # chunk contains the sequences of reads and NumPy-functions can be used\n >>> for chunk in f:\n ... print(np.sum(chunk.sequence == \"G\"))\n 53686\n\nCheck out the getting started guide and various tutorials in the `documentation <https://bionumpy.github.io/bionumpy/>`_.\n\nYou can also find the latest version of the `BioNumPy manuscript here <https://github.com/bionumpy/bionumpy/blob/manuscript/bionumpymanuscript.pdf>`_.\n\n\n\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Library for working with biological sequence data as numpy arrays.",
"version": "1.0.8",
"project_urls": {
"Homepage": "https://github.com/bionumpy/bionumpy"
},
"split_keywords": [
"bionumpy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5076499957cf58f6aa995f41c06a628bd54907464cd735dda82a84db0793675c",
"md5": "3be7e6d17f06c4ff88f7d3172a0fe43b",
"sha256": "23c6d0e5501b8a48521d6ce824deb9637808beef586f55dff24c4a13d3188ce4"
},
"downloads": -1,
"filename": "bionumpy-1.0.8-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3be7e6d17f06c4ff88f7d3172a0fe43b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 154377,
"upload_time": "2024-03-06T17:49:48",
"upload_time_iso_8601": "2024-03-06T17:49:48.085461Z",
"url": "https://files.pythonhosted.org/packages/50/76/499957cf58f6aa995f41c06a628bd54907464cd735dda82a84db0793675c/bionumpy-1.0.8-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bcb7825ebd685d5c8119dc1ac912a86f11b5cb4b50688a6448bd07e2ff382823",
"md5": "79ea7e5668f97fdf203644b999a92f8d",
"sha256": "f1b6f2eed90f8f5ef7ea5600ec252a8fc6f0fa25004d3e69e1f8248ff93fdcf5"
},
"downloads": -1,
"filename": "bionumpy-1.0.8.tar.gz",
"has_sig": false,
"md5_digest": "79ea7e5668f97fdf203644b999a92f8d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 160914,
"upload_time": "2024-03-06T17:49:50",
"upload_time_iso_8601": "2024-03-06T17:49:50.015839Z",
"url": "https://files.pythonhosted.org/packages/bc/b7/825ebd685d5c8119dc1ac912a86f11b5cb4b50688a6448bd07e2ff382823/bionumpy-1.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-06 17:49:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bionumpy",
"github_project": "bionumpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "bionumpy"
}