李雷廷的个人博客分享 http://blog.sciencenet.cn/u/llt001

博文

BLAST软件比对结果格式的转换

已有 11009 次阅读 2015-7-24 16:12 |系统分类:科研笔记

[利用程序bp_search2table可以将多种BLAST比对结果的格式转换为表格格式(类似 -m 9)]


BLAST软件的比对结果又很多种格式,如下:

 -m  alignment view options:

0 = pairwise,

1 = query-anchored showing identities,

2 = query-anchored no identities,

3 = flat query-anchored, show identities,

4 = flat query-anchored, no identities,

5 = query-anchored no identities and blunt ends,

6 = flat query-anchored, no identities and blunt ends,

7 = XML Blast output,

8 = tabular,

9 tabular with comment lines

10 ASN, text

11 ASN, binary [Integer]

   default = 0

   range from 0 to 11

 

这个格式转换的程序bp_search2table.pl是BioPerl安装包的一部分,调用Bio::SearchIO模块。如果要转换XML格式文件,需要安装XML::SAX模块,命令如下

bp_search2table.pl -f blastxml -i input.blastxml -o output.blasttable


详细用法参考它们的说明文档:

perldoc Bio::SearchIO

perldoc bp_search2table.pl



https://blog.sciencenet.cn/blog-656335-907905.html

上一篇:Mac下uTorrent的ipfilter.dat文件地址
下一篇:上传测序数据到NCBI SRA数据库
收藏 IP: 218.2.227.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

全部作者的精选博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-28 15:53

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部