【注:笔记于2019年10月7日记录在OneNote里的,现在把它们迁移到CSDN里。】
(1)安装Swiss-Prot
1.准备安装包
先去uniprot官网下载uniprot_sprot安装包(.fasta格式的):https://www.uniprot.org/
【注:可以通过wget直接下载在服务器指定的文件夹下】
2.解压上传
下载到本地以后解压,把文件(只要文件夹下面的文件)拷贝到服务器 /usr/local/blast/db目录下
3.安装
打开终端界面,切换到 /usr/local/blast/db 路径下执行如下操作:
makeblastdb -in uniprot_sprot.fasta -parse_seqids -hash_index -dbtype prot
makeblastdb -in uniprot_sprot.fasta -parse_seqids -hash_index -dbtype prot
注:需手动输入,没报错就说明安装成功了!!!!!哈哈哈哈哈哈
(2)安装UniRef
1.下载数据库包UniRef50
和Swiss-sprot一样的操作,唯一的区别是在终端执行的命令如下:
makeblastdb -in ./uniref.fasta -parse_seqids -hash_index -dbtype prot
makeblastdb -in ./uniref.fasta -parse_seqids -hash_index -dbtype prot