File: protdist.xml

package info (click to toggle)
mobyle-programs 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,508 kB
  • sloc: xml: 128,440; sh: 20; makefile: 4
file content (704 lines) | stat: -rw-r--r-- 27,486 bytes parent folder | download | duplicates (3)
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
<?xml version='1.0' encoding='UTF-8'?>
<!-- XML Authors: Corinne Maufrais, Nicolas Joly and Bertrand Neron,             -->
<!-- 'Biological Software and Databases' Group, Institut Pasteur, Paris.         -->
<!-- Distributed under LGPLv2 License. Please refer to the COPYING.LIB document. -->
<program>
  <head>
    <name>protdist</name>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Entities/phylip_package.xml"/>
    <doc>
      <title>protdist</title>
      <description>
        <text lang="en">Compute distance matrix from protein sequences</text>
      </description>
      <doclink>http://bioweb2.pasteur.fr/docs/phylip/doc/protdist.html</doclink>
      <comment>
        <text lang="en">This program uses protein sequences to compute
	  a distance matrix, under four different models of amino acid
	  replacement. It can also compute a table of similarity between
	  the amino acid sequences.</text>
        <text lang="en">The distance for each pair of species estimates the
	  total branch length between the two species, and can be used in the
	  distance matrix programs FITCH, KITSCH or NEIGHBOR.</text>
      </comment>
    </doc>
    <category>phylogeny:distance</category>
  </head>
  <parameters>
    <parameter iscommand="1" ishidden="1">
      <name>protdist</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">"protdist &lt;protdist.params"</code>
        <code proglang="python">"protdist &lt;protdist.params"</code>
      </format>
      <argpos>0</argpos>
    </parameter>
    <parameter ismandatory="1" issimple="1" ismaininput="1">
      <name>infile</name>
      <prompt lang="en">Alignment File</prompt>
      <type>
        <biotype>Protein</biotype>
        <datatype>
          <class>Alignment</class>
        </datatype>
        <dataFormat>PHYLIPI</dataFormat>
      </type>
      <format>
        <code proglang="perl">"ln -s $infile infile &amp;&amp; "</code>
        <code proglang="python">"ln -s " + str( infile ) + " infile &amp;&amp; "</code>
      </format>
      <ctrl>
        <message>
          <text lang="en">the name of this data can't be "infile" or "outfile"</text>
        </message>
        <code proglang="perl">$value ne "infile" and $value ne "outfile"</code>
        <code proglang="python">value not in ( "infile" , "outfile" )</code>
      </ctrl>
      <argpos>-10</argpos>
      <comment>
        <text lang="en">The input file must contained aligned sequences in PHYLIP format obtained by sequence alignment programs.</text>
      </comment>
      <example>
   5   13
Alpha     AACGTGGCCACAT
Beta      AAGGTCGCCACAC
Gamma     CAGTTCGCCACAA
Delta     GAGATTTCCGCCT
Epsilon   GAGATCTCCGCCC
      </example>
    </parameter>
    <parameter>
      <name>Method</name>
      <prompt lang="en">Distance model (P)</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>J</value>
      </vdef>
      <flist>
        <felem>
          <value>J</value>
          <label>Jones-Taylor-Thornton matrix</label>
          <code proglang="perl">""</code>
          <code proglang="python">""</code>
        </felem>
        <felem>
          <value>H</value>
          <label>Henikoff/Tillier PMB matrix</label>
          <code proglang="perl">"P\\n"</code>
          <code proglang="python">"P\n"</code>
        </felem>
        <felem>
          <value>D</value>
          <label>Dayhoff PAM matrix</label>
          <code proglang="perl">"P\\nP\\n"</code>
          <code proglang="python">"P\nP\n"</code>
        </felem>
        <felem>
          <value>K</value>
          <label>Kimura formula</label>
          <code proglang="perl">"P\\nP\\nP\\n"</code>
          <code proglang="python">"P\nP\nP\n"</code>
        </felem>
        <felem>
          <value>S</value>
          <label>Similarity table</label>
          <code proglang="perl">"P\\nP\\nP\\nP\\n"</code>
          <code proglang="python">"P\nP\nP\nP\n"</code>
        </felem>
        <felem>
          <value>C</value>
          <label>Categories model</label>
          <code proglang="perl">"P\\nP\\nP\\nP\\nP\\n"</code>
          <code proglang="python">"P\nP\nP\nP\nP\n"</code>
        </felem>
      </flist>
      <argpos>2</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <parameter ismandatory="1">
      <name>gamma_dist</name>
      <prompt lang="en">Gamma distribution of rates among positions (G)</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$Method =~ /^[JDC]$/</code>
        <code proglang="python">Method in [ "J" , "D" , "C" ]</code>
      </precond>
      <vdef>
        <value>N</value>
      </vdef>
      <flist>
        <felem>
          <value>N</value>
          <label>No</label>
          <code proglang="perl">""</code>
          <code proglang="python">""</code>
        </felem>
        <felem>
          <value>Y</value>
          <label>Yes</label>
          <code proglang="perl">"G\\n"</code>
          <code proglang="python">"G\n"</code>
        </felem>
        <felem>
          <value>G</value>
          <label>Gamma+Invariant</label>
          <code proglang="perl">"G\\nG\\n"</code>
          <code proglang="python">"G\nG\n"</code>
        </felem>
      </flist>
      <argpos>2</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <parameter ismandatory="1">
      <name>gamma</name>
      <prompt lang="en">Coefficient of variation of substitution rate among positions (must be positive)</prompt>
      <type>
        <datatype>
          <class>Float</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$gamma_dist =~ /^[YG]$/</code>
        <code proglang="python">gamma_dist in [ "Y" , "G" ]</code>
      </precond>
      <format>
        <code proglang="perl">"$value\\n"</code>
        <code proglang="python">str( value )+ "\n"</code>
      </format>
      <argpos>1500</argpos>
      <comment>
        <text lang="en">
          Instead of the more widely-known coefficient alpha, PROTDIST uses the coefficient of variation (ratio of the standard deviation to the mean) of rates among amino acid positions. So if there is 20% variation in rates, the CV is is 0.20. The square of the C.V. is also the reciprocal of the better-known shape parameter, alpha, of the Gamma distribution, so in this case the shape parameter alpha = 1/(0.20*0.20) = 25. If you want to achieve a particular value of alpha, such as 10, you will want to use a CV of 1/sqrt(100) = 1/10 = 0.1.
        </text>
      </comment>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <parameter ismandatory="1">
      <name>invariant</name>
      <prompt>Fraction of invariant positions</prompt>
      <type>
        <datatype>
          <class>Float</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$gamma_dist eq "G"/</code>
        <code proglang="python">gamma_dist == "G"</code>
      </precond>
      <format>
        <code proglang="perl">"$value\\n"</code>
        <code proglang="python">str(value)+"\n"</code>
      </format>
      <argpos>1501</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <paragraph>
      <name>bootstrap</name>
      <prompt lang="en">Bootstrap options</prompt>
      <parameters>
        <parameter issimple="1">
          <name>seqboot</name>
          <prompt lang="en">Perform a bootstrap before analysis</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? "seqboot &lt; seqboot.params &amp;&amp; mv outfile seqboot.outfile &amp;&amp; rm infile  &amp;&amp; ln -s seqboot.outfile infile &amp;&amp; " : ""</code>
            <code proglang="python">( "" , "seqboot &lt; seqboot.params &amp;&amp; mv outfile seqboot.outfile &amp;&amp; rm infile &amp;&amp; ln -s seqboot.outfile infile &amp;&amp; " )[ value ]</code>
          </format>
          <argpos>-5</argpos>
          <comment>
            <text lang="en">By selecting this option, the bootstrap will be performed on your sequence file. So you don't need to perform a separated seqboot before.</text>
            <text lang="en">Don't give an already bootstrapped file to the program, this won't work!</text>
          </comment>
        </parameter>
        <parameter ismandatory="1" issimple="1">
          <name>resamp_method</name>
          <prompt lang="en">Resampling methods (J)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$seqboot</code>
            <code proglang="python">seqboot</code>
          </precond>
          <vdef>
            <value>bootstrap</value>
          </vdef>
          <flist>
            <felem>
              <value>bootstrap</value>
              <label>Bootstrap</label>
              <code proglang="perl">""</code>
              <code proglang="python">""</code>
            </felem>
            <felem>
              <value>jackknife</value>
              <label>Delete-half jackknife</label>
              <code proglang="perl">"J\\n"</code>
              <code proglang="python">""</code>
            </felem>
            <felem>
              <value>permute_species</value>
              <label>Permute species for each character</label>
              <code proglang="perl">"J\\nJ\\n"</code>
              <code proglang="python">"J\nJ\n"</code>
            </felem>
            <felem>
              <value>permute_char</value>
              <label>Permute character order</label>
              <code proglang="perl">"J\\nJ\\nJ\\n"</code>
              <code proglang="python">"J\nJ\nJ\n"</code>
            </felem>
            <felem>
              <value>permute_within_species</value>
              <label>Permute within species</label>
              <code proglang="perl">"J\\nJ\\nJ\\nJ\\n"</code>
              <code proglang="python">"J\nJ\nJ\nJ\n"</code>
            </felem>
          </flist>
          <argpos>1</argpos>
          <comment>
            <text lang="en">
              1. The bootstrap. Bootstrapping was invented by Bradley Efron in 1979, and its use in phylogeny estimation was introduced by me (Felsenstein, 1985b). It involves creating a new data set by sampling N characters randomly with replacement, so that the resulting data set has the same size as the original, but some characters have been left out and others are duplicated. The random variation of the results from analyzing these bootstrapped data sets can be shown statistically to be
              typical of the variation that you would get from collecting new data sets. The method assumes that the characters evolve independently, an assumption that may not be realistic for many kinds of data.
            </text>
            <text lang="en">
              2. Delete-half-jackknifing. This alternative to the bootstrap involves sampling a random half of the characters, and including them in the data but dropping the others. The resulting data sets are half the size of the original, and no characters are duplicated. The random variation from doing this should be very similar to that obtained from the bootstrap. The method is advocated by Wu (1986).
            </text>
            <text lang="en">
              3. Permuting species for each characters. This method of resampling (well, OK, it may not be best to call it resampling) was introduced by Archie (1989) and Faith (1990; see also Faith and Cranston, 1991). It involves permuting the columns of the data matrix separately. This produces data matrices that have the same number and kinds of characters but no taxonomic structure. It is used for different purposes than the bootstrap, as it tests not the variation around an estimated tree but the hypothesis that there is no taxonomic structure in the data: if a statistic such as number of steps is significantly smaller in the actual data than it is in replicates that are permuted, then we can argue that there is some taxonomic structure in the data (though perhaps it might be just the presence of aa pair of sibling species).
            </text>
            <text lang="en">
              4. Permuting characters order. This simply permutes the order of the characters, the same reordering being applied to all species. For many methods of tree inference this will make no difference to the outcome (unless one has rates of evolution correlated among adjacent sites). It is included as a possible step in carrying out a permutation test of homogeneity of characters (such as the Incongruence Length Difference test).
            </text>
            <text lang="en">
              5. Permuting characters separately for each species. This is a method introduced by Steel, Lockhart, and Penny (1993) to permute data so as to destroy all phylogenetic structure, while keeping the base composition of each species the same as before. It shuffles the character order separately for each species.
            </text>
          </comment>
          <paramfile>seqboot.params</paramfile>
        </parameter>
        <parameter ismandatory="1" issimple="1">
          <name>seqboot_seed</name>
          <prompt lang="en">Random number seed (must be odd)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$seqboot</code>
            <code proglang="python">seqboot</code>
          </precond>
          <format>
            <code proglang="perl">"$value\\n"</code>
            <code proglang="python">str( value ) + "\n"</code>
          </format>
          <ctrl>
            <message>
              <text lang="en">Random number seed must be odd</text>
            </message>
            <code proglang="perl">$value &gt; 0 and ($value % 2) != 0</code>
            <code proglang="python">value &gt; 0 and (value % 2) != 0</code>
          </ctrl>
          <argpos>10000</argpos>
          <paramfile>seqboot.params</paramfile>
        </parameter>
        <parameter issimple="1">
          <name>replicates</name>
          <prompt lang="en">How many replicates (R)?</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$seqboot</code>
            <code proglang="python">seqboot</code>
          </precond>
          <vdef>
            <value>100</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? "R\\n$value\\n" : ""</code>
            <code proglang="python">( "", "R\n" +str( value )+ "\n" )[ value is not None and value != vdef ]</code>
          </format>
          <ctrl>
            <message>
              <text lang="en">This server allows no more than 1000 replicates</text>
            </message>
            <code proglang="perl">$replicates &lt;= 1000</code>
            <code proglang="python">replicates &lt;= 1000</code>
          </ctrl>
          <ctrl>
            <message>
              <text lang="en">Bad data sets number:  it must be greater than 1</text>
            </message>
            <code proglang="perl">$value &gt; 1</code>
            <code proglang="python">value &gt; 1</code>
          </ctrl>
          <argpos>1</argpos>
          <paramfile>seqboot.params</paramfile>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>weight_opt</name>
      <prompt lang="en">Weight options</prompt>
      <parameters>
        <parameter>
          <name>weights</name>
          <prompt lang="en">Use weights for sites (W)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? "W\\n" : ""</code>
            <code proglang="python">( "" , "W\n" )[ value ]</code>
          </format>
          <argpos>1</argpos>
          <paramfile>protdist.params</paramfile>
        </parameter>
        <parameter ismandatory="1">
          <name>weights_file</name>
          <prompt lang="en">Weights file</prompt>
          <type>
            <datatype>
              <class>PhylipWeight</class>
              <superclass>AbstractText</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$weights</code>
            <code proglang="python">weights</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value) ? "ln -s $weights_file weights &amp;&amp; " : ""</code>
            <code proglang="python">( "" , "ln -s " + str( weights_file ) + " weights &amp;&amp; " )[ value is not None ]</code>
          </format>
          <ctrl>
            <message>
              <text lang="en">the name of this data can't be "infile" or "outfile"</text>
            </message>
            <code proglang="python">value not in ( "infile" , "outfile" )</code>
            <code proglang="perl">$value ne "infile" and $value ne "outfile"</code>
          </ctrl>
          <argpos>-1</argpos>
        </parameter>
      </parameters>
    </paragraph>
    <parameter ishidden="1">
      <name>multiple_dataset</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$seqboot and $replicates &gt; 1 </code>
        <code proglang="python">seqboot and replicates &gt; 1 </code>
      </precond>
      <format>
        <code proglang="perl">"M\\nD\\n$replicates\\n"</code>
        <code proglang="python">"M\nD\n"+ str( replicates ) + "\n"</code>
      </format>
      <argpos>1</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <parameter ishidden="1">
      <name>bootconfirm</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$seqboot</code>
        <code proglang="python">seqboot</code>
      </precond>
      <format>
        <code proglang="perl">"Y\\n"</code>
        <code proglang="python">"Y\n"</code>
      </format>
      <argpos>1000</argpos>
      <paramfile>seqboot.params</paramfile>
    </parameter>
    <parameter ishidden="1">
      <name>bootterminal_type</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$seqboot</code>
        <code proglang="python">seqboot</code>
      </precond>
      <format>
        <code proglang="perl">"0\\n"</code>
        <code proglang="python">"0\n"</code>
      </format>
      <argpos>-1</argpos>
      <paramfile>seqboot.params</paramfile>
    </parameter>
    <paragraph>
      <name>output</name>
      <prompt lang="en">Output options</prompt>
      <parameters>
        <parameter>
          <name>printdata</name>
          <prompt lang="en">Print out the data at start of run (1)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? "1\\n" : ""</code>
            <code proglang="python">( "" , "1\n" )[ value ]</code>
          </format>
          <argpos>1</argpos>
          <paramfile>protdist.params</paramfile>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>categ_options</name>
      <prompt lang="en">Categories model options (options available only if Categories model choosed)</prompt>
      <precond>
        <code proglang="perl">$Method eq "C"</code>
        <code proglang="python">Method == "C"</code>
      </precond>
      <argpos>3</argpos>
      <parameters>
        <parameter>
          <name>code</name>
          <prompt lang="en">Genetic code (U)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <vdef>
            <value>U</value>
          </vdef>
          <vlist>
            <velem>
              <value>U</value>
              <label>Universal (U)</label>
            </velem>
            <velem>
              <value>M</value>
              <label>Mitochondrial (M)</label>
            </velem>
            <velem>
              <value>V</value>
              <label>Vertebrate mitochondrial (V)</label>
            </velem>
            <velem>
              <value>F</value>
              <label>Fly mitochondrial (F)</label>
            </velem>
            <velem>
              <value>Y</value>
              <label>Yeast mitochondrial (Y)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">(defined $value and $value ne $vdef) ? "U\\n$code\\n" : ""</code>
            <code proglang="python">( "", "U\n" + str( code ) + "\n" )[ value is not None and value != vdef ]</code>
          </format>
          <argpos>3</argpos>
          <paramfile>protdist.params</paramfile>
        </parameter>
        <parameter>
          <name>categorization</name>
          <prompt lang="en">Categorization of amino acids (A)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <vdef>
            <value>G</value>
          </vdef>
          <vlist>
            <velem>
              <value>G</value>
              <label>George/Hunt/Barker (G)</label>
            </velem>
            <velem>
              <value>C</value>
              <label>Chemical (C)</label>
            </velem>
            <velem>
              <value>H</value>
              <label>Hall (H)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">(defined $value and $value ne $vdef) ? "A\\n$categorization\\n" : ""</code>
            <code proglang="python">( "" , "A\n" +str( categorization ) +"\n" )[ value is not None and value != vdef ]</code>
          </format>
          <argpos>10</argpos>
          <comment>
            <text lang="en">All have groups: (Glu Gln Asp Asn), (Lys Arg His), (Phe Tyr Trp) plus:</text>
            <text lang="en">George/Hunt/Barker: (Cys), (Met Val Leu Ileu), (Gly Ala Ser Thr Pro)</text>
            <text lang="en">Chemical: (Cys Met), (Val Leu Ileu Gly Ala Ser Thr), (Pro)</text>
            <text lang="en">Hall: (Cys), (Met Val Leu Ileu), (Gly Ala Ser Thr), (Pro)</text>
          </comment>
          <paramfile>protdist.params</paramfile>
        </parameter>
        <parameter>
          <name>change_prob</name>
          <prompt lang="en">Prob change category (1.0=easy) (E)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <vdef>
            <value>0.4570</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? "E\\n$value\\n" : ""</code>
            <code proglang="python">("", "E\n"+ str( value ) +"\n")[ value is not None and value != vdef ]</code>
          </format>
          <ctrl>
            <message>
              <text lang="en">Enter a value between 0.0 and 1.0</text>
            </message>
            <code proglang="perl">$change_prob &gt; 0.0 and $change_prob &lt; 1.0</code>
            <code proglang="python">change_prob &gt; 0.0 and change_prob &lt; 1.0</code>
          </ctrl>
          <argpos>3</argpos>
          <paramfile>protdist.params</paramfile>
        </parameter>
        <parameter>
          <name>ratio</name>
          <prompt lang="en">Transition/transversion ratio (T)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <vdef>
            <value>2.000</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? "T\\n$value\\n" : ""</code>
            <code proglang="python">("", "T\n"+str(value)+"\n")[value is not None and value != vdef]</code>
          </format>
          <ctrl>
            <message>
              <text lang="en">The transition/transversion ratio must be any number from 0.5 upwards.</text>
            </message>
            <code proglang="python">value &gt;= 0.5</code>
            <code proglang="perl"> $value &gt;= 0.5</code>
          </ctrl>
          <argpos>3</argpos>
          <comment>
            <text lang="en">If the Categories distance is selected another menu option, T,
             will appear allowing the user to supply the Transition/Transversion ratio that should be assumed at the underlying DNA level.
             The transition/transversion ratio can be any number from 0.5 upwards.</text>
          </comment>
          <paramfile>protdist.params</paramfile>
        </parameter>
      </parameters>
    </paragraph>
    <parameter isout="1">
      <name>outfile</name>
      <prompt lang="en">Outfile</prompt>
      <type>
        <datatype>
          <class>PhylipDistanceMatrix</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <format>
        <code proglang="perl">" &amp;&amp; mv outfile protdist.outfile"</code>
        <code proglang="python">" &amp;&amp; mv outfile protdist.outfile"</code>
      </format>
      <argpos>40</argpos>
      <filenames>
        <code proglang="perl">"protdist.outfile"</code>
        <code proglang="python">"protdist.outfile"</code>
      </filenames>
    </parameter>
    <parameter isout="1">
      <name>seqboot_out</name>
      <prompt lang="en">seqboot outfile</prompt>
      <type>
        <datatype>
          <class>SetOfAlignment</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$seqboot</code>
        <code proglang="python">seqboot</code>
      </precond>
      <argpos>40</argpos>
      <filenames>
        <code proglang="perl">"seqboot.outfile"</code>
        <code proglang="python">"seqboot.outfile"</code>
      </filenames>
    </parameter>
    <parameter ishidden="1">
      <name>confirm</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">"Y\\n"</code>
        <code proglang="python">"Y\n"</code>
      </format>
      <argpos>1000</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
    <parameter ishidden="1">
      <name>terminal_type</name>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">"0\\n"</code>
        <code proglang="python">"0\n"</code>
      </format>
      <argpos>-1</argpos>
      <paramfile>protdist.params</paramfile>
    </parameter>
  </parameters>
</program>