编译和安装

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令解压安装包。

    tar -zxvf 104.3.tar.gz

  3. 执行以下命令进入解压后的目录。

    cd ensembl-vep-release-104.3

  4. 安装并使用cpanm工具下载依赖包。

    yum install -y perl perl-App-cpanminus.noarch perl-core perl-DBD-MySQL perl-Try-Tiny.noarch
    cpanm Archive::Zip
    cpanm DBI
    cpanm Bio::Root::Version
    cpanm Bio::DB::HTS::Tabix
    cpanm HTTP::Tiny

  5. 执行以下命令进行编译安装。

    perl INSTALL.pl  --NO_HTSLIB

    回显信息中的三处选项请选择“n”。

    Do you want to install any cache files (y/n)? n
    Skipping cache installation
     
    The VEP can use FASTA files to retrieve sequence data for HGVS notations and reference sequence checks.
    FASTA files will be stored in /root/.vep
    Do you want to install any FASTA files (y/n)? n
    Skipping FASTA installation - Exiting
     
    The VEP can use plugins to add functionality and data.
    Plugins will be installed in /root/.vep/Plugins
    Do you want to install any plugins (y/n)? n
    Skipping plugin installation

  6. (可选)下载缓存文件。

    cd /root/.vep
    wget http://ftp.ensembl.org/pub/release-104/variation/indexed_vep_cache/homo_sapiens_vep_104_GRCh38.tar.gz --no-check-certificate
    tar xvf homo_sapiens_vep_104_GRCh38.tar.gz