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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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