1 Star 0 Fork 0

Velcon-Zheng/bowtie

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
search_1mm_phase2.c 878 Bytes
一键复制 编辑 原始数据 按行查看 历史
langmead 提交于 2009-11-26 03:06 . *** empty log message ***
/*
* This is a fragment, included from multiple places in ebwt_search.cpp.
* It implements the logic of the second phase of the 1-mismatch search
* routine. It is implemented as a code fragment so that it can be
* reused in both the half-index-in-memory and full-index-in-memory
* situations.
*/
{
bt.setEbwt(&ebwtBw);
bt.setReportExacts(false);
if(!norc) {
params.setFw(false);
// Next, try hits with one mismatch on the 3' end for the reverse-complement read
bt.setQuery(patsrc->bufa());
bt.setOffs(0, 0, s3, s, s, s); // 1 mismatch allowed in 3' half
if(bt.backtrack()) {
continue;
}
}
if(!nofw) {
params.setFw(true);
// Next, try hits with one mismatch on the 3' end for the reverse-complement read
bt.setQuery(patsrc->bufa());
bt.setOffs(0, 0, s3, s, s, s); // 1 mismatch allowed in 3' half
if(bt.backtrack()) {
continue;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Velcon-Zheng/bowtie.git
git@gitee.com:Velcon-Zheng/bowtie.git
Velcon-Zheng
bowtie
bowtie
master

搜索帮助