美文网首页
2024-01-09 新抗原预测pVACtools安装:推荐do

2024-01-09 新抗原预测pVACtools安装:推荐do

作者: 树懒吃糖_ | 来源:发表于2024-01-08 14:47 被阅读0次

pVACtool 工具说明文档Installation — pVACtools 4.0.6 documentation

官网中推荐了两种安装方式:
(1)pip install pvactools
(2)docker pull griffithlab/pvactools
第一种 pip install 折腾了一上午没有成功,推荐第二种。

用root 权限 安装docker,安装官网推荐步骤,docker
Install Docker Engine on CentOS | Docker Docs

yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-engine

yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo  

 yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
##这一步会出现error

##由于镜像网速的问题,切换为阿里镜像
yum-config-manager --add-repo  https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 
##重复执行下面这一步
yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
## 提示error:  Requires: fuse-overlayfs >= 0.7 等。。
yum install fuse-overlayfs  container-selinux  slirp4netns
## 提示当前镜像中没有找到 fuse-overlayfs package.
## 百度后通过修改  /etc/yum.repos.d/docker-ce.repo 
vim /etc/yum.repos.d/docker-ce.repo
[centos-extras]
name=Centos extras - $basearch
baseurl=http://mirror.centos.org/centos/7/extras/x86_64
enable=1
gpgcheck=0
## 重新执行,成功
yum install fuse-overlayfs  container-selinux  slirp4netns   
yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # 安装成功

$ docker --version
$ Docker version 24.0.7, build afdd53b   #当前docker  版本号

## 添加docker 用户组,否则普通用户无法使用
groupadd docker    # docker group 默认已经生成,不放心可以执行一遍
gpasswd -a $USER docker  #将所有用户加到docker group
newgrp docker  #更新

#启动docker 
systemctl start docker
# 尝试 pull 镜像
docker pull griffithlab/pvactools
docker images  #可以看到镜像
REPOSITORY              TAG       IMAGE ID       CREATED        SIZE
griffithlab/pvactools   latest    981a3b8b2bd8   4 months ago   9.18GB
hello-world             latest    d2c94e258dcb   8 months ago   13.3kB

pVACtools模块pvacseq 的input 需要VEP 注释,下一步安装VEP
按照ensemble VEP 官方文档安装 Download and install (ensembl.org)

git clone https://github.com/Ensembl/ensembl-vep.git  #git 非常依赖网速,可以多尝试几次
cd ensembl-vep
perl INSTALL.pl  # 需要的perl 包都已经在INSTALL.pl 中,直接执行即可。这一步也非常依赖网速,可以多尝试几次。 会生成./Bio 文件夹
#安装成功,会出现提示 “Testing VEP installation -OK!” ,如下面
###############VEP ########################
[root@master ensembl-vep]# perl INSTALL.pl --NO_HTSLIB 
curl failed (000), trying to fetch using LWP::Simple
LWP::Simple failed (501), trying to fetch using HTTP::Tiny
Hello! This installer will help you set up VEP v110, including:
 - Install v110 of the Ensembl API for use by the VEP. It will not affect any existing installations of the Ensembl API that you may have.
 - Download and install cache files from Ensembl's FTP server.
 - Download FASTA files from Ensembl's FTP server.
 - Download VEP plugins.

Checking for installed versions of the Ensembl API...done

Setting up directories
Destination directory ./Bio already exists.
Do you want to overwrite it (if updating VEP this is probably OK) (y/n)? y
 - fetching BioPerl
 - unpacking ./Bio/tmp/release-1-6-924.zip
 - moving files

Downloading required Ensembl API files
 - fetching ensembl
 - unpacking ./Bio/tmp/ensembl.zip
 - moving files
 - getting version information
 - fetching ensembl-variation
 - unpacking ./Bio/tmp/ensembl-variation.zip
 - moving files
 - getting version information
 - fetching ensembl-funcgen
 - unpacking ./Bio/tmp/ensembl-funcgen.zip
 - moving files
 - getting version information
 - fetching ensembl-io
 - unpacking ./Bio/tmp/ensembl-io.zip
 - moving files
 - getting version information

Testing VEP installation
 - OK!

The VEP can either connect to remote or local databases, or use local cache files.
Using local cache files is the fastest and most efficient way to run the VEP
Cache files will be stored in /root/.vep
Do you want to install any cache files (y/n)? y
Cache directory /root/.vep does not exists - do you want to create it (y/n)? y
 - getting list of available cache files
which: no bgzip in (/share/software/anaconda3/condabin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
which: no tabix in (/share/software/anaconda3/condabin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
The following species/files are available; which do you want (specify multiple separated by spaces or 0 for all): 
1 : acanthochromis_polyacanthus_vep_110_ASM210954v1.tar.gz (69 MB)
2 : accipiter_nisus_vep_110_Accipiter_nisus_ver1.0.tar.gz (54 MB)
...
##################################################################

#下一步会开始下载VEP 的databases,这一步可以另外自行下载,文件比较的大,网速慢
#利用提示中的网址,复制下载链接,VEP 不同版本对应不用数据库版本
#在提示下载的时候,选一个文件,这样方便看当前VEP 依赖的databases FTP 路径
# human hg38  -110
https://ftp.ensembl.org/pub/release-110/variation/vep/homo_sapiens_merged_vep_110_GRCh38.tar.gz
https://ftp.ensembl.org/pub/release-110/variation/vep/homo_sapiens_refseq_vep_110_GRCh38.tar.gz
https://ftp.ensembl.org/pub/release-110/variation/vep/homo_sapiens_vep_110_GRCh38.tar.gz

docker /VEP / pvactools 都成功后,下一步测试pvactools 的模块~~ 明天继续

相关文章

  • 蛋白抗原性预测

    你好,想请教各位前辈一个问题,我最近在预测一个抗原的表位,首先查文献找到了一个蛋白,但是这个具体抗原性怎么样,我先...

  • Windows10+Python3+OpenCV3配置

    安装Python3 1,推荐使用anaconda,下载地址:https://www.anaconda.com/do...

  • Docker 安装

    Docker 安装和启动服务 安装 推荐按照官方文档安装发行版本介绍自2017年3月份 Docker 公司把 Do...

  • 肿瘤新生抗原预测之 - NeoPredPipe

    肿瘤新生抗原预测的软件有很多,今天测试了一下NeoPredPipe。其预测流程如下图,从VCF文件开始,需要自己提...

  • 新冠抗原检测

    将特异性的抗原或抗体以条带状固定在膜上,胶体金标记试剂(抗体或单克隆抗体)吸附在结合垫上,当待检样本加到试纸条一端...

  • W8L7-W8L8

    1.什么情况下,你会安装一个新app?什么情况下,你会推荐他人安装一个app? 很多人推荐这款新APP的时候会安装...

  • cfssl

    简介: // To_do 安装

  • 推荐系统常用评价指标

    评分预测 TopN推荐

  • WES2Neoantigen Pipeline

    Part 7 pVACSeq pVACtools pVACtool是一个癌症免疫治疗工具套件,由四个工具组成,分别...

  • 今日小确幸

    今日读朋友文章时,小确幸,了解到一个新的计划软件,超级喜欢,推荐给大家:TO DO

网友评论

      本文标题:2024-01-09 新抗原预测pVACtools安装:推荐do

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