-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui.tcl
1631 lines (1609 loc) · 78.3 KB
/
ui.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#############################################################################
# Generated by PAGE version 7.4
# in conjunction with Tcl version 8.6
# Jun 02, 2022 03:54:22 PM CST platform: Darwin
set vTcl(timestamp) ""
if {![info exists vTcl(borrow)]} {
::vTcl::MessageBox -title Error -message "You must open project files from within PAGE."
exit}
set image_list {
button4_png "./button4.png"
button1_png "./button1.png"
button2_png "./button2.png"
button3_png "./button3.png"
}
vTcl:create_project_images $image_list ;# In image.tcl
if {!$vTcl(borrow) && !$vTcl(template)} {
set vTcl(actual_gui_font_dft_desc) TkDefaultFont
set vTcl(actual_gui_font_dft_name) TkDefaultFont
set vTcl(actual_gui_font_text_desc) TkTextFont
set vTcl(actual_gui_font_text_name) TkTextFont
set vTcl(actual_gui_font_fixed_desc) TkFixedFont
set vTcl(actual_gui_font_fixed_name) TkFixedFont
set vTcl(actual_gui_font_menu_desc) TkMenuFont
set vTcl(actual_gui_font_menu_name) TkMenuFont
set vTcl(actual_gui_font_tooltip_desc) TkDefaultFont
set vTcl(actual_gui_font_tooltip_name) TkDefaultFont
set vTcl(actual_gui_font_treeview_desc) TkDefaultFont
set vTcl(actual_gui_font_treeview_name) TkDefaultFont
###########################################
set vTcl(actual_gui_bg) #edf0f3
set vTcl(actual_gui_fg) #000000
set vTcl(actual_gui_analog) #ececec
set vTcl(actual_gui_menu_analog) #ececec
set vTcl(actual_gui_menu_bg) #d9d9d9
set vTcl(actual_gui_menu_fg) #000000
set vTcl(complement_color) #d9d9d9
set vTcl(analog_color_p) #d9d9d9
set vTcl(analog_color_m) #ececec
set vTcl(tabfg1) black
set vTcl(tabfg2) black
set vTcl(actual_gui_menu_active_bg) #ececec
set vTcl(actual_gui_menu_active_fg) #000000
###########################################
set vTcl(pr,autoalias) 1
set vTcl(pr,relative_placement) 1
set vTcl(mode) Relative
}
proc vTclWindow.top44 {base} {
global vTcl
if {$base == ""} {
set base .top44
}
if {[winfo exists $base]} {
wm deiconify $base; return
}
set top $base
set target $base
###################
# CREATING WIDGETS
###################
vTcl::widgets::core::toplevel::createCmd $top -class Toplevel \
-menu "$top.m52" -background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
wm focusmodel $top passive
wm geometry $top 800x451+1875+33
update
# set in toplevel.wgt.
global vTcl
global img_list
set vTcl(save,dflt,origin) 0
wm maxsize $top 2564 1421
wm minsize $top 120 15
wm overrideredirect $top 0
wm resizable $top 1 1
wm deiconify $top
set toptitle "BarcodeFinder"
wm title $top $toptitle
namespace eval ::widgets::${top}::ClassOption {}
set ::widgets::${top}::ClassOption(-toptitle) $toptitle
vTcl:DefineAlias "$top" "main" vTcl:Toplevel:WidgetProc "" 1
set vTcl(real_top) {}
vTcl:withBusyCursor {
button $top.but46 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -borderwidth 1 -command run_help \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-image button4_png -pady 0 -text Button
vTcl:DefineAlias "$top.but46" "help_b" vTcl:WidgetProc "main" 1
button $top.but47 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -borderwidth 0 -command run_gb2fasta \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-image button1_png -pady 0 -text Button
vTcl:DefineAlias "$top.but47" "gb2fasta_b" vTcl:WidgetProc "main" 1
button $top.but48 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -borderwidth 0 -command run_evaluate \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-image button2_png -pady 0 -text Button
vTcl:DefineAlias "$top.but48" "evaluate_b" vTcl:WidgetProc "main" 1
button $top.but49 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -borderwidth 0 -command run_primer \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-image button3_png -pady 0 -text Button
vTcl:DefineAlias "$top.but49" "primer_b" vTcl:WidgetProc "main" 1
button $top.but55 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -borderwidth 1 -compound left \
-font {-family {TkDefaultFont} -size 14 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text {Install third-party software}
vTcl:DefineAlias "$top.but55" "Button2" vTcl:WidgetProc "main" 1
label $top.lab52 \
-activebackground #f9f9f9 \
-activeforeground systemPressedButtonTextColor -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family Arial -size 20 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text GB2Fasta
vTcl:DefineAlias "$top.lab52" "Label1" vTcl:WidgetProc "main" 1
label $top.lab53 \
-activebackground #f9f9f9 \
-activeforeground systemPressedButtonTextColor -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family Arial -size 20 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text Evaluate
vTcl:DefineAlias "$top.lab53" "Label1_2" vTcl:WidgetProc "main" 1
label $top.lab54 \
-activebackground #f9f9f9 \
-activeforeground systemPressedButtonTextColor -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family Arial -size 20 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text Primer
vTcl:DefineAlias "$top.lab54" "Label1_2_1" vTcl:WidgetProc "main" 1
label $top.lab55 \
-activebackground #f9f9f9 \
-activeforeground systemPressedButtonTextColor -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family Arial -size 20 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text {Click button to run modules}
vTcl:DefineAlias "$top.lab55" "Label2" vTcl:WidgetProc "main" 1
###################
# SETTING GEOMETRY
###################
place $top.but46 \
-in $top -x 0 -relx 0.913 -y 0 -rely 0.067 -width 40 -relwidth 0 \
-height 40 -relheight 0 -anchor nw -bordermode ignore
place $top.but47 \
-in $top -x 0 -relx 0.188 -y 0 -rely 0.289 -width 100 -relwidth 0 \
-height 100 -relheight 0 -anchor nw -bordermode ignore
place $top.but48 \
-in $top -x 0 -relx 0.438 -y 0 -rely 0.289 -width 100 -relwidth 0 \
-height 100 -relheight 0 -anchor nw -bordermode ignore
place $top.but49 \
-in $top -x 550 -y 130 -width 100 -relwidth 0 -height 100 \
-relheight 0 -anchor nw -bordermode ignore
place $top.but55 \
-in $top -x 0 -relx 0.713 -y 0 -rely 0.865 -width 200 -relwidth 0 \
-height 30 -relheight 0 -anchor nw -bordermode ignore
place $top.lab52 \
-in $top -x 0 -relx 0.188 -y 0 -rely 0.532 -width 0 -relwidth 0.125 \
-height 0 -relheight 0.067 -anchor nw -bordermode ignore
place $top.lab53 \
-in $top -x 0 -relx 0.45 -y 0 -rely 0.532 -width 0 -relwidth 0.125 \
-height 0 -relheight 0.067 -anchor nw -bordermode ignore
place $top.lab54 \
-in $top -x 0 -relx 0.713 -y 0 -rely 0.532 -width 0 -relwidth 0.125 \
-height 0 -relheight 0.067 -anchor nw -bordermode ignore
place $top.lab55 \
-in $top -x 0 -relx 0.35 -y 0 -rely 0.643 -width 0 -relwidth 0.315 \
-height 0 -relheight 0.078 -anchor nw -bordermode ignore
} ;# end vTcl:withBusyCursor
vTcl:FireEvent $base <<Ready>>
}
proc vTclWindow.top45 {base} {
global vTcl
if {$base == ""} {
set base .top45
}
if {[winfo exists $base]} {
wm deiconify $base; return
}
set top $base
set target $base
###################
# CREATING WIDGETS
###################
vTcl::widgets::core::toplevel::createCmd $top -class Toplevel \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
wm focusmodel $top passive
wm geometry $top 600x800+2235+139
update
# set in toplevel.wgt.
global vTcl
global img_list
set vTcl(save,dflt,origin) 0
wm maxsize $top 2564 1421
wm minsize $top 120 15
wm overrideredirect $top 0
wm resizable $top 1 1
wm deiconify $top
set toptitle "GB2Fasta"
wm title $top $toptitle
namespace eval ::widgets::${top}::ClassOption {}
set ::widgets::${top}::ClassOption(-toptitle) $toptitle
vTcl:DefineAlias "$top" "gb2fasta" vTcl:Toplevel:WidgetProc "" 1
set vTcl(real_top) {}
vTcl:withBusyCursor {
labelframe $top.lab58 \
\
-font {-family {TkDefaultFont} -size 14 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) -text Input \
-background $vTcl(actual_gui_bg) -height 367 \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-width 573
vTcl:DefineAlias "$top.lab58" "Labelframe1" vTcl:WidgetProc "gb2fasta" 1
set site_3_0 $top.lab58
label $site_3_0.tLa61 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Genbank files}
vTcl:DefineAlias "$site_3_0.tLa61" "TLabel1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn62 \
-font TkTextFont -textvariable gb -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn62" "gb_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn62 <<SetBalloon>> {
set ::vTcl::balloon::%W {gb format files}
}
ttk::separator $site_3_0.tSe65
vTcl:DefineAlias "$site_3_0.tSe65" "TSeparator1" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa66 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Gene
vTcl:DefineAlias "$site_3_0.tLa66" "TLabel1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn67 \
-font TkTextFont -textvariable gene -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn67" "gene_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn67 <<SetBalloon>> {
set ::vTcl::balloon::%W {gene name}
}
ttk::separator $site_3_0.tSe69 \
-orient vertical
vTcl:DefineAlias "$site_3_0.tSe69" "TSeparator1" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa70 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Taxonomy
vTcl:DefineAlias "$site_3_0.tLa70" "TLabel1_1" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa72 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Molecular
vTcl:DefineAlias "$site_3_0.tLa72" "TLabel1_2" vTcl:WidgetProc "gb2fasta" 1
ttk::combobox $site_3_0.tCo75 \
-values {all DNA RNA} -font TkTextFont -state readonly \
-textvariable molecular -foreground {} -background {} -takefocus {}
vTcl:DefineAlias "$site_3_0.tCo75" "TCombobox_molecular" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa76 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Group
vTcl:DefineAlias "$site_3_0.tLa76" "TLabel1_2_1" vTcl:WidgetProc "gb2fasta" 1
ttk::combobox $site_3_0.tCo77 \
-values {all animals plants fungi protists bacteria archaea viruses} \
-font TkTextFont -state readonly -textvariable group -foreground {} \
-background {} -takefocus {}
vTcl:DefineAlias "$site_3_0.tCo77" "TCombobox_group" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa78 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Organelle
vTcl:DefineAlias "$site_3_0.tLa78" "TLabel1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::combobox $site_3_0.tCo79 \
-values {ignore both no mitochondrion chloroplast} -font TkTextFont \
-state readonly -textvariable og -foreground {} -background {} \
-takefocus {}
vTcl:DefineAlias "$site_3_0.tCo79" "TCombobox_og" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa80 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text RefSeq
vTcl:DefineAlias "$site_3_0.tLa80" "TLabel1_1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::combobox $site_3_0.tCo81 \
-values {both yes no} -font TkTextFont -state readonly \
-textvariable refseq -foreground {} -background {} -takefocus {}
vTcl:DefineAlias "$site_3_0.tCo81" "TCombobox_refseq" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tCo81 <<SetBalloon>> {
set ::vTcl::balloon::%W {Use RefSeq or not}
}
label $site_3_0.tLa82 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Count
vTcl:DefineAlias "$site_3_0.tLa82" "TLabel1_1_1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn83 \
-font TkTextFont -textvariable count -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn83" "count_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn83 <<SetBalloon>> {
set ::vTcl::balloon::%W {numbers of sequences to download, 0 for no limit}
}
label $site_3_0.tLa84 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Length
vTcl:DefineAlias "$site_3_0.tLa84" "TLabel1_2_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn87 \
-font TkTextFont -textvariable min_len -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn87" "min_len_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn87 <<SetBalloon>> {
set ::vTcl::balloon::%W {sequence length limit}
}
label $site_3_0.lab88 \
-activebackground #f9f9f9 -activeforeground SystemButtonText \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 13 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text to
vTcl:DefineAlias "$site_3_0.lab88" "Label1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn89 \
-font TkTextFont -textvariable max_len -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn89" "max_len_enry" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa90 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Date
vTcl:DefineAlias "$site_3_0.tLa90" "TLabel1_2_1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn91 \
-font TkTextFont -textvariable date_start -foreground {} \
-background {} -takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn91" "date_start_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn91 <<SetBalloon>> {
set ::vTcl::balloon::%W {1970/1/1}
}
label $site_3_0.lab92 \
-activebackground #f9f9f9 -activeforeground SystemButtonText \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 13 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text to
vTcl:DefineAlias "$site_3_0.lab92" "Label1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn93 \
-font TkTextFont -textvariable date_end -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn93" "date_end_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn93 <<SetBalloon>> {
set ::vTcl::balloon::%W {2022/12/31}
}
label $site_3_0.tLa99 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Exclude
vTcl:DefineAlias "$site_3_0.tLa99" "TLabel1_1_1_1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn100 \
-font TkTextFont -textvariable exclude -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn100" "exclude_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn100 <<SetBalloon>> {
set ::vTcl::balloon::%W {exclude expression}
}
label $site_3_0.tLa101 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Query
vTcl:DefineAlias "$site_3_0.tLa101" "TLabel1_1_1_1_1_2" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn102 \
-font TkTextFont -textvariable query -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn102" "query_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn102 <<SetBalloon>> {
set ::vTcl::balloon::%W {Entrez query string}
}
button $site_3_0.but131 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$site_3_0.but131" "Button1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn135 \
-font TkTextFont -textvariable taxon -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn135" "taxon_entry" vTcl:WidgetProc "gb2fasta" 1
place $site_3_0.tLa61 \
-in $site_3_0 -x 0 -relx 0.052 -y 0 -rely 0.057 -width 0 \
-relwidth 0.157 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn62 \
-in $site_3_0 -x 0 -relx 0.241 -y 0 -rely 0.057 -width 0 \
-relwidth 0.562 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tSe65 \
-in $site_3_0 -x 0 -relx 0.002 -y 0 -rely 0.171 -width 0 \
-relwidth 0.995 -height 0 -relheight 0.011 -anchor nw \
-bordermode ignore
place $site_3_0.tLa66 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.217 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn67 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.217 -width 0 \
-relwidth 0.314 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tSe69 \
-in $site_3_0 -x 0 -relx 0.524 -y 0 -rely 0.19 -width 0 \
-relwidth 0.005 -height 0 -relheight 0.542 -anchor nw \
-bordermode ignore
place $site_3_0.tLa70 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.325 -width 0 \
-relwidth 0.122 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa72 \
-in $site_3_0 -x 0 -relx 0.558 -y 0 -rely 0.217 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tCo75 \
-in $site_3_0 -x 0 -relx 0.716 -y 0 -rely 0.217 -width 0 \
-relwidth 0.257 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa76 \
-in $site_3_0 -x 0 -relx 0.558 -y 0 -rely 0.325 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tCo77 \
-in $site_3_0 -x 0 -relx 0.719 -y 0 -rely 0.325 -width 0 \
-relwidth 0.257 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa78 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.434 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tCo79 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.435 -width 0 \
-relwidth 0.314 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa80 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.542 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tCo81 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.516 -width 0 \
-relwidth 0.314 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa82 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.65 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn83 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.65 -width 0 \
-relwidth 0.314 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa84 \
-in $site_3_0 -x 0 -relx 0.558 -y 0 -rely 0.434 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn87 \
-in $site_3_0 -x 0 -relx 0.686 -y 0 -rely 0.435 -width 0 \
-relwidth 0.087 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.lab88 \
-in $site_3_0 -x 0 -relx 0.785 -y 0 -rely 0.435 -width 0 \
-relwidth 0.063 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn89 \
-in $site_3_0 -x 0 -relx 0.839 -y 0 -rely 0.434 -width 0 \
-relwidth 0.14 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa90 \
-in $site_3_0 -x 0 -relx 0.558 -y 0 -rely 0.542 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn91 \
-in $site_3_0 -x 0 -relx 0.686 -y 0 -rely 0.541 -width 0 \
-relwidth 0.087 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.lab92 \
-in $site_3_0 -x 0 -relx 0.789 -y 0 -rely 0.542 -width 0 \
-relwidth 0.063 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn93 \
-in $site_3_0 -x 0 -relx 0.839 -y 0 -rely 0.542 -width 0 \
-relwidth 0.136 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa99 \
-in $site_3_0 -x 0 -relx 0.558 -y 0 -rely 0.65 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn100 \
-in $site_3_0 -x 0 -relx 0.686 -y 0 -rely 0.65 -width 0 \
-relwidth 0.279 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tLa101 \
-in $site_3_0 -x 0 -relx 0.035 -y 0 -rely 0.813 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.tEn102 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.813 -width 0 \
-relwidth 0.785 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
place $site_3_0.but131 \
-in $site_3_0 -x 0 -relx 0.82 -y 0 -rely 0.054 -width 90 -relwidth 0 \
-height 35 -relheight 0 -anchor nw -bordermode ignore
place $site_3_0.tEn135 \
-in $site_3_0 -x 0 -relx 0.201 -y 0 -rely 0.325 -width 0 \
-relwidth 0.314 -height 0 -relheight 0.095 -anchor nw \
-bordermode ignore
label $top.tLa103 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Output
vTcl:DefineAlias "$top.tLa103" "TLabel1_1_1_1_1_2_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $top.tEn104 \
-font TkTextFont -textvariable out -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$top.tEn104" "out_entry" vTcl:WidgetProc "gb2fasta" 1
bind $top.tEn104 <<SetBalloon>> {
set ::vTcl::balloon::%W {output folder}
}
labelframe $top.lab106 \
\
-font {-family {TkDefaultFont} -size 14 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) -text Advance \
-background $vTcl(actual_gui_bg) -height 151 \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-width 590
vTcl:DefineAlias "$top.lab106" "Labelframe1" vTcl:WidgetProc "gb2fasta" 1
set site_3_0 $top.lab106
checkbutton $site_3_0.che110 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #d9d9d9 -text {Allow repeat} \
-variable allow_repeat
vTcl:DefineAlias "$site_3_0.che110" "Checkbutton1_1_1" vTcl:WidgetProc "gb2fasta" 1
checkbutton $site_3_0.che111 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #d9d9d9 -text {Allow invert repeat} \
-variable allow_invert_repeat
vTcl:DefineAlias "$site_3_0.che111" "Checkbutton1_1_1_1" vTcl:WidgetProc "gb2fasta" 1
checkbutton $site_3_0.che112 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #d9d9d9 -text {Allow mosaic repeat} \
-variable allow_mosaic_repeat
vTcl:DefineAlias "$site_3_0.che112" "Checkbutton1_1_1_1_1" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa115 \
-activebackground #f9f9f9 -activeforeground black -anchor e \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Expand
vTcl:DefineAlias "$site_3_0.tLa115" "TLabel1_1_1_1_1_2_2_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn116 \
-font TkTextFont -textvariable expand -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn116" "expand_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn116 <<SetBalloon>> {
set ::vTcl::balloon::%W {expand for primer design}
}
label $site_3_0.tLa117 \
-activebackground #f9f9f9 -activeforeground black -anchor e \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Max name length}
vTcl:DefineAlias "$site_3_0.tLa117" "TLabel1_1_1_1_1_2_2_1_1" vTcl:WidgetProc "gb2fasta" 1
label $site_3_0.tLa118 \
-activebackground #f9f9f9 -activeforeground black -anchor e \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Max fragment length}
vTcl:DefineAlias "$site_3_0.tLa118" "TLabel1_1_1_1_1_2_2_1_1_1" vTcl:WidgetProc "gb2fasta" 1
ttk::entry $site_3_0.tEn119 \
-font TkTextFont -textvariable max_name_len -foreground {} \
-background {} -takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn119" "max_name_len_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn119 <<SetBalloon>> {
set ::vTcl::balloon::%W {max feature name length}
}
ttk::entry $site_3_0.tEn120 \
-font TkTextFont -textvariable max_gene_len -foreground {} \
-background {} -takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn120" "max_gene_len_entry" vTcl:WidgetProc "gb2fasta" 1
bind $site_3_0.tEn120 <<SetBalloon>> {
set ::vTcl::balloon::%W {max fragment sequence length}
}
ttk::separator $site_3_0.tSe46 \
-orient vertical
vTcl:DefineAlias "$site_3_0.tSe46" "TSeparator2" vTcl:WidgetProc "gb2fasta" 1
place $site_3_0.che110 \
-in $site_3_0 -x 0 -relx 0.576 -y 0 -rely 0.142 -width 0 \
-relwidth 0.276 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.che111 \
-in $site_3_0 -x 0 -relx 0.576 -y 0 -rely 0.709 -width 0 \
-relwidth 0.361 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.che112 \
-in $site_3_0 -x 0 -relx 0.576 -y 0 -rely 0.426 -width 0 \
-relwidth 0.361 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tLa115 \
-in $site_3_0 -x 0 -relx 0.175 -y 0 -rely 0.142 -width 0 \
-relwidth 0.105 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tEn116 \
-in $site_3_0 -x 0 -relx 0.297 -y 0 -rely 0.142 -width 0 \
-relwidth 0.187 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tLa117 \
-in $site_3_0 -x 0 -relx 0.07 -y 0 -rely 0.426 -width 0 \
-relwidth 0.209 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tLa118 \
-in $site_3_0 -x 0 -relx 0.052 -y 0 -rely 0.709 -width 0 \
-relwidth 0.227 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tEn119 \
-in $site_3_0 -x 0 -relx 0.297 -y 0 -rely 0.426 -width 0 \
-relwidth 0.187 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tEn120 \
-in $site_3_0 -x 0 -relx 0.297 -y 0 -rely 0.709 -width 0 \
-relwidth 0.187 -height 0 -relheight 0.248 -anchor nw \
-bordermode ignore
place $site_3_0.tSe46 \
-in $site_3_0 -x 0 -relx 0.524 -y 0 -rely 0.135 -width 0 \
-relwidth 0.002 -height 0 -relheight 0.78 -anchor nw \
-bordermode ignore
checkbutton $top.che126 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #d9d9d9 -text {No divide} \
-variable no_divide
vTcl:DefineAlias "$top.che126" "no_divide" vTcl:WidgetProc "gb2fasta" 1
checkbutton $top.che127 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #d9d9d9 -text {Rename gene} \
-variable rename
vTcl:DefineAlias "$top.che127" "Checkbutton1_1" vTcl:WidgetProc "gb2fasta" 1
label $top.tLa128 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Unique
vTcl:DefineAlias "$top.tLa128" "TLabel1_1_1_1_1_2_2" vTcl:WidgetProc "gb2fasta" 1
ttk::combobox $top.tCo129 \
-values {longest first no} -font TkTextFont -state readonly \
-textvariable unique -foreground {} -background {} -takefocus {}
vTcl:DefineAlias "$top.tCo129" "TCombobox_unique" vTcl:WidgetProc "gb2fasta" 1
bind $top.tCo129 <<SetBalloon>> {
set ::vTcl::balloon::%W {methods to remove redundant records}
}
button $top.but132 \
-activebackground #edf0f3 -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$top.but132" "Button1_1" vTcl:WidgetProc "gb2fasta" 1
button $top.but133 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command run_gb2fasta -compound left \
-font {-family {TkDefaultFont} -size 14 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Run
vTcl:DefineAlias "$top.but133" "Button1" vTcl:WidgetProc "gb2fasta" 1
###################
# SETTING GEOMETRY
###################
place $top.lab58 \
-in $top -x 0 -relx 0.025 -y 0 -rely 0.013 -width 0 -relwidth 0.955 \
-height 0 -relheight 0.46 -anchor nw -bordermode ignore
place $top.tLa103 \
-in $top -x 0 -relx 0.05 -y 0 -rely 0.563 -width 0 -relwidth 0.1 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.tEn104 \
-in $top -x 0 -relx 0.167 -y 0 -rely 0.563 -width 0 -relwidth 0.633 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.lab106 \
-in $top -x 0 -relx 0.025 -y 0 -rely 0.65 -width 0 -relwidth 0.955 \
-height 0 -relheight 0.176 -anchor nw -bordermode ignore
place $top.che126 \
-in $top -x 0 -relx 0.733 -y 0 -rely 0.487 -width 0 -relwidth 0.215 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.che127 \
-in $top -x 0 -relx 0.467 -y 0 -rely 0.487 -width 0 -relwidth 0.243 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.tLa128 \
-in $top -x 0 -relx 0.05 -y 0 -rely 0.487 -width 0 -relwidth 0.115 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.tCo129 \
-in $top -x 0 -relx 0.167 -y 0 -rely 0.487 -width 0 -relwidth 0.245 \
-height 0 -relheight 0.044 -anchor nw -bordermode ignore
place $top.but132 \
-in $top -x 0 -relx 0.833 -y 0 -rely 0.563 -width 80 -relwidth 0 \
-height 35 -relheight 0 -anchor nw -bordermode ignore
place $top.but133 \
-in $top -x 0 -relx 0.333 -y 0 -rely 0.863 -width 189 -relwidth 0 \
-height 40 -relheight 0 -anchor nw -bordermode ignore
} ;# end vTcl:withBusyCursor
vTcl:FireEvent $base <<Ready>>
}
proc vTclWindow.top46 {base} {
global vTcl
if {$base == ""} {
set base .top46
}
if {[winfo exists $base]} {
wm deiconify $base; return
}
set top $base
set target $base
###################
# CREATING WIDGETS
###################
vTcl::widgets::core::toplevel::createCmd $top -class Toplevel \
-background $vTcl(actual_gui_bg) -highlightbackground #d9d9d9 \
-highlightcolor black
wm focusmodel $top passive
wm geometry $top 600x450+2109+248
update
# set in toplevel.wgt.
global vTcl
global img_list
set vTcl(save,dflt,origin) 0
wm maxsize $top 1728 997
wm minsize $top 72 15
wm overrideredirect $top 0
wm resizable $top 1 1
wm deiconify $top
set toptitle "Evaluate"
wm title $top $toptitle
namespace eval ::widgets::${top}::ClassOption {}
set ::widgets::${top}::ClassOption(-toptitle) $toptitle
vTcl:DefineAlias "$top" "evaluate" vTcl:Toplevel:WidgetProc "" 1
set vTcl(real_top) {}
vTcl:withBusyCursor {
labelframe $top.lab46 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) -text Input \
-background $vTcl(actual_gui_bg) -height 75 \
-highlightbackground #d9d9d9 -highlightcolor black -width 150
vTcl:DefineAlias "$top.lab46" "Labelframe1" vTcl:WidgetProc "evaluate" 1
set site_3_0 $top.lab46
label $site_3_0.lab47 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Unaligned FASTA files}
vTcl:DefineAlias "$site_3_0.lab47" "TLabel1" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.lab47 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned}
}
ttk::entry $site_3_0.tEn48 \
-font TkTextFont -textvariable fasta -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn48" "fasta_entry" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.tEn48 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned fasta files}
}
button $site_3_0.but49 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$site_3_0.but49" "Button1" vTcl:WidgetProc "evaluate" 1
label $site_3_0.lab50 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Unaligned FASTA folder}
vTcl:DefineAlias "$site_3_0.lab50" "TLabel1" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.lab50 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned}
}
label $site_3_0.lab51 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Aligned FASTA files}
vTcl:DefineAlias "$site_3_0.lab51" "TLabel1_3" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.lab51 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned}
}
ttk::entry $site_3_0.tEn52 \
-font TkTextFont -textvariable fasta_folder -foreground {} \
-background {} -takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn52" "fasta_folder_entry" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.tEn52 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned fasta files}
}
ttk::entry $site_3_0.tEn53 \
-font TkTextFont -textvariable aln -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$site_3_0.tEn53" "aln_entry" vTcl:WidgetProc "evaluate" 1
bind $site_3_0.tEn53 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned fasta files}
}
button $site_3_0.but54 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$site_3_0.but54" "Button1" vTcl:WidgetProc "evaluate" 1
button $site_3_0.but55 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$site_3_0.but55" "Button1_2" vTcl:WidgetProc "evaluate" 1
place $site_3_0.lab47 \
-in $site_3_0 -x 0 -relx 0.052 -y 0 -rely 0.133 -width 0 \
-relwidth 0.227 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.tEn48 \
-in $site_3_0 -x 0 -relx 0.314 -y 0 -rely 0.133 -width 0 \
-relwidth 0.489 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.but49 \
-in $site_3_0 -x 0 -relx 0.82 -y 0 -rely 0.133 -width 90 -relwidth 0 \
-height 35 -relheight 0 -anchor nw -bordermode ignore
place $site_3_0.lab50 \
-in $site_3_0 -x 0 -relx 0.052 -y 0 -rely 0.4 -width 0 \
-relwidth 0.244 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.lab51 \
-in $site_3_0 -x 0 -relx 0.052 -y 0 -rely 0.667 -width 0 \
-relwidth 0.157 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.tEn52 \
-in $site_3_0 -x 0 -relx 0.314 -y 0 -rely 0.4 -width 0 \
-relwidth 0.489 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.tEn53 \
-in $site_3_0 -x 0 -relx 0.314 -y 0 -rely 0.667 -width 0 \
-relwidth 0.489 -height 0 -relheight 0.233 -anchor nw \
-bordermode ignore
place $site_3_0.but54 \
-in $site_3_0 -x 0 -relx 0.82 -y 0 -rely 0.4 -width 90 -relwidth 0 \
-height 35 -relheight 0 -anchor nw -bordermode ignore
place $site_3_0.but55 \
-in $site_3_0 -x 0 -relx 0.82 -y 0 -rely 0.667 -width 90 -relwidth 0 \
-height 35 -relheight 0 -anchor nw -bordermode ignore
label $top.lab56 \
-activebackground #f9f9f9 -activeforeground black -anchor w \
-background $vTcl(actual_gui_bg) -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Output folder}
vTcl:DefineAlias "$top.lab56" "TLabel1_3_1" vTcl:WidgetProc "evaluate" 1
bind $top.lab56 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned}
}
ttk::entry $top.tEn57 \
-font TkTextFont -textvariable out -foreground {} -background {} \
-takefocus {} -cursor fleur
vTcl:DefineAlias "$top.tEn57" "out_entry" vTcl:WidgetProc "evaluate" 1
bind $top.tEn57 <<SetBalloon>> {
set ::vTcl::balloon::%W {unaligned fasta files}
}
button $top.but58 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(actual_gui_bg) -command open_file -compound left \
-font {-family {TkDefaultFont} -size 12 -weight normal -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-pady 0 -text Open
vTcl:DefineAlias "$top.but58" "Button1_2_1" vTcl:WidgetProc "evaluate" 1
labelframe $top.lab59 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-text {Sliding window} -background $vTcl(actual_gui_bg) -height 75 \
-highlightbackground #d9d9d9 -highlightcolor black -width 150
vTcl:DefineAlias "$top.lab59" "Labelframe1" vTcl:WidgetProc "evaluate" 1
set site_3_0 $top.lab59
checkbutton $site_3_0.che61 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-anchor w -background $vTcl(actual_gui_bg) -compound left \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -selectcolor #edf0f3 -text {Skip sliding window} \
-variable quick
vTcl:DefineAlias "$site_3_0.che61" "Checkbutton1" vTcl:WidgetProc "evaluate" 1
label $site_3_0.lab63 \
-activebackground #f9f9f9 \
-activeforeground systemPressedButtonTextColor -anchor w \
-background $vTcl(actual_gui_bg) -compound left -font TkDefaultFont \
-foreground $vTcl(actual_gui_fg) -highlightbackground #d9d9d9 \
-highlightcolor black -text {Window size}
vTcl:DefineAlias "$site_3_0.lab63" "Label1" vTcl:WidgetProc "evaluate" 1
label $site_3_0.lab65 \