1 | item:Phylip Distance Methods (Simple GUI Based Interface) |
---|
2 | itemmeta: G |
---|
3 | seqtype:* |
---|
4 | itemmethod:(GOTO_LOCAL_DIR;GEN_PHYLIP(infile) && \ |
---|
5 | RUN_IN_WINDOW(($CORRECTION_PROT;$CORRECTION_DNA;$PROGRAM_SEL;\ |
---|
6 | $DPGM;\ |
---|
7 | mv infile infile.1; \ |
---|
8 | mv -f outfile infile;\ |
---|
9 | (arb_echo $PROGRAM_FLAGS |$PROGRAM || STOP_ON_FAILURE($PROGRAM)) && \ |
---|
10 | $DISPLAY_FUNC));\ |
---|
11 | RM_LOCAL_FILES(TmpInputFile infile.1))& |
---|
12 | itemhelp:phylip_distance.help |
---|
13 | |
---|
14 | arg:DISPLAY_FUNC |
---|
15 | argtype:choice_menu |
---|
16 | arglabel:What to do with the tree? |
---|
17 | argchoice:ARB ('tree_ph_'):($CORRECTION_PROT;$CORRECTION_DNA;$PROGRAM_SEL;echo||$DPGM;arb_read_tree tree_ph_$$ outtree "PRG=$PROGRAM_NAME CORR=$TEXT FILTER=$FILTER PKG=phylip") |
---|
18 | argchoice:TextEdit:arb_textedit outfile |
---|
19 | argchoice:Treetool:treetool outtree |
---|
20 | |
---|
21 | arg:PROGRAM_SEL |
---|
22 | arglabel:Which method? |
---|
23 | argtype:choice_menu |
---|
24 | argchoice:Neighbor: PROGRAM=neighbor; PROGRAM_FLAGS="y"; PROGRAM_NAME=neighbor |
---|
25 | argchoice:UPGMA: PROGRAM=neighbor; PROGRAM_FLAGS="n y"; PROGRAM_NAME=UPGMA |
---|
26 | argchoice:Fitch: PROGRAM=fitch; PROGRAM_FLAGS="y"; PROGRAM_NAME=fitch |
---|
27 | argchoice:Kitsch: PROGRAM=kitsch; PROGRAM_FLAGS="y"; PROGRAM_NAME=kitsch |
---|
28 | |
---|
29 | arg:DPGM |
---|
30 | arglabel:Treat data as.. |
---|
31 | argtype:choice_menu |
---|
32 | argchoice:DNA/RNA:(arb_echo $DNAFLAGS |dnadist);TEXT=$DNATEXT |
---|
33 | argchoice:AA:(arb_echo $PROFLAGS |protdist);TEXT=$PROTEXT |
---|
34 | |
---|
35 | arg:CORRECTION_DNA |
---|
36 | arglabel:Correction (DNA) |
---|
37 | argtype:choice_menu |
---|
38 | argchoice:F84: DNATEXT=F84; DNAFLAGS="y" |
---|
39 | argchoice:Kimura 2-parameter: DNATEXT=Kimura; DNAFLAGS="d y" |
---|
40 | argchoice:Jukes-Cantor: DNATEXT=Jukes-Cantor; DNAFLAGS="d d y" |
---|
41 | // the following options cause crash with all distance programs: |
---|
42 | // argchoice:LogDet: DNATEXT=LogDet; DNAFLAGS="d d d y" |
---|
43 | // argchoice:Manual: DNATEXT=User; DNAFLAGS="" |
---|
44 | |
---|
45 | arg:CORRECTION_PROT |
---|
46 | arglabel:Correction (PROT) |
---|
47 | argtype:choice_menu |
---|
48 | argchoice:Jones-Taylor-Thornton: PROTEXT=JTT; PROFLAGS="y" |
---|
49 | argchoice:Dayhoff PAM matrix: PROTEXT=Dayhoff; PROFLAGS="p y" |
---|
50 | argchoice:Kimura formula: PROTEXT=Kimura; PROFLAGS="p p y" |
---|
51 | argchoice:Manual: PROTEXT=User; PROFLAGS="" |
---|
52 | |
---|
53 | in:TmpInputFile |
---|
54 | informat:genbank |
---|
55 | insave: |
---|
56 | |
---|
57 | // -------------------------------------------------------------------------------- |
---|
58 | |
---|
59 | item:Phylip Distance Matrix |
---|
60 | itemmeta: M |
---|
61 | seqtype:* |
---|
62 | itemmethod: GOTO_LOCAL_DIR;GEN_PHYLIP(infile) && \ |
---|
63 | RUN_IN_WINDOW(( $PREEDIT \ |
---|
64 | $DPGM ; \ |
---|
65 | arb_textedit outfile)) ; \ |
---|
66 | RM_LOCAL_FILES(TmpInputFile) |
---|
67 | itemhelp:phylip_distance.help |
---|
68 | |
---|
69 | arg:DPGM |
---|
70 | arglabel:Treat data as.. |
---|
71 | argtype:choice_menu |
---|
72 | argchoice:DNA/RNA:dnadist |
---|
73 | argchoice:AA:protdist |
---|
74 | |
---|
75 | arg:PREEDIT |
---|
76 | argtype:choice_menu |
---|
77 | arglabel:Edit input before running? |
---|
78 | argchoice:No: |
---|
79 | argchoice:Yes:arb_textedit infile ; echo "Press RETURN to start $DPGM" ; arb_wait > /dev/null ; |
---|
80 | |
---|
81 | in:TmpInputFile |
---|
82 | informat:genbank |
---|
83 | insave: |
---|
84 | |
---|