1 | // this menu defines windows for two RAxml interfaces: nucleotide and protein |
---|
2 | // (depending on whether RAXML_NUC is defined or not) |
---|
3 | |
---|
4 | #ifdef RAXML_NUC |
---|
5 | # define SEQTYPE_NAME nucleotide |
---|
6 | # define SEQTYPE_SHRT NUC |
---|
7 | #else |
---|
8 | # define SEQTYPE_NAME protein |
---|
9 | # define SEQTYPE_SHRT PRO |
---|
10 | #endif |
---|
11 | |
---|
12 | #define RAXML_CODE(_TYPE_,_PARAMS_) \ |
---|
13 | (GOTO_LOCAL_DIR ; \ |
---|
14 | arb_export_rates --arb-notify -r "$RATES" > weights && \ |
---|
15 | GEN_PHYLIP(infile) && \ |
---|
16 | RUN_IN_WINDOW(arb_raxml _TYPE_ infile weights "$BASETREE" $CONSTRAINT \ |
---|
17 | $RANDOMSTART $OPTIMIZEPARAMETERS $SEARCH \ |
---|
18 | "$INITIALREARRANGEMENT" "$SEED" \ |
---|
19 | "$NUMBEROFRUNS" "$TAKETREES" $CONSENSE \ |
---|
20 | "PRG=RAxML FILTER=$FILTER RATE=$RATES ALGO=!$SEARCH STYPE=SEQTYPE_SHRT" \ |
---|
21 | _PARAMS_ \ |
---|
22 | ); \ |
---|
23 | RM_LOCAL_FILES(TmpInputFile last.infile treefile.in weights RAxML_info.treefile) )& |
---|
24 | |
---|
25 | item:RAxML 7 (SEQTYPE_NAME) |
---|
26 | #ifdef RAXML_NUC |
---|
27 | itemmethod: RAXML_CODE(DNA,$RATEMODELNUC $NUMCATEGORIES) |
---|
28 | seqtype:N |
---|
29 | itemmeta:R |
---|
30 | #else |
---|
31 | itemmethod: RAXML_CODE(PROTEIN,"$RATEMODELPROT" "$MATRIXNAME$EMPBFREQ") |
---|
32 | seqtype:A |
---|
33 | itemmeta:x |
---|
34 | #endif |
---|
35 | itemhelp:raxml.help |
---|
36 | |
---|
37 | arg:RATES |
---|
38 | argtype:weights |
---|
39 | arglabel:Select a Weighting Mask |
---|
40 | argchoice:POS_VAR_BY_PAR |
---|
41 | |
---|
42 | arg:BASETREE |
---|
43 | argtype:tree |
---|
44 | arglabel:Base tree |
---|
45 | argchoice:???? |
---|
46 | |
---|
47 | arg:CONSTRAINT |
---|
48 | argtype:choice_menu |
---|
49 | arglabel:Use as constraint tree |
---|
50 | argchoice:No:0 |
---|
51 | argchoice:Yes:1 |
---|
52 | |
---|
53 | arg:RANDOMSTART |
---|
54 | argtype:choice_menu |
---|
55 | arglabel:Generate random starting tree\n(if no tree selected) |
---|
56 | argchoice:No:0 |
---|
57 | argchoice:Yes:1 |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | #ifdef RAXML_NUC |
---|
62 | |
---|
63 | arg:RATEMODELNUC |
---|
64 | argtype:choice_menu |
---|
65 | arglabel: Rate Distribution Model |
---|
66 | argchoice:GTRGAMMA:GTRGAMMA |
---|
67 | argchoice:GTRCAT:GTRCAT |
---|
68 | argchoice:GTRGAMMAI:GTRGAMMAI |
---|
69 | argchoice:GTRCATI:GTRCATI |
---|
70 | |
---|
71 | arg:NUMCATEGORIES |
---|
72 | argtype:text |
---|
73 | arglabel: No. rate categories (GTRCAT only) |
---|
74 | argtext:25 |
---|
75 | |
---|
76 | #else |
---|
77 | |
---|
78 | arg:RATEMODELPROT |
---|
79 | argtype:choice_menu |
---|
80 | arglabel:Rate Distribution Model |
---|
81 | argchoice:PROTGAMMA:PROTGAMMA |
---|
82 | argchoice:PROTCAT:PROTCAT |
---|
83 | argchoice:PROTGAMMAI:PROTGAMMAI |
---|
84 | argchoice:PROTCATI:PROTCATI |
---|
85 | |
---|
86 | arg:MATRIXNAME |
---|
87 | argtype:choice_menu |
---|
88 | arglabel:AA Substitution Model |
---|
89 | argchoice:DAYHOFF:DAYHOFF |
---|
90 | argchoice:DCMUT:DCMUT |
---|
91 | argchoice:JTT:JTT |
---|
92 | argchoice:MTREV:MTREV |
---|
93 | argchoice:WAG:WAG |
---|
94 | argchoice:RTREV:RTREV |
---|
95 | argchoice:CPREV:CPREV |
---|
96 | argchoice:VT:VT |
---|
97 | argchoice:BLOSUM62:BLOSUM62 |
---|
98 | argchoice:MTMAM:MTMAM |
---|
99 | argchoice:LG:LG |
---|
100 | argchoice:MTART:MTART |
---|
101 | argchoice:MTZOA:MTZOA |
---|
102 | argchoice:PMB:PMB |
---|
103 | argchoice:HIVB:HIVB |
---|
104 | argchoice:HIVW:HIVW |
---|
105 | argchoice:JTTDCMUT:JTTDCMUT |
---|
106 | argchoice:FLU:FLU |
---|
107 | argchoice:LG4M:LG4M |
---|
108 | argchoice:LG4X:LG4X |
---|
109 | argchoice:GTR:GTR |
---|
110 | argchoice:GTR_UNLINKED:GTR_UNLINKED |
---|
111 | argchoice:DUMMY:DUMMY |
---|
112 | argchoice:DUMMY2:DUMMY2 |
---|
113 | argchoice:AUTO:AUTO |
---|
114 | |
---|
115 | arg:EMPBFREQ |
---|
116 | arglabel:Use empirical base frequencies? |
---|
117 | argtype:choice_menu |
---|
118 | argchoice:No: |
---|
119 | argchoice:Yes:F |
---|
120 | |
---|
121 | #endif |
---|
122 | |
---|
123 | arg:OPTIMIZEPARAMETERS |
---|
124 | argtype:choice_menu |
---|
125 | #ifdef RAXML_NUC |
---|
126 | arglabel:Optimize branches/parameters\n(GTRGAMMA only) |
---|
127 | #else |
---|
128 | arglabel:Optimize branches/parameters\n(PROTGAMMA only) |
---|
129 | #endif |
---|
130 | argchoice:No:0 |
---|
131 | argchoice:Yes:1 |
---|
132 | |
---|
133 | arg:SEARCH |
---|
134 | argtype:choice_menu |
---|
135 | arglabel:Select RAxML algorithm |
---|
136 | argchoice:new rapid hill climbing:d |
---|
137 | argchoice:old hill climbing:o |
---|
138 | argchoice:optimize input tree:e |
---|
139 | argchoice:rapid bootstrap analysis:a |
---|
140 | argchoice:add new sequences to input tree (MP):p |
---|
141 | argchoice:randomized tree searches (fixed start tree):t |
---|
142 | |
---|
143 | arg:SEED |
---|
144 | argtype:text |
---|
145 | arglabel:Random seed\n(empty=use time) |
---|
146 | argtext: |
---|
147 | |
---|
148 | arg:INITIALREARRANGEMENT |
---|
149 | argtype:text |
---|
150 | arglabel:Initial rearrangement setting\n(empty=autodetect) |
---|
151 | argtext: |
---|
152 | |
---|
153 | arg:NUMBEROFRUNS |
---|
154 | argtype:text |
---|
155 | arglabel:Number of runs |
---|
156 | argtext:1 |
---|
157 | |
---|
158 | arg:TAKETREES |
---|
159 | argtype:text |
---|
160 | arglabel:Select ## best trees |
---|
161 | argtext:1 |
---|
162 | |
---|
163 | arg:CONSENSE |
---|
164 | argtype:choice_menu |
---|
165 | arglabel:What to do with selected trees? |
---|
166 | argchoice:Import into ARB:import |
---|
167 | argchoice:Create consensus tree:consense |
---|
168 | |
---|
169 | in:TmpInputFile |
---|
170 | informat:genbank |
---|
171 | insave: |
---|
172 | |
---|