Install TAD-bit

  1. Install IMP

    • Prerequires

** Install mpfr (needed by CGAL) **

wget http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.gz -o mpfr-3.1.2.tar.gz

tar xvzf mpfr-3.1.2.tar.gz

cd mpfr-3.1.2

./configure –prefix=/home/baowen/trash/mpfr

make

make install

** INstall CGAL **

wget https://gforge.inria.fr/frs/download.php/file/34512/CGAL-4.5.2.tar.gz

tar xvzf CGAL-4.5.2.tar.gz

cd CGAL-4.5.2

cmake . -DCMAKE_INSTALL_PREFIX=/home/baowen/trash/CGAL

make

make install

Modify source file: include/CGAL/Mpzf.h

Possibly easier alternative, edit the file include/CGAL/Mpzf.h, find the line that says:

// GMP before 5.0 doesn’t provide mpn_copyi.

And just before it, insert:

// GMP-4.3.0 is missing mpn_sqr. #ifndef mpn_sqr #define mpn_sqr(dest,a,n) mpn_mul_n(dest,a,a,n) #endif

** Install SWIG 2.0 series **

First remove SWIG 3.0 by

mv ~/baowen/software/swig-3.0.5 ~/baowen/software/swig-3.0.5.bak

wget http://downloads.sourceforge.net/project/swig/swig/swig-2.0.12/swig-2.0.12.tar.gz

tar xvzf swig-2.0.12.tar.gz

cd swig-2.0.12

./configure –prefix=/home/baowen/trash/swig

make && make install

** INSTALl boost (not 1.4.1)

Follow instructions

** Install log4cxx **

wget http://mirrors.hust.edu.cn/apache/logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz

tar xvzf apache-log4cxx-0.10.0.tar.gz

./configure –prefix /home/baowen/trash/log4cxx

make

————unsucessed log4cxx———————————–

** Install ANN **

wget http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/ann_1.1.2.tar.gz

tar xvzf ann_1.1.2.tar.gz

make linux-g++

** Install Eigen **

wget http://bitbucket.org/eigen/eigen/get/3.2.4.tar.gza -o Eigen.3.2.4.tar.gz mkdir eigen mv Eigen.3.2.4.tar.gz eigen cd eigen tar xvzf Eigen.3.2.4.tar.gz cmake eigen-eigen-10219c95fe65 -DCMAKE_INSTALL_PREFIX=/home/baowen/trash/eigen.3.2.4

————unsucessed Eigen———————————–

** Install FFTW ** wget ftp://ftp.fftw.org/pub/fftw/fftw-3.3.4.tar.gz tar xvzf fftw-3.3.4.tar.gz /configure –prefix=/home/baowen/trash/fftw make && make install

** Install libTAU **

wget http://integrativemodeling.org/libTAU/libTAU-1.0.1.zip unzip libTAU-1.0.1.zip cd libTAU-1.0.1 cp lib/RedHat6.x86_64/libTAU.so.1 lib/ cd lib ln -s libTAU.so.1 libTAU.so

—ff——————————————————————————–

** Add following liens to .bash_profile **

export PATH=${PATH}:~/baowen/software/hdf5-1.8.9-linux-x86_64-shared:/home/baowen/trash/mpfr:/home/baowen/trash/CGAL:/home/baowen/trash/CGAL/bin:/home/baowen/trash/swig:/home/baowen/trash/swig/bin:~/trash/ann_1.1.2:~/trash/ann_1.1.2/bin:~/trash/fftw:~/trash/fftw/bin:~/trash/libTAU-1.0.1

export CGAL_DIR=~/trash/CGAL/lib/CGAL

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/trash/libTAU-1.0.1/lib:~/trash/fftw/lib

** Add following lines to imp-2.0.1/CMakeLists.txt to recognize python-dev **

set(PYTHON_LIBRARIES “~/baowen/software/anaconda/lib”) set(PYTHON_INCLUDE_DIRS “~/baowen/software/anaconda/include/python2.7/”)

set(PYTHON_LIBRARIES “~/baowen/software/anaconda/lib”) set(PYTHON_INCLUDE_DIRS “~/baowen/software/anaconda/include/python2.7/”) set(CMAKE_INCLUDE_PATH “~/trash/boost157” “~/trash/ann_1.1.2” “~/trash/fftw” “~/trash/libTAU-1.0.1” ${CMAKE_INCLUDE_PATH}) set(CMAKE_LIBRARY_PATH “~/trash/boost157/lib” “~/trash/ann_1.1.2/lib” “~/trash/fftw/li” “~/trash/libTAU-1.0.1/lib” ${CMAKE_LIBRARY_PATH})

set(BOOST_ROOT “~/trash/boost157”) set(BOOST_INCLUDEDIR “~/trash/boost157/include”) set(BOOST_LIBRARYDIR “~/trash/boost157/lib”) set(Boost_NO_SYSTEM_PATHS ON)

set(FFTW3_ROOT “~/trash/fftw”) set(FFTW3_INCLUDEDIR “~/trash/fftw/include”) set(FFTW3_LIBRARYDIR “~/trash/fftw/lib”)

set(libTAU_ROOT “~/trash/libTAU”) set(libTAU_INCLUDEDIR “~/trash/libTAU/include”) set(libTAU_LIBRARYDIR “~/trash/libTAU/lib”)

** imp-2.0.1

mkdir imp

cd imp

cmake -DCMAKE_INSTALL_PREFIX=/home/baowen/trash/imp5/imp -DCMAKE_BUILD_TYPE=Release -DIMP_MAX_CHECKS=NONE -DIMP_MAX_LOG=SILENT ../imp-2.0.1

** Modify source code of imp-2.0.1

  • /home/baowen/trash/imp5/imp-2.0.1/modules/cgal/src/internal/polyhedrons.cpp * Delete // CGAL::make_skin_surface_mesh_3(p, l.begin(), l.end(), 1.0) — « std::distance(p.facets_begin(), p.facets_end()) « std::endl);*/

  • /home/baowen/trash/imp5/imp/include/IMP/domino/internal/maximal_cliques.h * tie –> boost::tie (line 88)

      * Path recognition
              ``` include_directories($ENV{INCLUDE_PATH}) link_directories($ENV{LD_LIBRARY_PATH})
    
              ```
    
CHENTONG
版权声明:本文为博主原创文章,转载请注明出处。
alipay.png WeChatPay.png

CHENTONG

CHENTONG
积微,月不胜日,时不胜月,岁不胜时。凡人好敖慢小事,大事至,然后兴之务之。如是,则常不胜夫敦比于小事者矣!何也?小事之至也数,其悬日也博,其为积也大。大事之至也希,其悬日也浅,其为积也小。故善日者王,善时者霸,补漏者危,大荒者亡!故,王者敬日,霸者敬时,仅存之国危而后戚之。亡国至亡而后知亡,至死而后知死,亡国之祸败,不可胜悔也。霸者之善著也,可以时托也。王者之功名,不可胜日志也。财物货宝以大为重,政教功名者反是,能积微者速成。诗曰:德如毛,民鲜能克举之。此之谓也。

生信宝典文章集锦

### 培训* [生物信息作图系列R、Cytoscape及图形排版和Python编程培训研讨班开课了](http://mp.weixin.qq.com/s/x-DInL34BbKUR-2UD2Ec3g)* [120分的转录组考题,你能得多少](http://mp.weixi...… Continue reading

基因共表达聚类分析及可视化

Published on November 30, 2017

易生信转录组培训第一期总结

Published on November 15, 2017