rocky9中boost、gsl、treemix的安装

 

rocky9中boast的安装。

01、 boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。

 

02、下载最新版的boost

https://www.boost.org/users/download/

 

03、安装依赖环境

yum -y install bzip2 bzip2-devel bzip2-libs python-devel

 

04、解压、编译安装boost

tar -xjvf boost_1_86_0.tar.bz2
cd boost_1_86_0/
./bootstrap.sh --with-libraries=all --with-toolset=gcc
./b2 install --prefix=/usr/local

 

05、安装gsl

GSL(GNU Scientific Library)是一个开源的科学计算库,主要用于C和C++程序。它包含了大量高效的数学函数,适用于各种科学计算任务‌‌。

复制代码
wget -c http://ftp.club.cc.cmu.edu/pub/gnu/gsl/gsl-latest.tar.gz
tar -xzvf gsl-latest.tar.gz
cd gsl-2.8/
./configure
make
make install
export PATH=$PATH:/usr/local/bin
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export GSL_LD=/usr/local/lib
复制代码

 

05、下载treemix安装包

wget -c https://bitbucket.org/nygcresearch/treemix/downloads/treemix-1.13.tar.gz
tar -xzvf treemix-1.13.tar.gz
cd treemix-1.13/
./configure
make
make install

 

06、调用测试

复制代码
(base) [root@PC1 treemix-1.13]# treemix

TreeMix v. 1.13
$Revision: 231 $

Options:
-h display this help
-i [file name] input file
-o [stem] output stem (will be [stem].treeout.gz, [stem].cov.gz, [stem].modelcov.gz)
-k [int] number of SNPs per block for estimation of covariance matrix (1)
-global Do a round of global rearrangements after adding all populations
-tf [file name] Read the tree topology from a file, rather than estimating it
-m [int] number of migration edges to add (0)
-root [string] comma-delimited list of populations to set on one side of the root (for migration)
-g [vertices file name] [edges file name] read the graph from a previous TreeMix run
-se Calculate standard errors of migration weights (computationally expensive)
-micro microsatellite data
-bootstrap Perform a single bootstrap replicate
-cor_mig [file] list of known migration events to include (also use -climb)
-noss Turn off sample size correction
-seed [int] Set the seed for random number generation
-n_warn [int] Display first N warnings
复制代码

 

。 

 

posted @   小鲨鱼2018  阅读(58)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示