Bowtie2的安装与使用
Bowtie2用来快速比对短reads(50-100bp)与参考基因组,与常规的比对软件不同的是(如blast),Bowtie在比对比较短的reads(less than 1024 base) 与 较大的参考(基因组) 时效果更好,也更快。
许多其他的软件经常会调用Bowtie ,如常见的 TopHat , Cufflinks 等
- Read: GACTGGGCGATCTCGACTTCG
- ||||| |||||||||| |||
- Reference: GACTG--CGATCTCGACATCG
与Bowtie1的区别
For reads longer than about 50 bp Bowtie 2 is generally faster, more sensitive, and uses less memory than Bowtie 1. For relatively short reads (e.g. less than 50 bp) Bowtie 1 is sometimes faster and/or more sensitive. B
Bowtie 2 supports gapped alignment with affine gap penalties. Number of gaps and gap lengths are not restricted, except by way of the configurable scoring scheme. Bowtie 1 finds just ungapped alignments.
Bowtie 2 supports local alignment, which doesn't require reads to align end-to-end. Local alignments might be "trimmed" ("soft clipped") at one or both extremes in a way that optimizes alignment score. Bowtie 2 also supports end-to-end alignment which, like Bowtie 1, requires that the read align entirely.
There is no upper limit on read length in Bowtie 2. Bowtie 1 had an upper limit of around 1000 bp.
Bowtie 2 allows alignments to overlap ambiguous characters (e.g.
N
s) in the reference. Bowtie 1 does not.Bowtie 2 does away with Bowtie 1's notion of alignment "stratum", and its distinction between "Maq-like" and "end-to-end" modes. In Bowtie 2 all alignments lie along a continuous spectrum of alignment scores where the scoring scheme, similar to Needleman-Wunsch and Smith-Waterman.
Bowtie 2's paired-end alignment is more flexible. E.g. for pairs that do not align in a paired fashion, Bowtie 2 attempts to find unpaired alignments for each mate.
Bowtie 2 reports a spectrum of mapping qualities, in contrast for Bowtie 1 which reports either 0 or high.
Bowtie 2 does not align colorspace reads.
Bowtie2的参数与基因组索引(index of genome)的格式都与Bowtie1不同
Bowtie的一些参数解释(常见的),具体的见官方手册
End to end alignment versus local alignment
End to end (全局比对)举例:
local alignment example (局部比对)举例
默认情况下,Bowtie2进行全局比对,也称作 "untrimmed " or "unclopped" alignment
也可以使用参数 --local 进行局部比对,此时Bowtie2 可能会 "trim" or "clip" 短序列的首部或者尾部来最大化比对分数,分数越高,相似度越高。
软件有默认的分数阈值,当一个比对的分数达到或超过这个阈值时,则认为是一个“有效” 的比对
全局比对默认值为:-0.6 + -0.6×read length
局部比对: 20 + 8.0 × ln(read length)
可以使用 --score-min 来设定阈值
Mapping quality : higher = more unique
因为基因组中存在着大量的重复序列,所以当一个read来自与多个重复或者相似的基因时,Bowtie2无法确定这个read到底来自于哪个基因。
所以Bowtie2用 mapping quality 来代表一个read来自于某个基因的确信度 :Q = -10 log 10p
在SAM文件中后缀为 MAPQ
align paired-end inputs
Bowtie2支持常见的由测序仪产生的paired-end or mate-pair reads,使用参数 -1 -2 来表示一对pair-end 也就是双端测序的reads,同时产生2个SAM文件。
参数 --ff --fr --rf用来指双端测序两个reads的方向
参数 -I /-X 来设定双端测序两个reads之间的距离(该设定会使Bowtie2的速度变慢),也叫作(outer distance)
By default, Bowtie 2 searches for both concordant and discordant alignments, though searching for discordant alignments can be disabled with the --no-discordant
option.
所以当pair-end 没有匹配时,会将reads当做非paired-end来再次进行比对
使用参数 --no-mixed 来取消这一默认设定
结果解读
通常情况下,Bowtie2在寻找到一个有效比对后,还会继续寻找分值相等或者更高的比对(贪婪),reads可能map到多个不同位置,而Bowtie2只会输出分值最高的一个。当有多个分值相同的比对时,使用产生“伪随机数”的方法来决定输出哪一个
参数:-D 设置动态规划问题的上限
参数:
-R 设置Bowtie2 继续寻找的最大时间 (一般不要修改,可能会错失比对)
参数 -k 会报告每一个找到的有效比对,后加整数可以规定数目,找到的比对没有特定的顺序
参数 -a 报告每一个找到的有效比对,不加上限
Ambiguous characters
除了"ACGT"意外的任意非空白字符都被认为是 "ambiguous"。
"N"是参考基因组常见的一个 ambiguous字符,Bowtie2将参考基因组的所有ambiguous字符都当做"N"
参数 --np/ --n-ceil 设置允许ambiguous字符的上限
Bowtie2本身包含了许多预设,见documentation for the preset options
Next: 使用Trinity拼接以及分析差异表达一个小例子
Bowtie2的安装与使用的更多相关文章
- bowtie2 Linux安装
目前最新版本为2.3.2,网址为:https://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.3.2 安装分为简单的下载可执行文件和源编译安 ...
- 安装生物信息学软件-bowtie2
好吧,这是本周(2016.10.21-28)的学习任务之一:安装bowtie2并学习其使用方法&参数设置 所以,啃文档咯,官方文档Version 2.2.9 http://bowtie-bio ...
- 安装生物信息学软件-MetaPhlAn2
上周20161021-20161028的任务还没有搞完,所以今天来填坑(微笑脸) ××××××××××××××××××××我是萌萌哒分割线××××××××××××××××××××××××××××××× ...
- 安装生物信息学软件-Samtools
装完Bowtie2,官方文档给出的栗子说可以玩一玩samtools,所以我入个坑 参考这篇http://m.010lm.com/roll/2016/0620/2343389.html Step 1: ...
- tophat安装
1 依赖软件:bowtie,bowtie2,samtools,boost c++ library 2 建立索引文件: bowtie包括bowtie,bowtie-build, ...
- 生物信息学工具--bowtie&bowtie2
Bowtie和Bowtie2使用 [怪毛匠子整理] Source URL: http://www.bbioo.com/lifesciences/40-112837-1.html Bowtie和Bowt ...
- 30、 bowtie和bowtie2使用条件区别及用法
转载:http://blog.csdn.net/soyabean555999/article/details/62235577 一.转录组还是基因组? map常用的工具有bowtie/bowtie2, ...
- docker——容器安装tomcat
写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...
- 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法
如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...
随机推荐
- win10 时间很烦
1.刷2次策略.2.打开控制面板-管理工具-服务里,有个windows time的服务,应该是正在运行,手动(触发),右键停止.3.win+r,regedit,打开注册表,找到HKEY_LOCAL_M ...
- ABAP 自定义排序的思想(不用系统标准的SORT语句)
不用ABAP的标准SORT语句,你能将下面这个数组按从小到大(或从大到小)的顺序重新排列,并计算其算法复杂度吗? 现在假设有一个数组:A = [10,66,52,102,-65,85,99,1,56, ...
- 安装linux版zabbix客户端
安装linux版zabbix客户端 一.下载客户端 查看centos系统内核版本 cat /proc/version 如上图,就选择Linux 2.6系统对应的agent版本程序 打开官网:https ...
- cakePHP的ajax弹出窗
在html里添加一个触发弹出框的按钮 $("#button1").on("click", function() { $("#dialogue" ...
- JMeter学习(十七)JMeter测试MongoDB(转载)
转载自 http://www.cnblogs.com/yangxia-test JMeter测试MongoDB性能有两种方式,一种是利用JMeter直接进行测试MongoDB,还有一种是写Java代码 ...
- nutch笔记
1.Nutch 是一个开源Java实现的搜索引擎.它提供了我们运行自己的搜索引擎所需的全部工具.包括全文搜索和Web爬虫.
- centos7 搭建keepalived+Nginx+tomcat
准备1台 192.168.2.224 安装Nginx,2台安装tomcat 192.168.2.222 192.168.2.223 1.安装Nginx: 上传pcre-8.36.tar.gz ...
- as3.0两点之间简单的运动,斜着运动,任意两点
import flash.utils.Timer;import flash.events.TimerEvent;//fixed结束点//sprite初始点var fixedX:Number = fix ...
- linux 切割文件的命令
Head -1000 access.2016.log >> 10000_access.log
- 游戏行业的女性拥有强大的新盟友:Facebook
据外媒 TheNextWeb 报道,Facebook 本周宣布其新的游戏行业女性倡议,致力于鼓励更多的女性加入游戏行业.这家社交媒体公司专注于提供榜样和成功故事,而这实际上是一种令人愉快的方式.虽然游 ...