Skip to main content

A class for converting BSMAPz methratio output into a fast and compressed hdf5 format

Project description

Meth5py

This will parse output from

and make a sparse, compressed hdf5 representation for fast queries based on position. Indexing is 1-based and follows the same conventions as samtools's faidx.

Installation

Test the package

python setup.py test

then install it into the system package location

pip install .

or, your local path

pip install --user .

Usage

from Meth5py import Meth5py
m5 = Meth5py('tests/test_meth.txt', 'tests/test.fa')
for record in m5.fetch('Chr1',10,11):
	print(record)
m5.close()

Documentation

Documentation can be found 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

Meth5py-0.4.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distributions

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

Meth5py-0.4.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

Meth5py-0.4.2-py2-none-any.whl (6.9 kB view details)

Uploaded Python 2

File details

Details for the file Meth5py-0.4.2.tar.gz.

File metadata

  • Download URL: Meth5py-0.4.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Meth5py-0.4.2.tar.gz
Algorithm Hash digest
SHA256 9356750f1f50bbc4eb3e5a63b7d5c7b8cb947b2aeb72def667326e5e5979fe11
MD5 eb161b26c3c21d460b674b10d7aebc66
BLAKE2b-256 684849e19c7bc624e375a7ca56e9e70d0a06f2c5ad8b5a7e5a2fd56b80113233

See more details on using hashes here.

File details

Details for the file Meth5py-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: Meth5py-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for Meth5py-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af549c9fd44e3ce4aaa0b463d708983c73efaeef45136b85cd769be05b7db580
MD5 dc83c3ea945aec8c456aee0ce7213017
BLAKE2b-256 e062973302a22343fd561dd64cba27de64ae104e2dc46e60dce6ecdaab36aa6b

See more details on using hashes here.

File details

Details for the file Meth5py-0.4.2-py2-none-any.whl.

File metadata

  • Download URL: Meth5py-0.4.2-py2-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

File hashes

Hashes for Meth5py-0.4.2-py2-none-any.whl
Algorithm Hash digest
SHA256 4b32dc7b61b1b55089a42aea6d48e6645d1c927a8de9485e890e57f60fbb0cc2
MD5 ee62609e1f6922b6c3f4f11fe0ad9d38
BLAKE2b-256 1381cd8832c46559340b040ffae043744f6b578ad99ad1051a1750ea6e7fc36c

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