| 1 |
/* @configure_input@ |
| 2 |
* p7_config.h.in -> p7_config.h |
| 3 |
* |
| 4 |
* p7_config.h is generated from p7_config.h.in by the ./configure script. |
| 5 |
* DO NOT EDIT p7_config.h; only edit p7_config.h.in. |
| 6 |
* |
| 7 |
* Configuration of HMMER, including both system-dependent configuration |
| 8 |
* (done by ./configure) and hardcoded configuration that someone might |
| 9 |
* want to alter someday. |
| 10 |
* |
| 11 |
* Because this header may configure the behavior of system headers |
| 12 |
* (for example, LFS support), it must be included before any other |
| 13 |
* header file. |
| 14 |
* |
| 15 |
* SRE, Mon Jan 1 16:07:28 2007 [Casa de Gatos] |
| 16 |
*/ |
| 17 |
#ifndef P7_CONFIGH_INCLUDED |
| 18 |
#define P7_CONFIGH_INCLUDED |
| 19 |
|
| 20 |
/***************************************************************** |
| 21 |
* 1. Compile-time constants that control HMMER's computational |
| 22 |
* behavior (memory and processor use), and output formatting. |
| 23 |
* It can be edited and configured manually before compilation. |
| 24 |
*****************************************************************/ |
| 25 |
|
| 26 |
/* p7_RAMLIMIT controls the switch from fast full DP to slow |
| 27 |
* linear-memory divide and conquer. Default devotes 32 |
| 28 |
* MB/thread. |
| 29 |
*/ |
| 30 |
#ifndef p7_RAMLIMIT |
| 31 |
#define p7_RAMLIMIT 32 |
| 32 |
#endif |
| 33 |
|
| 34 |
/* p7_NCPU sets the default number of CPU cores (worker threads) |
| 35 |
* used by multithreaded programs. Must be quoted, because |
| 36 |
* it's used to set default options. |
| 37 |
*/ |
| 38 |
#ifndef p7_NCPU |
| 39 |
#define p7_NCPU "2" |
| 40 |
#endif |
| 41 |
|
| 42 |
/* p7_ALILENGTH controls length of displayed alignment lines. |
| 43 |
*/ |
| 44 |
#ifndef p7_ALILENGTH |
| 45 |
#define p7_ALILENGTH 50 |
| 46 |
#endif |
| 47 |
|
| 48 |
/***************************************************************** |
| 49 |
* 2. Compile-time constants that control empirically tuned HMMER |
| 50 |
* default parameters. You can edit it, but you ought not to, |
| 51 |
* unless you're trying to improve on our empirical data. |
| 52 |
*****************************************************************/ |
| 53 |
|
| 54 |
/* Relative entropy target defaults: |
| 55 |
* For proteins, hmmbuild's effective sequence number calculation |
| 56 |
* aims to achieve a certain relative entropy per match emission. |
| 57 |
* (= average score per match emission). |
| 58 |
* These are empirically tuned constants, |
| 59 |
*/ |
| 60 |
#define p7_ETARGET_AMINO 0.59 /* bits, from the work of Steve Johnson. */ |
| 61 |
#define p7_ETARGET_DNA 0.62 /* bits, from the work of Travis Wheeler and Robert Hubley. */ |
| 62 |
#define p7_ETARGET_OTHER 1.0 /* bits */ /* if you define your own alphabet, set this */ |
| 63 |
|
| 64 |
|
| 65 |
#define p7_SEQDBENV "BLASTDB" |
| 66 |
#define p7_HMMDBENV "PFAMDB" |
| 67 |
|
| 68 |
/***************************************************************** |
| 69 |
* 3. The next section probably shouldn't be edited at all, unless |
| 70 |
* you really know what you're doing. It controls some fundamental |
| 71 |
* parameters in HMMER that occasionally get reconfigured in |
| 72 |
* experimental versions, or for variants of HMMER that work on |
| 73 |
* non-biological alphabets. |
| 74 |
*****************************************************************/ |
| 75 |
|
| 76 |
/* The symbol alphabet is handled by ESL_ALPHABET objects, which |
| 77 |
* dynamically allocate; but sometimes HMMER uses statically-allocated |
| 78 |
* space, and it's useful to know a reasonable maximum for |
| 79 |
* symbol alphabet size. |
| 80 |
*/ |
| 81 |
#define p7_MAXABET 20 /* maximum size of alphabet (4 or 20) */ |
| 82 |
#define p7_MAXCODE 29 /* maximum degenerate alphabet size (18 or 29) */ |
| 83 |
|
| 84 |
/* p7_MAX_SC_TXTLEN has to be large enough to represent a score as a |
| 85 |
* string, including \0 and a sign. |
| 86 |
*/ |
| 87 |
#define p7_MAX_SC_TXTLEN 11 |
| 88 |
|
| 89 |
/* Other stuff. |
| 90 |
*/ |
| 91 |
#define p7_MAXDCHLET 20 /* maximum # Dirichlet components in mixture prior */ |
| 92 |
|
| 93 |
|
| 94 |
/***************************************************************** |
| 95 |
* 4. The final section isn't meant to be human editable at all. |
| 96 |
* It is configured automatically by the ./configure script. |
| 97 |
*****************************************************************/ |
| 98 |
|
| 99 |
/* Version info - set once for whole package in configure.ac |
| 100 |
*/ |
| 101 |
#undef HMMER_VERSION |
| 102 |
#undef HMMER_DATE |
| 103 |
#undef HMMER_COPYRIGHT |
| 104 |
#undef HMMER_LICENSE |
| 105 |
#undef HMMER_URL |
| 106 |
|
| 107 |
/* Large file support (must precede any header file inclusion.) |
| 108 |
*/ |
| 109 |
#undef _FILE_OFFSET_BITS |
| 110 |
#undef _LARGE_FILES |
| 111 |
#undef _LARGEFILE_SOURCE |
| 112 |
|
| 113 |
/* Choice of optimized implementation (one and only one must be set) |
| 114 |
* These are also identically defined in Easel esl_config.h.in |
| 115 |
*/ |
| 116 |
#undef eslENABLE_NEON |
| 117 |
#undef eslENABLE_SSE |
| 118 |
#undef eslENABLE_VMX |
| 119 |
|
| 120 |
/* System headers |
| 121 |
*/ |
| 122 |
#undef HAVE_NETINET_IN_H /* On FreeBSD, you need netinet/in.h for struct sockaddr_in */ |
| 123 |
#undef HAVE_SYS_PARAM_H /* On OpenBSD, sys/sysctl.h needs sys/param.h */ |
| 124 |
#undef HAVE_SYS_SYSCTL_H |
| 125 |
|
| 126 |
/* Optional parallel implementations |
| 127 |
*/ |
| 128 |
#undef HMMER_MPI |
| 129 |
#undef HMMER_THREADS |
| 130 |
|
| 131 |
/* Optional processor specific support |
| 132 |
*/ |
| 133 |
#undef HAVE_FLUSH_ZERO_MODE |
| 134 |
|
| 135 |
#endif /*P7_CONFIGH_INCLUDED*/ |
| 136 |
|