1 |
#!/sw/bin/kaptain
|
2 |
|
3 |
start "boxshade" -> boxshade buttons;
|
4 |
|
5 |
boxshade -> "boxshade " input_name " " opts;
|
6 |
opts:framed :horizontal -> input_opts output_opts ;
|
7 |
|
8 |
input_name "Alignment file" -> "-in="@string;
|
9 |
|
10 |
|
11 |
input_opts "Input Options" -> thr " " in_types;
|
12 |
|
13 |
thr "Similarity threshold" -> "-thr="@float="0.5";
|
14 |
|
15 |
in_types "Input file type" -> MSF | CLUSTAL | MALIGNED | ESEE | PHYLIP;
|
16 |
MSF "MSF" -> "-type=MSF ";
|
17 |
CLUSTAL "CLUSTAL" -> "-type=CLUSTAL ";
|
18 |
MALIGNED "MALIGNED" -> "-type=MALIGNED ";
|
19 |
ESEE "ESEE" -> "-type=ESEE ";
|
20 |
PHYLIP "PHYLIP" -> "-type=PHYLIP ";
|
21 |
|
22 |
|
23 |
output_opts "Output options" -> numdef split ruler cons endings;
|
24 |
|
25 |
numdef "use default numbering" -> "-numdef " | @;
|
26 |
split "split pages into files" -> "-split " | @;
|
27 |
ruler "print ruler" -> "-ruler " | @;
|
28 |
cons "create consensus line" -> "-cons " | @;
|
29 |
|
30 |
endings "Output line endings" -> unix | mac | dos;
|
31 |
unix "unix" -> "-unix ";
|
32 |
mac "mac" -> "-mac ";
|
33 |
dos "dos" -> "-dos ";
|
34 |
|
35 |
buttons :horizontal -> @action(boxshade)="OK" @close="Cancel" @preview(start,"Lucidatypewriter",300,200,"Close")="Preview";
|