蛋白质二级结构预测工具psipred安装使用

参考网页
参考网页
参考网页
Overview
在linux系统中安装,使用uniref50数据库。
1.下载安装包
psipred http://bioinfadmin.cs.ucl.ac.uk/downloads/psipred/old_versions/psipred3.5.tar.gz
blast
ftp://ftp.ncbi.nih.gov/blast/executables/legacy.NOTSUPPORTED/2.2.26/blast-2.2.26-x64-linux.tar.gz
uniref50
ftp://ftp.uniprot.org/pub/databases/uniprot/uniref/uniref50/uniref50.fasta.gz
2.tsch安装

sudo apt install tcsh

3.psipred安装

tar -xvzf psipred3.5.tar.gz
cd psipred/src
make
make install

4.安装blast
4.1 安装blast
将安装包解压到相应的文件夹,比如我的解压到 home/19mxynenu

tar -xvzf blast-2.2.26-x64-linux.tar.gz

4.2 配置BLAST可执行程序
在我的电脑上根目录是/home/19mxynenu ,在任何位置,输入命令cd,就可以跳转到根目录。

在根目录下使用 ls -la,就发现有一个文件叫.bashrc,这个是配置文件
vim使用方法参考

用vim或者别的软件编辑.bashrc:

vim .bashrc

添加下面这一行语句,将可执行文件的完整路径添加到PATH变量中:

export PATH=/home/19mxynenu/blast-2.2.26/bin:$PATH

重启命令行窗口,或者使用命令使配置生效:

source .bashrc

4.3 配置blast本地数据库
将下载后的uniref50.fasta.gz解压后的文件uniref50.fasta放在/home/19mxynenu/database/目录下
对本地blast数据库进行格式化

makeblastdb -dbtype prot -in uniref50.fasta -out uniref50.fasta

在根目录下建立一个新的文件,名字为.ncbirc

; Start the section for BLAST configuration
 
[BLAST]
 
; Specifies the path where BLAST databases are installed
BLASTDB=/home/19mxynenu/database
 
; Specifies the data sources to use for automatic resolution
 
; for sequence identifiers
DATA_LOADERS=blastdb

4.4 测试BLAST程序
在example.fasta所在的文件下 /home/19mxynenu/psipred/example/ 执行命令:

cd psipred/example
blastpgp -i example.fasta -d uniref50.fasta

期间可能会报错缺少psi-blast±legacy

sudo apt install psi-blast+-legacy

如果运行成功会出现结果,如果运行失败命令会没有任何输出,也不会提供错误或者警告信息。
5.使用PSIPRED
5.1 运行runpsipred_single
在psipred目录下,为了方便,将example/example.fasta文件复制到当前文件夹,用下列命令运行runpsipred_single

./runpsipred_single example.fasta

5.2 修改runpsipred文件

# 设置比对库
set dbname = /home/19mxynenu/database/uniref50.fasta

# 设置blast bin二进制目录
set ncbidir = /home/19mxynenu/blast-2.2.26/bin

5.3 运行runpsipred
将example.fasta文件放在psipred下

./runpsipred example.fasta

运行成功会出现
在这里插入图片描述

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值