Debian Codegraph @

src/stats.h

raw symbols SCIP
1 /*
2 * stats.h
3 *
4 * Header file for stats.c
5 */
6
7 #ifndef _stats_h
8 #define _stats_h
9 #include <esl_config.h>
10 #include "config.h"
11
12 #include "esl_sqio.h"
13
14 extern CMStats_t *AllocCMStats(int np);
15 extern void FreeCMStats(CMStats_t *cmstats);
16 extern int SetCMCutoff(CM_t *cm, int cm_cutoff_type, float cm_sc_cutoff, float cm_e_cutoff);
17 extern int SetCP9Cutoff(CM_t *cm, int cp9_cutoff_type, float cp9_sc_cutoff, float cp9_e_cutoff,
18 float cm_e_cutoff);
19 extern int PrintSearchInfo(FILE *fp, CM_t *cm, int cm_mode, int cp9_mode, long N);
20 extern int debug_print_cmstats(CMStats_t *cmstats, int has_fthr);
21 extern int debug_print_gumbelinfo(GumbelInfo_t *evd);
22 extern int debug_print_filterthrinfo(CMStats_t *cmstats, CP9FilterThr_t *fthr);
23
24 extern int get_gc_comp(ESL_SQ *sq, int start, int stop);
25 extern void OLD_serial_make_histogram (int *gc_count, int *partitions, int num_partitions,
26 CM_t *cm, int num_samples,
27 int sample_length, int doing_cp9_stats,
28 int use_easel);
29
30
31 #ifdef USE_MPI
32 void parallel_make_histogram (int *gc_count, int *partitions, int num_partitions,
33 CM_t *cm, int num_samples, int sample_length,
34 int doing_cp9_stats,
35 int mpi_my_rank, int mpi_num_procs,
36 int mpi_master_rank);
37 #endif
38
39 extern void GetDBInfo(const ESL_ALPHABET *abc, ESL_SQFILE *sqfp, long *ret_N, double **ret_gc_ct);
40
41 extern float e_to_score (float E, double *mu, double *lambda);
42
43 extern double RJK_ExtremeValueE (float x, double mu, double lambda);
44
45 extern char resolve_degenerate (ESL_RANDOMNESS *r, char c);
46
47 extern float MinCMScCutoff (CM_t *cm);
48 extern float MinCP9ScCutoff (CM_t *cm);
49 extern int CM2Gumbel_mode(CM_t *cm, int *ret_cm_gum_mode, int *ret_cp9_gum_mode);
50 extern int CopyFThrInfo(CP9FilterThr_t *src, CP9FilterThr_t *dest);
51 extern int CopyCMStatsGumbel(CMStats_t *src, CMStats_t *dest);
52 extern int CopyCMStats(CMStats_t *src, CMStats_t *dest);
53
54 #endif