I have Python (2.7.10) on my Mac. I installed MACS2 for ChIP-seq peak calling. However I think my install is not complete or my PYTHONPATH is not point to the correct place. When I try to call macs2 I get the following error:
otp588935ots:~ Priya$ macs2 callpeak -t ChIP.bam -c Control.bam -f BAM -g hs -n test -B -q 0.01 -bash: macs2: command not found
I have set my
PATH to these values in my .bashrc:
export PYTHONPATH=/Library/Python/2.7/site-packages:$PYTHONPATH export PATH=/bin:$PATH
When I try repeating the install (using pip or from source code) I find that it is already installed in the following location:
otp588935ots:~ Priya$ sudo -H pip install MACS2 Requirement already satisfied (use --upgrade to upgrade): MACS2 in /Library/Python/2.7/site-packages Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6 in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from MACS2)
Am I pointing to the wrong PATH/PYTHONPATH? Any thoughts would be greatly appreciated! Thank you!