Skip to main content

Library for working with biological sequence data as numpy arrays.

Project description

https://img.shields.io/pypi/v/bionumpy.svg Build and test status Benchmarks

Documentation: 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.

You can also find the latest version of the BioNumPy manuscript here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bionumpy-1.0.14.tar.gz (172.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bionumpy-1.0.14-py2.py3-none-any.whl (165.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file bionumpy-1.0.14.tar.gz.

File metadata

  • Download URL: bionumpy-1.0.14.tar.gz
  • Upload date:
  • Size: 172.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bionumpy-1.0.14.tar.gz
Algorithm Hash digest
SHA256 b634ce642771342956782b263e0648d59b937b7da6ccab9ed804c1ba57083c10
MD5 a63b0082f15e0506b01fef7417e5fc1b
BLAKE2b-256 994a6798e194bc91b8cf13b3c2b5443e4da5d9c2773e9263a552c874f48056b4

See more details on using hashes here.

File details

Details for the file bionumpy-1.0.14-py2.py3-none-any.whl.

File metadata

  • Download URL: bionumpy-1.0.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 165.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bionumpy-1.0.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a6049dd403200be1258c6b04cf682953d91de9b8a078f2c79b59bc6b0633f88
MD5 f99f61b94a969c81434c2330bcd60db9
BLAKE2b-256 081a7d301287abfd527a5b6fd98ee3a7fe0423925b8f116116582d9fbc3bcdad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page