1 | // this menu defines windows for two PHYML interfaces: nucleotide and protein |
---|
2 | // (depending on whether PHYML_NUC is defined or not) |
---|
3 | |
---|
4 | #ifdef PHYML_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 | |
---|
13 | |
---|
14 | // test for "no tree" below has to match ../../TEMPLATES/arb_global_defs.h@NO_TREE_SELECTED |
---|
15 | |
---|
16 | #define PHYML_CALL(seqtype) \ |
---|
17 | ( GOTO_LOCAL_DIR;GEN_PHYLIP(infile) && \ |
---|
18 | RUN_IN_WINDOW(if [ "$TREE" != "tree_?????" -a ! -z "$TREE" ]; then arb_export_tree $TREE > input_tree.in; INPUT_TREE_PARAM=-uinput_tree.in; fi; \ |
---|
19 | ($ARBHOME/bin/phyml_20130708 \ |
---|
20 | --input=infile \ |
---|
21 | --datatype=seqtype \ |
---|
22 | --model=$MODEL \ |
---|
23 | -f$BASEFREQEST \ |
---|
24 | --bootstrap=$BOOTSTRAP \ |
---|
25 | --search=$SEARCH \ |
---|
26 | -o$PARAM_OPTIMIZATION \ |
---|
27 | --r_seed=$RAND_SEED \ |
---|
28 | --pinv=$PROPINVAR \ |
---|
29 | --alpha=$ALPHA \ |
---|
30 | $INPUT_TREE_PARAM \ |
---|
31 | $CUSTOM_PARAMS || STOP_ON_FAILURE(phyml_20130708)) && \ |
---|
32 | mv infile_phyml_tree.txt outtree && \ |
---|
33 | $DISPLAY_FUNC))& |
---|
34 | |
---|
35 | item: PHYML-20130708 (SEQTYPE_NAME) |
---|
36 | #ifdef PHYML_NUC |
---|
37 | seqtype: N |
---|
38 | itemmethod:PHYML_CALL(nt) |
---|
39 | itemmeta: P |
---|
40 | #else |
---|
41 | seqtype: A |
---|
42 | itemmethod:PHYML_CALL(aa) |
---|
43 | itemmeta: Y |
---|
44 | #endif |
---|
45 | itemhelp:phyml-20130708.help |
---|
46 | |
---|
47 | // $INPUT_TREE_PARAM is either empty or contains -uinput_tree.in depending on the selection of the starting tree |
---|
48 | |
---|
49 | |
---|
50 | arg:DISPLAY_FUNC |
---|
51 | argtype:choice_menu |
---|
52 | arglabel:What to do with the tree? |
---|
53 | argchoice:ARB ('tree_phyml_'):arb_read_tree tree_phyml_$$ outtree "PRG=phyml-20130708 FILTER=$FILTER STYPE=SEQTYPE_SHRT" |
---|
54 | argchoice:TextEdit:arb_textedit outfile |
---|
55 | argchoice:Treetool:treetool outtree |
---|
56 | |
---|
57 | |
---|
58 | arg:MODEL |
---|
59 | argtype:choice_menu |
---|
60 | arglabel:Nuc. substitution model |
---|
61 | #ifdef PHYML_NUC |
---|
62 | argchoice:GTR:GTR |
---|
63 | argchoice:HKY85 (default):HKY85 |
---|
64 | argchoice:JC69:JC69 |
---|
65 | argchoice:K80:K80 |
---|
66 | argchoice:F81:F81 |
---|
67 | argchoice:F84:F84 |
---|
68 | argchoice:TN93:TN93 |
---|
69 | #else |
---|
70 | argchoice:LG (default):LG |
---|
71 | argchoice:WAG:WAG |
---|
72 | argchoice:JTT:JTT |
---|
73 | argchoice:MtREV:MtREV |
---|
74 | argchoice:Dayhoff:Dayhoff |
---|
75 | argchoice:DCMut:DCMut |
---|
76 | argchoice:RtREV:RtREV |
---|
77 | argchoice:CpREV:CpREV |
---|
78 | argchoice:VT:VT |
---|
79 | argchoice:Blosum62:Blosum62 |
---|
80 | argchoice:MtMam:MtMam |
---|
81 | argchoice:MtArt:MtArt |
---|
82 | argchoice:HIVw:HIVw |
---|
83 | argchoice:HIVb:HIVb |
---|
84 | #endif |
---|
85 | |
---|
86 | arg:PARAM_OPTIMIZATION |
---|
87 | argtype:choice_menu |
---|
88 | arglabel:Specific parameter optimization |
---|
89 | argchoice:Optimize tree topology, branch len, rate params:tlr |
---|
90 | argchoice:Optimize tree topology and branch length:tl |
---|
91 | argchoice:Optimize branch length and rate parameters:lr |
---|
92 | argchoice:Optimize branch length:l |
---|
93 | argchoice:Optimize rate parameters:r |
---|
94 | argchoice:Do not optimize any parameters:n |
---|
95 | |
---|
96 | arg:PROPINVAR |
---|
97 | argtype:text |
---|
98 | arglabel:Proportion of invariable sites\n(Range [0..1] or e to get the maximum likelihood estimate) |
---|
99 | argtext:e |
---|
100 | |
---|
101 | arg:ALPHA |
---|
102 | argtype:text |
---|
103 | arglabel:Distribution of the gamma distribution shape parameter\n(Positive value or e to get the maximum likelihood estimate) |
---|
104 | argtext:e |
---|
105 | |
---|
106 | arg:RAND_SEED |
---|
107 | argtype:text |
---|
108 | arglabel:Pseudo random number generator seed |
---|
109 | argtext:424242 |
---|
110 | |
---|
111 | arg:BASEFREQEST |
---|
112 | argtype:choice_menu |
---|
113 | arglabel:Base frequency estimates |
---|
114 | argchoice:Empirical:e |
---|
115 | #ifdef PHYML_NUC |
---|
116 | argchoice:ML:m |
---|
117 | #else |
---|
118 | argchoice:Model:m |
---|
119 | #endif |
---|
120 | |
---|
121 | arg:BOOTSTRAP |
---|
122 | arglabel:Bootstrap |
---|
123 | argtype:choice_menu |
---|
124 | argchoice:(default) approximate Bayes branch supports:-5 |
---|
125 | argchoice:neither approximate likelihood ratio test nor bootstrap values are computed:0 |
---|
126 | argchoice:approximate likelihood ratio test returning aLRT statistics:-1 |
---|
127 | argchoice:approximate likelihood ratio test returning Chi2-based parametric branch supports:-2 |
---|
128 | argchoice:SH-like branch supports alone:-4 |
---|
129 | argchoice:20 bootstrap replicates:20 |
---|
130 | argchoice:50 bootstrap replicates:50 |
---|
131 | argchoice:100 bootstrap replicates:100 |
---|
132 | argchoice:200 bootstrap replicates:200 |
---|
133 | argchoice:500 bootstrap replicates:500 |
---|
134 | argchoice:1000 bootstrap replicates:1000 |
---|
135 | argchoice:10000 bootstrap replicates:10000 |
---|
136 | |
---|
137 | arg:SEARCH |
---|
138 | argtype:choice_menu |
---|
139 | arglabel:Tree topology search operation option |
---|
140 | argchoice:NNI (default, fast):NNI |
---|
141 | argchoice:SPR (a bit slower than NNI):SPR |
---|
142 | argchoice:BEST (best of NNI and SPR search):BEST |
---|
143 | |
---|
144 | arg:TREE |
---|
145 | argtype:tree |
---|
146 | arglabel:Starting tree |
---|
147 | argchoice:????? |
---|
148 | |
---|
149 | arg:CUSTOM_PARAMS |
---|
150 | argtype:text |
---|
151 | arglabel: Custom parameters |
---|
152 | argtext: |
---|
153 | |
---|
154 | in:TmpInputFile |
---|
155 | informat:genbank |
---|
156 | insave: |
---|
157 | |
---|