阿里云服务器--Linux搭建blast本地版

阿里云ECS服务器

系统:Ubuntu 20.04

下载blast代码 官网链接

https://blast.ncbi.nlm.nih.gov/Blast.cgi

截图如下

阿里云服务器--Linux搭建blast本地版

下载界面

ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/

选择LInux系统,如图所示

阿里云服务器--Linux搭建blast本地版

右键->复制链接地址 获得如下的地址

ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.10.1+-x64-linux.tar.gz 实测在服务器直接wget下载速度很慢,建议在本机用迅雷下载,然后用FTP传输工具传到服务器 如果使用FTP已经传输了,请跳过下面的步骤

这里我已经下载好了,因为MAC系统没找到好的FTP工具,所以我使用SCP命令传输到服务器

scp ncbi-blast-2.10.1+-x64-linux.tar.gz root@服务器的ip地址:存放的目录 例如 scp ncbi-blast-2.10.1+-x64-linux.tar.gz root@1.1.1:/root/

使用XSEHLL等远程工具连接服务器,在终端输入以下命令 cd /切换到刚刚传输的路径 例如 cd /root # 解压文件 tar -zxvf ncbi-blast-2.10.1+-x64-linux.tar.gz # 重命名压缩文件为blast mv ncbi-blast-2.10.1+ blast # 配置环境变量 echo "PATH=$PATH:~/刚刚传输的路径/blast/bin" >> ~/.bashrc 例如 echo "PATH=$PATH:~/root/blast/bin" >> ~/.bashrc # source source ~/.bashrc # 检测是否安装成功 blastn -h # 输出的结果如下图

阿里云服务器--Linux搭建blast本地版

至此blast服务安装成功。

注:本博客基于官网文档和B站UP主的视频完成 XiongdyMishika

在此也对UP主:XiongdyMishika 感谢!

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwsfpd.html