rk.h

来自「这是一个基于HMM 模型的生物多序列比对算法的linux实现版本。hmmer」· C头文件 代码 · 共 41 行

H
41
字号
/***************************************************************** * HMMER - Biological sequence analysis with profile HMMs * Copyright (C) 1992-2003 Washington University School of Medicine * All Rights Reserved *  *     This source code is distributed under the terms of the *     GNU General Public License. See the files COPYING and LICENSE *     for details. *****************************************************************/#ifndef SQRKH_INCLUDED#define SQRKH_INCLUDED/* rk.h *  * Header file for Rabin-Karp pattern searching on encoded * sequence strings. *  * Sean Eddy, Thu Oct  1 11:45:42 1992 * RCS $Id: rk.h,v 1.2 1998/10/09 18:07:16 eddy Exp $ */				/* expect 32 bits for 8 nt */typedef unsigned long Hashseq;				/* but we count to be sure...				   RK_HASHSIZE is the number of nt that fit				   in one probe */#define RK_HASHSIZE  (sizeof(Hashseq)*2)				/* empirically, how many nt minimum we require				   in a pattern before we abandon rk and				   go with something else */#define RK_REQUIRE    4extern int rkseq(Hashseq hashprobe, char *sequence);extern Hashseq rkcomp(char *probe);	/* compile a Hashseq from a pattern */#endif /* SQRKH_INCLUDED */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?