Install MACS2 in CentOS6.5 without root (非root权限安装MACS2)

#download
wget -c https://files.pythonhosted.org/packages/5e/32/0108a85d9a91c18413e8492bea631725cdbc20b45970ef63e8d0020ef2da/MACS2-2.1.2.1.tar.gz 

#install python 2.7.10
wget -c https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
tar -zxf Python-2.7.10.tgz
cd Python-2.7.10
./configure --prefix=/home/train/python-2.7.10
make
make install
cd
echo 'export PATH=/home/train/python-2.7.10/bin/:$PATH' >> ~/.bashrc_python-2.7.10
echo 'export PYTHONPATH=/home/train/python-2.7.10/include/:/home/train/python-2.7.10/lib/:$PYTHONPATH' >> ~/.bashrc_python-2.7.10
source ~/.bashrc_python-2.7.10
python --version

#install pip
wget -c https://bootstrap.pypa.io/get-pip.py
python get-pip.py

#instuall numpy
wunzip numpy-1.16.4.zip
wget -c https://files.pythonhosted.org/packages/d3/4b/f9f4b96c0b1ba43d28a5bdc4b64f0b9d3fbcf31313a51bc766942866a7c7/numpy-1.16.4.zip
unzip numpy-1.16.4.zip
cd numpy-1.16.4
python setup.py install 
cd


tar -zxf MACS2-2.1.2.1.tar.gz
cd MACS2-2.1.2
python setup.py install #we suggest do not build a new path
echo 'source ~/.bashrc_python-2.7.10' >> ~/.bashrc_macs2
此条目发表在Linux, NGS_analysis, Python分类目录。将固定链接加入收藏夹。

发表评论

邮箱地址不会被公开。 必填项已用*标注

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Protected with IP Blacklist CloudIP Blacklist Cloud