这里,记录一下vcftools的安装教程。
1. 下载
https://vcftools.github.io/examples.html
下载到本地,上传到服务器中。
2. 解压缩
unzip vcftools-vcftools-v0.1.16-18-g581c231.zip
cd vcftools-vcftools-581c231/
3. 安装
bash autogen.sh
./configure
make
make install
安装完成日志:
/usr/bin/mkdir -p '/usr/local/share/perl5'
/usr/bin/install -c -m 644 FaSlice.pm Vcf.pm VcfStats.pm '/usr/local/share/perl5'
make[3]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231/src/perl”
make[2]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231/src/perl”
make[2]: 进入目录“/opt/vcftools/vcftools-vcftools-581c231/src”
make[3]: 进入目录“/opt/vcftools/vcftools-vcftools-581c231/src”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231/src”
make[2]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231/src”
make[1]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231/src”
make[1]: 进入目录“/opt/vcftools/vcftools-vcftools-581c231”
make[2]: 进入目录“/opt/vcftools/vcftools-vcftools-581c231”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231”
make[1]: 离开目录“/opt/vcftools/vcftools-vcftools-581c231”
4. 测试
键入vcftools
(base) [root@localhost vcftools-vcftools-581c231]# vcftools
VCFtools (0.1.17)
© Adam Auton and Anthony Marcketta 2009
Process Variant Call Format files
For a list of options, please go to:
https://vcftools.github.io/man_latest.html
Alternatively, a man page is available, type:
man vcftools
Questions, comments, and suggestions should be emailed to:
vcftools-help@lists.sourceforge.net
出现帮助文档,搞定!