如何在Linux上使用源码编译安装blast
鉴于网上使用源码安装blast的文章甚少,这里提供一种编译源码安装blast的思路
准备工具:
blast最新的源码包:https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/
选择适合自己系统的源码包,这里选择“ncbi-blast-2.13.0+-x64-linux.tar.gz ”

解压并进入源码路径
配置编译参数,可以使用configure --help 查看相关参数
configure的参数有以下选择,可供大家快速查看
编译时间根据电脑配置有所差别,笔者虚拟机大概编译了一个半小时

编译出的可执行文件在ncbi-blast-2.13.0+-src/c++/ReleaseMT/bin当中
为了方便在其他路径执行blast,可以将该路径加入环境变量
参考链接:
[1] https://www.ncbi.nlm.nih.gov/books/NBK52640/
[2] https://www.ncbi.nlm.nih.gov/books/NBK569861/#intro_Installation.Source_tarball
[3] https://ncbi.github.io/cxx-toolkit/pages/ch_start
[4] https://ncbi.github.io/cxx-toolkit/pages/ch_config.html#ch_config.ch_configget_synopsi
[5] https://wap.sciencenet.cn/home.php?mod=space&do=blog&id=804622