2024-01-09 新抗原預測pVACtools安裝:推薦docker

pVACtool 工具說明文檔Installation — pVACtools 4.0.6 documentation

官網(wǎng)中推薦了兩種安裝方式:
(1)pip install pvactools
(2)docker pull griffithlab/pvactools
第一種 pip install 折騰了一上午沒有成功悲柱,推薦第二種怒竿。

用root 權限 安裝docker众羡,安裝官網(wǎng)推薦步驟,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
##這一步會出現(xiàn)error

##由于鏡像網(wǎng)速的問題错妖,切換為阿里鏡像
yum-config-manager --add-repo  https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 
##重復執(zhí)行下面這一步
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
## 重新執(zhí)行,成功
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 默認已經生成普舆,不放心可以執(zhí)行一遍
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 非常依賴網(wǎng)速,可以多嘗試幾次
cd ensembl-vep
perl INSTALL.pl  # 需要的perl 包都已經在INSTALL.pl 中沼侣,直接執(zhí)行即可祖能。這一步也非常依賴網(wǎng)速,可以多嘗試幾次蛾洛。 會生成./Bio 文件夾
#安裝成功养铸,會出現(xiàn)提示 “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,這一步可以另外自行下載钞螟,文件比較的大兔甘,網(wǎng)速慢
#利用提示中的網(wǎng)址,復制下載鏈接鳞滨,VEP 不同版本對應不用數(shù)據(jù)庫版本
#在提示下載的時候洞焙,選一個文件,這樣方便看當前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 的模塊~~ 明天繼續(xù)

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
  • 序言:七十年代末澡匪,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子褒链,更是在濱河造成了極大的恐慌唁情,老刑警劉巖,帶你破解...
    沈念sama閱讀 221,198評論 6 514
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件甫匹,死亡現(xiàn)場離奇詭異甸鸟,居然都是意外死亡,警方通過查閱死者的電腦和手機赛惩,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,334評論 3 398
  • 文/潘曉璐 我一進店門哀墓,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人喷兼,你說我怎么就攤上這事篮绰。” “怎么了季惯?”我有些...
    開封第一講書人閱讀 167,643評論 0 360
  • 文/不壞的土叔 我叫張陵吠各,是天一觀的道長。 經常有香客問我勉抓,道長贾漏,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,495評論 1 296
  • 正文 為了忘掉前任藕筋,我火速辦了婚禮纵散,結果婚禮上,老公的妹妹穿的比我還像新娘隐圾。我一直安慰自己伍掀,他們只是感情好,可當我...
    茶點故事閱讀 68,502評論 6 397
  • 文/花漫 我一把揭開白布暇藏。 她就那樣靜靜地躺著蜜笤,像睡著了一般。 火紅的嫁衣襯著肌膚如雪盐碱。 梳的紋絲不亂的頭發(fā)上把兔,一...
    開封第一講書人閱讀 52,156評論 1 308
  • 那天沪伙,我揣著相機與錄音,去河邊找鬼县好。 笑死围橡,一個胖子當著我的面吹牛,可吹牛的內容都是我干的聘惦。 我是一名探鬼主播某饰,決...
    沈念sama閱讀 40,743評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼善绎!你這毒婦竟也來了黔漂?” 一聲冷哼從身側響起,我...
    開封第一講書人閱讀 39,659評論 0 276
  • 序言:老撾萬榮一對情侶失蹤禀酱,失蹤者是張志新(化名)和其女友劉穎炬守,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體剂跟,經...
    沈念sama閱讀 46,200評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡减途,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 38,282評論 3 340
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了曹洽。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片鳍置。...
    茶點故事閱讀 40,424評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖送淆,靈堂內的尸體忽然破棺而出税产,到底是詐尸還是另有隱情,我是刑警寧澤偷崩,帶...
    沈念sama閱讀 36,107評論 5 349
  • 正文 年R本政府宣布辟拷,位于F島的核電站,受9級特大地震影響阐斜,放射性物質發(fā)生泄漏衫冻。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,789評論 3 333
  • 文/蒙蒙 一谒出、第九天 我趴在偏房一處隱蔽的房頂上張望隅俘。 院中可真熱鬧,春花似錦笤喳、人聲如沸为居。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,264評論 0 23
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至唧喉,卻和暖如春捣卤,著一層夾襖步出監(jiān)牢的瞬間忍抽,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,390評論 1 271
  • 我被黑心中介騙來泰國打工董朝, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留鸠项,地道東北人。 一個月前我還...
    沈念sama閱讀 48,798評論 3 376
  • 正文 我出身青樓子姜,卻偏偏與公主長得像祟绊,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子哥捕,可洞房花燭夜當晚...
    茶點故事閱讀 45,435評論 2 359

推薦閱讀更多精彩內容