美文网首页
VEP 安装

VEP 安装

作者: 树懒吃糖_ | 来源:发表于2020-10-19 10:36 被阅读0次

    (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,安装过程中容易出现依赖库不存在的问题,ln -s .so /.a

    (3)安装htslib 过程中出现问题
    /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
    ##创建 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
    

    查了别人的文档,表示“ 安装过程中经常会报错,所以最好找个网络好的时间安装,比方说早上八九点,网络不好报的错误大概如下,报这个错误之后,就重新开个中断,重新安装,多试几次,最后应该可以成功”
    https://www.cnblogs.com/afeiyuanda/p/13168166.html

    相关文章

      网友评论

          本文标题:VEP 安装

          本文链接:https://www.haomeiwen.com/subject/qfxwpktx.html