source: branches/help/GDEHELP/MENUS/phylip_dist.menu

Last change on this file was 16469, checked in by westram, 7 years ago
  • reintegrates 'textedit' into 'trunk'
    • fixes #586
      • editor now always started asynchronously
      • uses inotify to track file changes
    • also use inotify to track directory updates (in order to update file selections when needed)
      (./) by [16515] ff.; merged by [16551]
  • adds: log:branches/textedit@16448:16468
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1item:Phylip Distance Methods (Simple GUI Based Interface)
2itemmeta: G
3seqtype:*
4itemmethod:(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))&
12itemhelp:phylip_distance.help
13
14arg:DISPLAY_FUNC
15argtype:choice_menu
16arglabel:What to do with the tree?
17argchoice: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")
18argchoice:TextEdit:arb_textedit outfile
19argchoice:Treetool:treetool outtree
20
21arg:PROGRAM_SEL
22arglabel:Which method?
23argtype:choice_menu
24argchoice:Neighbor: PROGRAM=neighbor; PROGRAM_FLAGS="y";   PROGRAM_NAME=neighbor
25argchoice:UPGMA:    PROGRAM=neighbor; PROGRAM_FLAGS="n y"; PROGRAM_NAME=UPGMA
26argchoice:Fitch:    PROGRAM=fitch;    PROGRAM_FLAGS="y";   PROGRAM_NAME=fitch
27argchoice:Kitsch:   PROGRAM=kitsch;   PROGRAM_FLAGS="y";   PROGRAM_NAME=kitsch
28
29arg:DPGM
30arglabel:Treat data as..
31argtype:choice_menu
32argchoice:DNA/RNA:(arb_echo $DNAFLAGS |dnadist);TEXT=$DNATEXT
33argchoice:AA:(arb_echo $PROFLAGS |protdist);TEXT=$PROTEXT
34
35arg:CORRECTION_DNA
36arglabel:Correction (DNA)
37argtype:choice_menu
38argchoice:F84:                DNATEXT=F84;          DNAFLAGS="y"
39argchoice:Kimura 2-parameter: DNATEXT=Kimura;       DNAFLAGS="d y"
40argchoice: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
45arg:CORRECTION_PROT
46arglabel:Correction (PROT)
47argtype:choice_menu
48argchoice:Jones-Taylor-Thornton:  PROTEXT=JTT;     PROFLAGS="y"
49argchoice:Dayhoff PAM matrix:     PROTEXT=Dayhoff; PROFLAGS="p y"
50argchoice:Kimura formula:         PROTEXT=Kimura;  PROFLAGS="p p y"
51argchoice:Manual:                 PROTEXT=User;    PROFLAGS=""
52
53in:TmpInputFile
54informat:genbank
55insave:
56
57// --------------------------------------------------------------------------------
58
59item:Phylip Distance Matrix
60itemmeta: M
61seqtype:*
62itemmethod: GOTO_LOCAL_DIR;GEN_PHYLIP(infile) && \
63            RUN_IN_WINDOW(( $PREEDIT  \
64                            $DPGM ; \
65                            arb_textedit outfile)) ; \
66            RM_LOCAL_FILES(TmpInputFile)
67itemhelp:phylip_distance.help
68
69arg:DPGM
70arglabel:Treat data as..
71argtype:choice_menu
72argchoice:DNA/RNA:dnadist
73argchoice:AA:protdist
74
75arg:PREEDIT
76argtype:choice_menu
77arglabel:Edit input before running?
78argchoice:No:
79argchoice:Yes:arb_textedit infile ; echo "Press RETURN to start $DPGM" ; arb_wait > /dev/null ;
80
81in:TmpInputFile
82informat:genbank
83insave:
84
Note: See TracBrowser for help on using the repository browser.