source: trunk/GDEHELP/MENUS/phyml_20130708.menu

Last change on this file was 18835, checked in by westram, 3 years ago
  • define items for "PHYML-20130708" using #defines
    • fixes bogus warning about missing itemhelp for "PHYML-20130708 (DNA)" [18831]
    • use nucleotide/protein in menu entries (resets properties *sic*)
    • change STYPE stored in tree comment to NUC/PRO
  • rename controlling define
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
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
35item: 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
45itemhelp: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
50arg:DISPLAY_FUNC
51argtype:choice_menu
52arglabel:What to do with the tree?
53argchoice:ARB ('tree_phyml_'):arb_read_tree tree_phyml_$$ outtree "PRG=phyml-20130708 FILTER=$FILTER STYPE=SEQTYPE_SHRT"
54argchoice:TextEdit:arb_textedit outfile
55argchoice:Treetool:treetool outtree
56
57
58arg:MODEL
59argtype:choice_menu
60arglabel: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
86arg:PARAM_OPTIMIZATION
87argtype:choice_menu
88arglabel:Specific parameter optimization
89argchoice:Optimize tree topology, branch len, rate params:tlr
90argchoice:Optimize tree topology and branch length:tl
91argchoice:Optimize branch length and rate parameters:lr
92argchoice:Optimize branch length:l
93argchoice:Optimize rate parameters:r
94argchoice:Do not optimize any parameters:n
95
96arg:PROPINVAR
97argtype:text
98arglabel:Proportion of invariable sites\n(Range [0..1] or e to get the maximum likelihood estimate)
99argtext:e
100
101arg:ALPHA
102argtype:text
103arglabel:Distribution of the gamma distribution shape parameter\n(Positive value or e to get the maximum likelihood estimate)
104argtext:e
105
106arg:RAND_SEED
107argtype:text
108arglabel:Pseudo random number generator seed
109argtext:424242
110
111arg:BASEFREQEST
112argtype:choice_menu
113arglabel:Base frequency estimates
114argchoice:Empirical:e
115#ifdef PHYML_NUC
116        argchoice:ML:m
117#else
118        argchoice:Model:m
119#endif
120
121arg:BOOTSTRAP
122arglabel:Bootstrap
123argtype:choice_menu
124argchoice:(default) approximate Bayes branch supports:-5
125argchoice:neither approximate likelihood ratio test nor bootstrap values are computed:0
126argchoice:approximate likelihood ratio test returning aLRT statistics:-1
127argchoice:approximate likelihood ratio test returning Chi2-based parametric branch supports:-2
128argchoice:SH-like branch supports alone:-4
129argchoice:20 bootstrap replicates:20
130argchoice:50 bootstrap replicates:50
131argchoice:100 bootstrap replicates:100
132argchoice:200 bootstrap replicates:200
133argchoice:500 bootstrap replicates:500
134argchoice:1000 bootstrap replicates:1000
135argchoice:10000 bootstrap replicates:10000
136
137arg:SEARCH
138argtype:choice_menu
139arglabel:Tree topology search operation option
140argchoice:NNI (default, fast):NNI
141argchoice:SPR (a bit slower than NNI):SPR
142argchoice:BEST (best of NNI and SPR search):BEST
143
144arg:TREE
145argtype:tree
146arglabel:Starting tree
147argchoice:?????
148
149arg:CUSTOM_PARAMS
150argtype:text
151arglabel: Custom parameters
152argtext:
153
154in:TmpInputFile
155informat:genbank
156insave:
157
Note: See TracBrowser for help on using the repository browser.