⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 last_thresh.c

📁 序列对齐 Compare a protein sequence to a protein sequence database or a DNA sequence to a DNA sequenc
💻 C
字号:
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "defs.h"#include "mm_file.h"#include "structs.h"#include "param.h"#ifndef PCOMPLIB#include "mw.h"#else#include "msg.h"#include "p_mw.h"void do_stage2(struct beststr **bptr, int nbest, struct mngmsg m_msg0,	       int s_func, struct qmng_str *qm_msp);#endifstatic char thresh_str[MAX_STR];int E1_to_s(double e_val, int n0, int n1, int db_size, 	void *pu);intlast_calc(#ifndef PCOMPLIB	  unsigned char **aa0, unsigned char *aa1, int maxn,#endif	  	  struct beststr **bptr, int nbest, 	  struct mngmsg m_msg, struct pstruct *ppst#ifdef PCOMPLIB	  , struct qmng_str *qm_msp#else	  , void **f_str#endif	  , void *pstat_str){  if (ppst->zdb_size < 0 ) ppst->zdb_size = m_msg.db.entries;  ppst->repeat_thresh = E1_to_s(ppst->e_cut, m_msg.n0, bptr[0]->seq->n1, ppst->zdb_size, pstat_str);  ppst->other_info = thresh_str;  sprintf(thresh_str,"Threshold: E() < %.2g score: %d\n",ppst->e_cut, ppst->repeat_thresh);  return nbest;}

⌨️ 快捷键说明

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