CGAT - Computational Genomics Analysis Tools安装

5 篇文章 0 订阅
2 篇文章 0 订阅

环境:CentOS 6.5


因为CentOS默认需要python2.7,所以先安装python2.7。

方法参考:

./configure --prefix=/usr/local   
make && make altinstall
因为yum依赖于python2.6,所以需要altinstall。

https://www.digitalocean.com/community/articles/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4


安装必须包:

yum groupinstall -y 'development tools'
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
yum install gcc-gfortran blas-devel lapack-devel

安装setuptools

# Let's download the installation file using wget:
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz

# Extract the files from the archive:
tar -xvf setuptools-1.4.2.tar.gz

# Enter the extracted directory:
cd setuptools-1.4.2

# Install setuptools using the Python we've installed (2.7.6)
python2.7 setup.py install

下载pip。

curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python2.7 -

安装bx-python。

easy_install https://bitbucket.org/james_taylor/bx-python/get/tip.tar.bz2

官方网站上下载cgat。

https://github.com/CGATOxford/cgat


源码编译bedtools

产生的程序统一放置/usr/local/bin


boost库源代码方式安装(不安装会影响到alignlib的安装)

参考 http://nyc1991.blog.51cto.com/6424159/1133388


./configure

./b2 --prefix=/usr/local install


R编译安装



Rpy2安装

http://compbio.tongji.edu.cn/~sunhf/?p=124


pip方式安装依赖包


pip2.7 install cython

pip2.7 install numpy

pip2.7 install pysam

pip2.7 install https://bitbucket.org/james_taylor/bx-python/get/tip.tar.bz2

pip2.7 install biopython

pip2.7 install pybedtools

pip install matplotlib

pip install scrpy



最后通过pip安装cgat


pip2.7 install cgat


程序最后被安装到/usr/local/cgat








评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值