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