此款软件是基于SNP位点进行群体结构的推断,运行速度比较快一些,本文主要介绍它的详细安装步骤。
一、安装fastStructure的依赖包和库:Cython,Scipy,Numpy,matplotlib,gsl(GNU Scientific Library)
①sudo apt-get install cython
②sudo apt-get install python-scipy
③sudo apt-get install python-numpy
④sudo apt-get install python-matplotlib
⑤sudo apt-get install libgsl0-dev
二、安装fastStructure
- wget --no-check-certificate https://github.com/rajanil/fastStructure/archive/master.tar.gz
- tar -zxvf master.tar.gz
- rm master.tar.gz
4.cd fastStructure-master/
5.python2 setup.py build_ext --inplace
6.cd vars/
7.python2 setup.py build_ext --inplace
8.whereis matplotlibrc
9.若是默认安装则会显示/etc/matplotlibrc
10.sudo chmod 777 /etc/matplotlibrc
11.查看 /etc/matplotlibrc并修改为backend :agg - END!