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
pip3 install chipseqpeaks
or
pip3 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
Release history Release notifications | RSS feed
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.0.tar.gz
(13.7 kB
view hashes)
Built Distribution
Close
Hashes for chipseqpeaks-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edcee5609aea20688d7e4fbfd5c17417f894749d3cb9997557803350b7f20d98 |
|
MD5 | 49b60930e973dfb12a806a369bbb5021 |
|
BLAKE2b-256 | a4c78028447c7acf9da45e97bf04b420bc290eefed8c4837ca7ac1b00b7d6a14 |