postprob.h

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

H
55
字号
/************************************************************
 * Copyright (C) 1998 Ian Holmes (ihh@sanger.ac.uk)
 * 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.
 ************************************************************/

/* postprob.h
 * Author: Ian Holmes (ihh@sanger.ac.uk, Jun 5 1998)
 * Derived from core_algorithms.c (SRE, Nov 11 1996)
 * Incorporated SRE, Sat Nov  6 09:07:02 1999
 * 
 * Functions for working with posterior probabilities,
 * including unfussed "backwards" and "optimal accuracy"
 * implementations.
 */

#ifndef POSTPROB_INCLUDED
#define POSTPROB_INCLUDED
#include "config.h"
#include "structs.h"
#include "funcs.h"
#include "squid.h"

/* Extra algorithms to work with posterior probabilities.
 */

extern float P7OptimalAccuracy(unsigned char *dsq, int L, struct plan7_s *hmm, 
			       struct p7trace_s **ret_tr);

extern float P7Backward(unsigned char *dsq, int L, struct plan7_s *hmm, 
			struct dpmatrix_s **ret_mx);

extern void  P7EmitterPosterior(int L, struct plan7_s *hmm,
				struct dpmatrix_s *forward,
				struct dpmatrix_s *backward,
				struct dpmatrix_s *mx);

extern float P7FillOptimalAccuracy(int L, int M,
				   struct dpmatrix_s *posterior,
				   struct dpmatrix_s *mx,
				   struct p7trace_s **ret_tr);

extern void  P7OptimalAccuracyTrace(int L, int M,
				    struct dpmatrix_s *posterior,
				    struct dpmatrix_s *mx,
				    struct p7trace_s **ret_tr);

#endif

⌨️ 快捷键说明

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