Skip to main content

Easy management of ChIP-seq peak calling

Project description

chipseqpeaks

A wrapper for MACS2 that abstracts out some things and makes it easier to use. Thanks due to Joshua Chiou for inspiration and contributions.

Warning: Before using chipseqpeaks, please make sure that one of the environment variables TMPDIR, TEMP, or TMP is set to an appropriate path. This is the only way to ensure MACS2 writes temporary files to the correct location, and failing to do so may cause errors on some systems. (ง •̀_•́)ง

Installation

pip install chipseqpeaks

or

pip install --user chipseqpeaks

Example API usage

from chipseqpeaks import ChIPSeqPeaks
with ChIPSeqPeaks(<bytes object or path to BAM file>) as cp:
    cp.cleans_up = False
    cp.remove_blacklisted_peaks(<path/to/blacklist.bed>)
    cp.write(<output prefix>)

Example command line usage

For help text, see:

chipseqpeaks-call -h

For ChIP-seq:

chipseqpeaks-call --control input.bam chip.bam

For ATAC-seq:

chipseqpeaks-call --atac-seq atac.bam

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

chipseqpeaks-1.1.5.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

chipseqpeaks-1.1.5-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file chipseqpeaks-1.1.5.tar.gz.

File metadata

  • Download URL: chipseqpeaks-1.1.5.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.10

File hashes

Hashes for chipseqpeaks-1.1.5.tar.gz
Algorithm Hash digest
SHA256 bb51fe37be35d8cf8c8e1588a47e86258721e6a44a567912012e133d17167a9d
MD5 65ffbfc504253fcee623bcdee74c2ad9
BLAKE2b-256 c52ebff4d62e95f35fc60b3725ee5426fef5dc7beb59e60ae6b1d4baf03dc262

See more details on using hashes here.

File details

Details for the file chipseqpeaks-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: chipseqpeaks-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.10

File hashes

Hashes for chipseqpeaks-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3e5d1b86d1285f420bb2fc9d91639d11f035b6de630f0e36013262a5454fe133
MD5 484061a7d35d9e155de7a7c66306340b
BLAKE2b-256 d9754d0570190fc2d6fdc7614eb83857a0bed8e619ac11457ae0c230fbe8cf11

See more details on using hashes here.

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