-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathvadr-fasta-defs.patch
60 lines (59 loc) · 2.11 KB
/
vadr-fasta-defs.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
--- defs.h 2022-06-27 14:44:20.244363000 -0400
+++ vadr-fasta-defs.h 2022-06-27 14:42:58.682073000 -0400
@@ -1,3 +1,8 @@
+/* MANUALLY CHANGED BY ERIC NAWROCKI FROM
+ * FASTA VERSION 36.3.8h (git version v36.3.8h_04-May-2020)
+ * Search for 'EPN' for changes to original src/defs.h file from fasta
+ */
+
/* Concurrent read version */
/* $Id: defs.h 1261 2014-06-11 19:38:36Z wrp $ */
@@ -58,7 +63,14 @@
#define MAX_STR 512 /* standard label/message buffer */
#define MAX_SSTR 32 /* short string */
#define MAX_LSTR 4096 /* long label/message buffer */
-#define MAX_FN 120 /* maximum size of a file name */
+
+// EPN modification 1 of 3
+// ORIGINAL line
+//#define MAX_FN 120 /* maximum size of a file name */
+// MODIFIED line
+#define MAX_FN 4096 /* maximum size of a file name */
+// END of EPN modification 1 of 3
+
#define MAX_CH 40 /* maximum number of library choices */
#ifndef SMALLMEM
#define MAX_LF 2000 /* maximum numer of library files */
@@ -89,14 +101,28 @@
#define MIN_LOCAL_LEN 33 /* minimum length for addn'l local alignments
(should be in pstruct)*/
#ifndef SMALLMEM
-#define MAXTST 40000 /* longest query */
-#define MAXLIB 150000 /* longest library sequence*/
-#define MAXLIB_P 45000
+// EPN modification 2 of 3
+// ORIGINAL block:
+// #define MAXTST 40000 /* longest query */
+// #define MAXLIB 150000 /* longest library sequence*/
+// #define MAXLIB_P 45000
+// MODIFIED block:
+#define MAXTST 250000 /* longest query */
+#define MAXLIB 250000 /* longest library sequence*/
+#define MAXLIB_P 250000
+// END of EPN modification 2 of 3
+
#define MIN_RES 2000 /* minimum amount allocated for alignment */
#ifndef TFAST
#define MAXTRN 45000 /* buffer for fastx translation */
#else
-#define MAXTRN 165000 /* buffer for tfastx translation, must be > 3 * MAXTST */
+// EPN modification 3 of 3
+// ORIGINAL line:
+// #define MAXTRN 165000 /* buffer for tfastx translation, must be > 3 * MAXTST */
+// MODIFIED line:
+#define MAXTRN 800000 /* buffer for tfastx translation, must be > 3 * MAXTST */
+// END of EPN modification 3 of 3
+
#endif
#define SEQDUP 150 /* future - overlap */
#ifndef PCOMPLIB