(1)ensemble_vep 下載和安裝
http://asia.ensembl.org/info/docs/tools/vep/script/vep_download.html
git clone https://github.com/Ensembl/ensembl-vep
cd ensembl-vep
(2)perl 包安裝方式
http://www.cpan.org/modules/INSTALL.html
cpan App::cpanminus #基本用法
cpan DBI #安裝DBI,安裝過程中容易出現(xiàn)依賴庫不存在的問題,ln -s .so /.a
(3)安裝htslib 過程中出現(xiàn)問題
/usr/bin/ld: cant find -lcurl
解決方法:
/usr/lib64/curl 或者/usr/lib/curl
(base) [dujl@localhost lib64]$ ll *curl*
lrwxrwxrwx. 1 root root 16 Aug 1 23:31 libcurl.so.4 -> libcurl.so.4.3.0
-rwxr-xr-x. 1 root root 435192 Nov 5 2018 libcurl.so.4.3.0
(base) [dujl@localhost lib64]$ ln -s /usr/lib64/libcurl.so.4.3.0 ./libcurl.so
##創(chuàng)建 libcurl.so 連接
(base) [dujl@localhost lib64]$ ll *curl*
lrwxrwxrwx. 1 root root 27 Oct 19 10:07 libcurl.so -> /usr/lib64/libcurl.so.4.3.0
lrwxrwxrwx. 1 root root 16 Aug 1 23:31 libcurl.so.4 -> libcurl.so.4.3.0
-rwxr-xr-x. 1 root root 435192 Nov 5 2018 libcurl.so.4.3.0
(base) [dujl@localhost htslib]$ make
##不會報錯
(base) [dujl@localhost htslib]$ make test
.......
Number of tests:
total .. 154
passed .. 154
failed .. 0
(base) [dujl@localhost htslib] pwd
~/Biosoftware/VEP/ensembl-vep/src
安裝以上內容后,perl INSTALL.pl 仍然會報錯,報錯內容如下:
(base) [dujl@localhost ensembl-vep]$ perl INSTALL.pl
curl failed (000), trying to fetch using LWP::Simple
LWP::Simple failed (501), trying to fetch using HTTP::Tiny
ERROR: Failed last resort of using HTTP::Tiny to download https://raw.githubusercontent.com/Ensembl/ensembl-vep/release/101/modules/Bio/EnsEMBL/VEP/Constants.pm
查了別人的文檔,表示“ 安裝過程中經常會報錯,所以最好找個網(wǎng)絡好的時間安裝,比方說早上八九點,網(wǎng)絡不好報的錯誤大概如下,報這個錯誤之后,就重新開個中斷,重新安裝,多試幾次,最后應該可以成功”
https://www.cnblogs.com/afeiyuanda/p/13168166.html