Skip to main content

Python wrapper for the bwtool library.

Project description

Travis CI build SonarCloud Quality SonarCloud Maintainability Codacy Maintainability Maintainability Pypi project Pypi total project downloads

Python wrapper for the bwtool library.

How do I install this package?

As usual, just download it using pip:

pip install pybwtool

Tests Coverage

Since some software handling coverages sometime get slightly different results, here’s three of them:

Coveralls Coverage SonarCloud Coverage Code Climate Coverate

Getting started

At the time of writing, the package includes just two methods from bwtool. If you need more, you are more than welcome to open a pull request adding the new feature or opening a new issue with the request. In the second case I’ll work on it when I’ll get the time.

Extract

The extract method returns a pandas Dataframe with the data from the regions of a bed file extracted from the given bigwig.

from pybwtool import extract

df = extract("path/to/my/bed", "path/to/my/bigwig")

Extract mean

The extract_mean method, similarly to the extract methon, returns a pandas Dataframe with the mean of the data from the regions of a bed file extracted from the given bigwig.

from pybwtool import extract_mean

df = extract_mean("path/to/my/bed", "path/to/my/bigwig")

Common fixes for getting bwtool to work

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

pybwtool-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file pybwtool-1.0.0.tar.gz.

File metadata

  • Download URL: pybwtool-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pybwtool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 969f201ecfd31cb2066dc446632debbb91601e76f5140e830f01de688944fd5e
MD5 74bd1e9aa6e72c9ce3f5679860905430
BLAKE2b-256 43e8e77f637a3ffd07a229d90c71b117fcce48e9a5409e99316aa878262a75d2

See more details on using hashes here.

Provenance

Supported by

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