This file is indexed.

/var/lib/mobyle/programs/blast2.xml is in mobyle-programs 5.1.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
<?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 xmlns:xi="http://www.w3.org/2001/XInclude">
    <name>blast2</name>
    <xi:include href="Entities/blast_package.xml"/>
    <doc>
      <title>BLAST2</title>
      <description>
        <text lang="en">NCBI BLAST, with gaps</text>
      </description>
      <reference>Altschul, Stephen F., Thomas L. Madden, Alejandro A. Schaeffer, Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), Gapped BLAST and PSI-BLAST: a new generation of protein database search programs, Nucleic Acids Res. 25:3389-3402.</reference>
      <doclink>http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=handbook.chapter.ch16</doclink>
      <doclink>http://www.ncbi.nlm.nih.gov/Education/BLASTinfo/tut1.html</doclink>
    </doc>
    <category>database:search:homology</category>
    <xi:include href="../../Local/Services/Programs/Env/blast2_env.xml" xpointer="xpointer(//env)">
      <xi:fallback/>
    </xi:include>
  </head>
  <parameters xmlns:xi="http://www.w3.org/2001/XInclude">
    <parameter ishidden="1" iscommand="1">
      <name>blast_init</name>
      <prompt lang="en">Blast initiation</prompt>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">"blastall"</code>
        <code proglang="python">"blastall"</code>
      </format>
      <argpos>1</argpos>
    </parameter>
    <parameter ismandatory="1" issimple="1">
      <name>blast2</name>
      <prompt lang="en">Blast program (-p)</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>null</value>
      </vdef>
      <vlist>
        <velem undef="1">
          <value>null</value>
          <label>Choose a program</label>
        </velem>
        <velem>
          <value>blastn</value>
          <label>Blastn (nucleotide query / nucleotide db)</label>
        </velem>
        <velem>
          <value>blastx</value>
          <label>Blastx (translated nucleotide query / protein db)</label>
        </velem>
        <velem>
          <value>tblastx</value>
          <label>tBlastx (translated nucleotide query / translated nucleotide db)</label>
        </velem>
        <velem>
          <value>blastp</value>
          <label>Blastp (protein query / protein db)</label>
        </velem>
        <velem>
          <value>tblastn</value>
          <label>tBlastn (protein query / translated nucleotide db)</label>
        </velem>
        <!--<velem>
          <value>psitblastn</value>
          <label>psitBlastn (protein query / translated nucleotide db)</label>
        </velem>
      -->
      </vlist>
      <format>
        <code proglang="perl">" -p $value"</code>
        <code proglang="python">" -p "+ str(value)</code>
      </format>
      <argpos>2</argpos>
      <comment>
        <text lang="en">- Blastp compares an amino acid query sequence against a protein sequence database;</text>
        <text lang="en">- Blastn compares a nucleotide query sequence against a nucleotide sequence database;</text>
        <text lang="en">- Blastx compares the six-frame conceptual translation products of a nucleotide query sequence (both strands) against a protein sequence database;</text>
        <text lang="en">- tBlastn compares a protein query sequence against a nucleotide sequence database dynamically translated in all six reading frames (both strands).</text>
        <text lang="en">- tBlastx compares the six-frame translations of a nucleotide query sequence against the six-frame translations of a nucleotide sequence database.</text>
        <text lang="en">- psitBlastn compares a protein query sequence against a nucleotide sequence database dynamically translated in all six reading frames (both strands) using a position specific matrix created by PSI-BLAST.</text>
      </comment>
    </parameter>
    <paragraph>
      <name>db</name>
      <prompt lang="en">Database</prompt>
      <argpos>3</argpos>
      <parameters>
        <parameter ismandatory="1" issimple="1">
          <name>protein_db</name>
          <prompt lang="en">Protein db (-d)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^blast[px]$/</code>
            <code proglang="python">blast2 in [ "blastx" , "blastp" ]</code>
          </precond>
          <vdef>
            <value>null</value>
          </vdef>
          <xi:include href="../../Local/Services/Programs/Env/protdbs_blast2.xml">
            <xi:fallback>
              <xi:include href="../../Local/Services/Programs/Env/protdbs.xml" />
            </xi:fallback>
          </xi:include>
          <format>
            <code proglang="perl">" -d $value"</code>
            <code proglang="python">" -d "+ str(value)</code>
          </format>
          <comment>
            <text lang="en">Choose a protein db for blastp or blastx.</text>
            <text lang="en">Please note that Swissprot usage by and for commercial entities requires a license agreement.</text>
          </comment>
        </parameter>
        <parameter ismandatory="1" issimple="1">
          <name>nucleotid_db</name>
          <prompt lang="en">Nucleotid db (-d)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^(blastn|tblast[nx]|psitblastn)$/</code>
            <code proglang="python">blast2 in [ "blastn" , "tblastx", "tblastn" , "psitblastn" ]</code>
          </precond>
          <vdef>
            <value>null</value>
          </vdef>
          <xi:include href="../../Local/Services/Programs/Env/nucdbs_blast.xml">
            <xi:fallback>
              <xi:include href="../../Local/Services/Programs/Env/nucdbs.xml" />
            </xi:fallback>
          </xi:include>
          <format>
            <code proglang="perl">" -d $value"</code>
            <code proglang="python">" -d "+ str(value)</code>
          </format>
          <comment>
            <text lang="en">Choose a nucleotide db for blastn, tblastn or tblastx</text>
          </comment>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>query</name>
      <prompt lang="en">Query Sequence</prompt>
      <argpos>4</argpos>
      <parameters>
        <parameter ismandatory="1" issimple="1" ismaininput="1">
          <name>query_seq</name>
          <prompt lang="en">Query (-i)</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
            <dataFormat>FASTA</dataFormat>
            <card>1,n</card>
          </type>
          <format>
            <code proglang="perl">" -i $query"</code>
            <code proglang="python">" -i "+ str(query_seq)</code>
          </format>
          <comment>
            <text lang="en">Read (first, query) sequence or set from file</text>
          </comment>
        </parameter>
        <parameter>
          <name>start_region</name>
          <prompt lang="en">Start of required region in query sequence (-L)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <comment>
            <text lang="en">Location on query sequence</text>
          </comment>
        </parameter>
        <parameter>
          <name>end_region</name>
          <prompt lang="en">End of required region in query sequence (-L)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $start_region</code>
            <code proglang="python">start_region is not None</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value) ? " -L \"$start_region $value\"" : " -L \"$start_region\""</code>
            <code proglang="python">(' -L "%s"' % (str(start_region)), ' -L "%s %s"' % (str(start_region), str(value)))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Location on query sequence</text>
          </comment>
        </parameter>
        <parameter>
          <name>concat</name>
          <prompt lang="en">Number of concatenated queries (blastn or tblastn) (-B)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^t?blastn$/</code>
            <code proglang="python">blast2 in [ "blastn" , "tblastn" ]</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value) ? " -B $value" : ""</code>
            <code proglang="python">("" , " -B "+str(value))[value is not None]</code>
          </format>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>scoring_opt</name>
      <prompt lang="en">Scoring options</prompt>
      <argpos>5</argpos>
      <parameters>
        <parameter>
          <name>open_a_gap</name>
          <prompt lang="en">Cost to open a gap (-G)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -G $value" : ""</code>
            <code proglang="python">("" , " -G "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">-1 invokes default behavior: non-affine
              if greedy, 5 if using dynamic programming</text>
          </comment>
        </parameter>
        <parameter>
          <name>extend_a_gap</name>
          <prompt lang="en">Cost to extend a gap (-E)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -E $value" : ""</code>
            <code proglang="python">("" , " -E "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Default: 2 for blastn; 1 for blastp, blastx and tblastn</text>
            <text lang="en">Limited values for gap existence and extension are supported for these programs. Some supported and suggested values are:</text>
            <text lang="en">Existence Extension</text>
            <text lang="en">10 -- 1</text>
            <text lang="en">10 -- 2</text>
            <text lang="en">11 -- 1</text>
            <text lang="en">8 -- 2</text>
            <text lang="en">9 -- 2</text>
          </comment>
        </parameter>
        <paragraph>
          <name>scoring_blast</name>
          <prompt lang="en">Protein penalty (not for blastn)</prompt>
          <precond>
            <code proglang="perl">$blast2 ne "blastn"</code>
            <code proglang="python">blast2 != "blastn"</code>
          </precond>
          <parameters>
            <parameter>
              <name>matrix</name>
              <prompt lang="en">Similarity matrix (-M)</prompt>
              <type>
                <datatype>
                  <class>Choice</class>
                </datatype>
              </type>
              <vdef>
                <value>BLOSUM62</value>
              </vdef>
              <vlist>
                <velem>
                  <value>BLOSUM62</value>
                  <label>BLOSUM62</label>
                </velem>
                <velem>
                  <value>BLOSUM45</value>
                  <label>BLOSUM45</label>
                </velem>
                <velem>
                  <value>BLOSUM80</value>
                  <label>BLOSUM80</label>
                </velem>
                <velem>
                  <value>PAM30</value>
                  <label>PAM30</label>
                </velem>
                <velem>
                  <value>PAM70</value>
                  <label>PAM70</label>
                </velem>
              </vlist>
              <format>
                <code proglang="perl">(defined $value and $value ne $vdef) ? " -M $value" : ""</code>
                <code proglang="python">("" , " -M "+str(value))[value is not None and value != vdef]</code>
              </format>
            </parameter>
          </parameters>
        </paragraph>
        <paragraph>
          <name>scoring_blastn</name>
          <prompt lang="en">Blastn penalty</prompt>
          <precond>
            <code proglang="perl">$blast2 eq "blastn"</code>
            <code proglang="python">blast2 == "blastn"</code>
          </precond>
          <parameters>
            <parameter>
              <name>mismatch</name>
              <prompt lang="en">Penalty for a nucleotide mismatch (-q)</prompt>
              <type>
                <datatype>
                  <class>Float</class>
                </datatype>
              </type>
              <vdef>
                <value>-3</value>
              </vdef>
              <format>
                <code proglang="perl">(defined $value and $value != $vdef) ? " -q $value" : ""</code>
                <code proglang="python">("" , " -q "+str(value))[value is not None and value != vdef]</code>
              </format>
            </parameter>
            <parameter>
              <name>match</name>
              <prompt lang="en">Reward for a nucleotide match (-r)</prompt>
              <type>
                <datatype>
                  <class>Float</class>
                </datatype>
              </type>
              <vdef>
                <value>1</value>
              </vdef>
              <format>
                <code proglang="perl">(defined $value and $value != $vdef) ? " -r $value" : ""</code>
                <code proglang="python">("" , " -r "+str(value))[value is not None and value != vdef]</code>
              </format>
            </parameter>
          </parameters>
        </paragraph>
        <parameter>
          <name>frameshift</name>
          <prompt lang="en">Frame shift penalty (-w)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -w $value" : ""</code>
            <code proglang="python">("", " -w "+str(value))[value is not None]</code>
          </format>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>filter_opt</name>
      <prompt lang="en">Filtering and masking options</prompt>
      <argpos>6</argpos>
      <comment>
        <text lang="en">BLAST 2.0 uses the dust low-complexity filter for blastn and seg for the other programs.</text>
        <text lang="en">If one uses '-F T' then normal filtering by seg or dust (for blastn) occurs (likewise '-F F' means no filtering whatsoever).</text>
      </comment>
      <parameters>
        <parameter>
          <name>filter</name>
          <prompt lang="en">Filter or Masking query sequence (DUST with blastn, SEG with others) (-F)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>1</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? "" : " -F F"</code>
            <code proglang="python">(" -F F" , "")[value]</code>
          </format>
        </parameter>
        <parameter>
          <name>other_filters</name>
          <prompt lang="en">Filtering options (Filter must be true)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$filter and not $other_masking </code>
            <code proglang="python">filter and not other_masking </code>
          </precond>
          <vdef>
            <value>null</value>
          </vdef>
          <flist>
            <felem undef="1">
              <value>null</value>
              <label>Default</label>
              <code proglang="perl">""</code>
              <code proglang="python">""</code>
            </felem>
            <felem>
              <value>v1</value>
              <label>Coiled-coiled filter (C)</label>
              <code proglang="perl">" -F C"</code>
              <code proglang="python">" -F C"</code>
            </felem>
            <felem>
              <value>v2</value>
              <label>Both SEG and coiled-coiled filters ("C;S")</label>
              <code proglang="perl">" -F \"C;S\""</code>
              <code proglang="python">" -F \"C;S\""</code>
            </felem>
            <felem>
              <value>v3</value>
              <label>DUST filter for DNA (D)</label>
              <code proglang="perl">" -F D"</code>
              <code proglang="python">" -F D"</code>
            </felem>
          </flist>
          <comment>
            <text lang="en">A coiled-coiled filter, based on the work of Lupas et al. (Science, vol 252, pp. 1162-4 (1991)) written by John Kuzio (Wilson et al., J Gen Virol, vol. 76, pp. 2923-32 (1995))</text>
          </comment>
        </parameter>
        <parameter>
          <name>other_masking</name>
          <prompt lang="en">Masking options (Filter must be true)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$filter and not $other_filters </code>
            <code proglang="python">filter and not other_filters </code>
          </precond>
          <vdef>
            <value>null</value>
          </vdef>
          <flist>
            <felem undef="1">
              <value>null</value>
              <label/>
              <code proglang="perl">""</code>
              <code proglang="python">""</code>
            </felem>
            <felem>
              <value>v1</value>
              <label>Masking with SEG should only be done during the building of initial words ("m S")</label>
              <code proglang="perl">" -F \"m S\""</code>
              <code proglang="python">" -F \"m S\""</code>
            </felem>
            <felem>
              <value>v2</value>
              <label>Masking with coiled-coil should only be done during the building of initial words ("m D")</label>
              <code proglang="perl">" -F \"m D\""</code>
              <code proglang="python">" -F \"m D\""</code>
            </felem>
            <felem>
              <value>v3</value>
              <label>Masking with DUST should only be done during the building of initial words ("m C")</label>
              <code proglang="perl">" -F \"m C\""</code>
              <code proglang="python">" -F \"m C\""</code>
            </felem>
            <felem>
              <value>v4</value>
              <label>Lower-case masking (-U must be true) ( -F m")</label>
              <code proglang="perl">" -F m"</code>
              <code proglang="python">" -F m"</code>
            </felem>
          </flist>
          <ctrl>
            <message>
              <text lang="en">For Lower-case masking the lower case filtering must be select.</text>
            </message>
            <code proglang="perl">($value eq 'null' or $value eq 'v1' or $value eq 'v2' or $value eq 'v3']) or ($value eq 'v4' and $lower_case)</code>
            <code proglang="python">value in ['null', 'v1', 'v2', 'v3'] or (value == 'v4' and lower_case)</code>
          </ctrl>
          <comment>
            <text lang="en">A coiled-coiled filter, based on the work of Lupas et al. (Science, vol 252, pp. 1162-4 (1991)) written by John Kuzio (Wilson et al., J Gen Virol, vol. 76, pp. 2923-32 (1995)).</text>
            <text lang="en">It is possible to specify that the masking should only be done during the process of building the initial words .</text>
            <text lang="en">If the -U option (to mask any lower-case sequence in the input FASTA file) is used and one does not wish any other filtering, but does wish to mask when building the lookup tables then one should specify: -F 'm'</text>
          </comment>
        </parameter>
        <parameter>
          <name>lower_case</name>
          <prompt lang="en">Use lower case filtering (-U)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? " -U T" : ""</code>
            <code proglang="python">("", " -U T")[value]</code>
          </format>
          <comment>
            <text lang="en">This option specifies that any lower-case letters in the input FASTA file should be masked.</text>
          </comment>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>selectivity_opt</name>
      <prompt lang="en">Selectivity options</prompt>
      <argpos>7</argpos>
      <comment>
        <text lang="en">The programs blastn and blastp offer fully gapped alignments. blastx and tblastn have 'in-frame' gapped alignments and use sum statistics to link alignments from different frames. tblastx provides only ungapped alignments.</text>
      </comment>
      <parameters>
        <parameter issimple="1">
          <name>Expect</name>
          <prompt lang="en">Expected value (-e)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <vdef>
            <value>10</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? " -e $value" : ""</code>
            <code proglang="python">("" , " -e "+str(value))[value is not None and value != vdef]</code>
          </format>
          <comment>
            <text lang="en">
              The statistical significance threshold for reporting matches against database sequences; the default value is 10, such that 10 matches are expected to be found merely by chance, according to the stochastic model of Karlin and Altschul (1990). If the statistical significance ascribed to a match is greater than the EXPECT threshold, the match will not be reported. Lower EXPECT thresholds are more stringent, leading to fewer chance matches being reported. Fractional values are
              acceptable.
            </text>
          </comment>
        </parameter>
        <parameter>
          <name>word_size</name>
          <prompt lang="en">Word Size (-W)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -W $value" : ""</code>
            <code proglang="python">("" , " -W "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Use words of size N.</text>
            <text lang="en">Zero invokes default behavior</text>
            <text lang="en">Default values:</text>
            <text lang="en">- 11 for blastn</text>
            <text lang="en">- 3 for others</text>
          </comment>
        </parameter>
        <parameter>
          <name>dist_hits</name>
          <prompt lang="en">Multiple Hits window size (-A)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -A $value" : ""</code>
            <code proglang="python">("" , " -A "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Generally defaults to 0 (for  single-hit  extensions),  but  defaults to 40 when using discontiguous
              templates.</text>
          </comment>
        </parameter>
        <parameter>
          <name>extend_hit</name>
          <prompt lang="en">Threshold for extending hits (-f)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value)? " -f $value" : ""</code>
            <code proglang="python">("" , " -f " + str(value))[ value is not None ]</code>
          </format>
          <comment>
            <text lang="en">Blast seeks first short word pairs whose aligned score reaches at least this value.</text>
            <text lang="en">Default values:</text>
            <text lang="en">- 0 for blastn</text>
            <text lang="en">- 11 for blastp</text>
            <text lang="en">- 12 for blastx</text>
            <text lang="en">- 13 for tblastn and tblastx</text>
          </comment>
        </parameter>
        <parameter>
          <name>dropoff_extent</name>
          <prompt lang="en">X dropoff value for gapped alignment (-X)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -X $value" : ""</code>
            <code proglang="python">("" , " -X "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">This is the value that control the path graph region explored by Blast during a gapped extension (Xg in the NAR paper) (default for blastp is 15).</text>
            <text lang="en">Default values:</text>
            <text lang="en">- 30 for blastn</text>
            <text lang="en">- 0 for tblastx</text>
            <text lang="en">- 15 for others</text>
          </comment>
        </parameter>
        <parameter>
          <name>dropoff_extent_ungapped</name>
          <prompt lang="en">X dropoff value for ungapped extention (-y)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef ) ? " -y $value" : ""</code>
            <code proglang="python">("" , " -y "+str(value))[value is not None and value != vdef]</code>
          </format>
          <comment>
            <text lang="en">- 0.0: default behavior:</text>
            <text lang="en">- 20 for blastn</text>
            <text lang="en">- 7 for others</text>
          </comment>
        </parameter>
        <parameter>
          <name>dropoff_final</name>
          <prompt lang="en">X dropoff value for final gapped alignment (-Z)</prompt>
          <type>
            <datatype>
              <class>Float</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -Z $value" : ""</code>
            <code proglang="python">("" , " -Z "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Default values:</text>
            <text lang="en">- 100 for blastn</text>
            <text lang="en">- 0 for tblastx</text>
            <text lang="en">- 25 for others</text>
          </comment>
        </parameter>
        <parameter>
          <name>eff_len</name>
          <prompt lang="en">Effective length of the search space (-Y)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -Y $value" : ""</code>
            <code proglang="python">("" , " -Y "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">Use zero for the real size</text>
          </comment>
        </parameter>
        <parameter>
          <name>keep_hits</name>
          <prompt lang="en">Number of best hits from a region to keep (-K)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <format>
            <code proglang="perl">(defined $value) ? " -K $value" : ""</code>
            <code proglang="python">("" , " -K "+str(value))[value is not None]</code>
          </format>
          <comment>
            <text lang="en">If this option is used, a value of 100 is recommended.</text>
          </comment>
        </parameter>
        <parameter>
          <name>gapped_alig</name>
          <prompt lang="en">Perform or not gapped alignment (not available with tblastx) (-g)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 ne "tblastx"</code>
            <code proglang="python">blast2 != "tblastx"</code>
          </precond>
          <vdef>
            <value>1</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? "" : " -g F "</code>
            <code proglang="python">(" -g F " , "")[value]</code>
          </format>
        </parameter>
        <parameter>
          <name>mode</name>
          <prompt lang="en">Single-hit or multiple-hit mode (-P)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 ne "blastn"</code>
            <code proglang="python">blast2 != "blastn"</code>
          </precond>
          <vdef>
            <value>0</value>
          </vdef>
          <vlist>
            <velem>
              <value>0</value>
              <label>Multiple-hit (0)</label>
            </velem>
            <velem>
              <value>1</value>
              <label>Single-hit (1)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">($value ne "0") ? " -P $value" : ""</code>
            <code proglang="python">("" , " -P "+str(value))[value != "0"]</code>
          </format>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>translation_opt</name>
      <prompt lang="en">Translation options</prompt>
      <argpos>8</argpos>
      <parameters>
        <parameter>
          <name>gc_query</name>
          <prompt lang="en">Genetic code used for query translation (-Q)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^t?blastx$/</code>
            <code proglang="python">blast2 in [ "blastx" , "tblastx" ]</code>
          </precond>
          <vdef>
            <value>1</value>
          </vdef>
          <vlist>
            <velem>
              <value>1</value>
              <label>Standard (1)</label>
            </velem>
            <velem>
              <value>2</value>
              <label>Vertebrate Mitochondrial (2)</label>
            </velem>
            <velem>
              <value>3</value>
              <label>Yeast Mitochondrial (3)</label>
            </velem>
            <velem>
              <value>4</value>
              <label>Mold, Protozoan, Coelenterate Mitochondrial and Mycoplasma/Spiroplasma (4)</label>
            </velem>
            <velem>
              <value>5</value>
              <label>Invertebrate Mitochondrial (5)</label>
            </velem>
            <velem>
              <value>6</value>
              <label>Ciliate Macronuclear and Dasycladacean (6)</label>
            </velem>
            <velem>
              <value>9</value>
              <label>Echinoderm Mitochondrial (9)</label>
            </velem>
            <velem>
              <value>10</value>
              <label>Euplotid Nuclear (10)</label>
            </velem>
            <velem>
              <value>11</value>
              <label>Bacterial (11)</label>
            </velem>
            <velem>
              <value>12</value>
              <label>Alternative Yeast Nuclear (12)</label>
            </velem>
            <velem>
              <value>13</value>
              <label>Ascidian Mitochondrial (13)</label>
            </velem>
            <velem>
              <value>14</value>
              <label>Flatworm Mitochondrial (14)</label>
            </velem>
            <velem>
              <value>15</value>
              <label>Blepharisma Macronuclear (15)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">(defined $value and $value ne $vdef) ? " -Q $value" : ""</code>
            <code proglang="python">("" , " -Q "+str(value))[value is not None and value != vdef]</code>
          </format>
        </parameter>
        <parameter>
          <name>gc_db</name>
          <prompt lang="en">Genetic code used for database translation (-D)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^tblast[nx]$/</code>
            <code proglang="python">blast2 in [ "tblastn", "tblastx" ]</code>
          </precond>
          <vdef>
            <value>1</value>
          </vdef>
          <vlist>
            <velem>
              <value>1</value>
              <label>Standard (1)</label>
            </velem>
            <velem>
              <value>2</value>
              <label>Vertebrate Mitochondrial (2)</label>
            </velem>
            <velem>
              <value>3</value>
              <label>Yeast Mitochondrial (3)</label>
            </velem>
            <velem>
              <value>4</value>
              <label>Mold, Protozoan, Coelenterate Mitochondrial and Mycoplasma/Spiroplasma (4)</label>
            </velem>
            <velem>
              <value>5</value>
              <label>Invertebrate Mitochondrial (5)</label>
            </velem>
            <velem>
              <value>6</value>
              <label>Ciliate Macronuclear and Dasycladacean (6)</label>
            </velem>
            <velem>
              <value>9</value>
              <label>Echinoderm Mitochondrial (9)</label>
            </velem>
            <velem>
              <value>10</value>
              <label>Euplotid Nuclear (10)</label>
            </velem>
            <velem>
              <value>11</value>
              <label>Bacterial (11)</label>
            </velem>
            <velem>
              <value>12</value>
              <label>Alternative Yeast Nuclear (12)</label>
            </velem>
            <velem>
              <value>13</value>
              <label>Ascidian Mitochondrial (13)</label>
            </velem>
            <velem>
              <value>14</value>
              <label>Flatworm Mitochondrial (14)</label>
            </velem>
            <velem>
              <value>15</value>
              <label>Blepharisma Macronuclear (15)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">($value ne $vdef) ? " -D $value" : ""</code>
            <code proglang="python">("" , " -D "+str(value))[value != vdef]</code>
          </format>
        </parameter>
        <parameter>
          <name>strand</name>
          <prompt lang="en">Query strands to search against database (-S)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$blast2 =~ /^(blastn|t?blastx)$/</code>
            <code proglang="python">blast2 in [ "blastn" ,"blastx" , "tblastx" ]</code>
          </precond>
          <vdef>
            <value>3</value>
          </vdef>
          <vlist>
            <velem>
              <value>1</value>
              <label>Top (1)</label>
            </velem>
            <velem>
              <value>2</value>
              <label>Bottom (2)</label>
            </velem>
            <velem>
              <value>3</value>
              <label>Both (3)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">(defined $value and $value ne $vdef) ? " -S $value" : ""</code>
            <code proglang="python">("" , " -S "+str(value))[value is not None and value != vdef]</code>
          </format>
        </parameter>
      </parameters>
    </paragraph>
    <paragraph>
      <name>affichage</name>
      <prompt lang="en">Report options</prompt>
      <argpos>9</argpos>
      <parameters>
        <parameter>
          <name>Descriptions</name>
          <prompt lang="en">Number of one-line descriptions to show (-v)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <vdef>
            <value>500</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? " -v $value" : ""</code>
            <code proglang="python">("" , " -v "+str(value))[value is not None and value != vdef]</code>
          </format>
          <comment>
            <text lang="en">Maximum number of database sequences for which one-line descriptions will be reported.</text>
          </comment>
        </parameter>
        <parameter>
          <name>Alignments</name>
          <prompt lang="en">Number of database sequences to show alignments (-b)</prompt>
          <type>
            <datatype>
              <class>Integer</class>
            </datatype>
          </type>
          <vdef>
            <value>250</value>
          </vdef>
          <format>
            <code proglang="perl">(defined $value and $value != $vdef) ? " -b $value" : ""</code>
            <code proglang="python">("" , " -b "+str(value))[value is not None and value != vdef]</code>
          </format>
          <comment>
            <text lang="en">Maximum number of database sequences for which high-scoring segment pairs will be reported (-b).</text>
          </comment>
        </parameter>
        <parameter>
          <name>view_alignments</name>
          <prompt lang="en">Alignment view options (-m)</prompt>
          <type>
            <datatype>
              <class>Choice</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <vlist>
            <velem>
              <value>0</value>
              <label>Pairwise (0)</label>
            </velem>
            <velem>
              <value>1</value>
              <label>Query-anchored showing identities (1)</label>
            </velem>
            <velem>
              <value>2</value>
              <label>Query-anchored no identities (2)</label>
            </velem>
            <velem>
              <value>3</value>
              <label>Flat query-anchored, show identities (3)</label>
            </velem>
            <velem>
              <value>4</value>
              <label>Flat query-anchored, no identities (5)</label>
            </velem>
            <velem>
              <value>5</value>
              <label>Query-anchored no identities and blunt ends (5)</label>
            </velem>
            <velem>
              <value>6</value>
              <label>Flat query-anchored, no identities and blunt ends (6)</label>
            </velem>
            <velem>
              <value>7</value>
              <label>XML Blast output (7)</label>
            </velem>
            <velem>
              <value>8</value>
              <label>Tabular output (8)</label>
            </velem>
          </vlist>
          <format>
            <code proglang="perl">(defined $value and $value ne $vdef) ? " -m $value" : ""</code>
            <code proglang="python">("" , " -m "+str(value))[value is not None and value != vdef]</code>
          </format>
        </parameter>
        <parameter ishidden="1">
          <name>txtoutput</name>
          <prompt lang="en">Text output file</prompt>
          <type>
            <datatype>
              <class>String</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$view_alignments ne "7"</code>
            <code proglang="python">view_alignments != "7"</code>
          </precond>
          <format>
            <code proglang="perl">" -o blast2.txt"</code>
            <code proglang="python">" -o blast2.txt"</code>
          </format>
          <argpos>10</argpos>
        </parameter>
        <parameter ishidden="1">
          <name>xmloutput</name>
          <prompt lang="en">Xml output file</prompt>
          <type>
            <datatype>
              <class>String</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$view_alignments eq "7"</code>
            <code proglang="python">view_alignments == "7"</code>
          </precond>
          <format>
            <code proglang="perl">" -o blast2.xml"</code>
            <code proglang="python">" -o blast2.xml"</code>
          </format>
          <argpos>10</argpos>
        </parameter>
        <parameter>
          <name>htmloutput</name>
          <prompt lang="en">Html output</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">$view_alignments !~ /^[78]$/</code>
            <code proglang="python">view_alignments not in [ "7" , "8" ]</code>
          </precond>
          <vdef>
            <value>1</value>
          </vdef>
          <format>
            <code proglang="perl">($value) ? " &amp;&amp; html4blast -g -o blast2.html blast2.txt" : ""</code>
            <code proglang="python">("" , " &amp;&amp; html4blast -g -o blast2.html blast2.txt")[value]</code>
          </format>
          <argpos>11</argpos>
        </parameter>
      </parameters>
    </paragraph>
    <parameter isout="1">
      <name>txtfile</name>
      <prompt lang="en">Blast text report</prompt>
      <type>
        <datatype>
          <class>BlastTextReport</class>
          <superclass>Report</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$view_alignments ne "7"</code>
        <code proglang="python">view_alignments != "7"</code>
      </precond>
      <filenames>
        <code proglang="perl">"blast2.txt"</code>
        <code proglang="python">"blast2.txt"</code>
      </filenames>
    </parameter>
    <parameter isout="1">
      <name>xmlfile</name>
      <prompt lang="en">Blast xml report</prompt>
      <type>
        <datatype>
          <class>BlastXmlReport</class>
          <superclass>Report</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$view_alignments eq "7"</code>
        <code proglang="python">view_alignments == "7"</code>
      </precond>
      <filenames>
        <code proglang="perl">"blast2.xml"</code>
        <code proglang="python">"blast2.xml"</code>
      </filenames>
    </parameter>
    <parameter isout="1">
      <name>htmlfile</name>
      <prompt lang="en">Blast html report</prompt>
      <type>
        <datatype>
          <class>BlastHtmlReport</class>
          <superclass>Report</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$view_alignments !~ /^[78]$/</code>
        <code proglang="python">view_alignments not in [ "7" , "8" ]</code>
      </precond>
      <filenames>
        <code proglang="perl">"blast2.html"</code>
        <code proglang="python">"blast2.html"</code>
      </filenames>
    </parameter>
    <parameter isout="1" ishidden="1">
      <name>imgfile</name>
      <type>
        <datatype>
          <class>Picture</class>
          <superclass>Binary</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$view_alignments !~ /^[78]$/</code>
        <code proglang="python">view_alignments not in ["7", "8"]</code>
      </precond>
      <filenames>
        <code proglang="perl">"*.png"</code>
        <code proglang="perl">"*.gif"</code>
        <code proglang="python">"*.png"</code>
        <code proglang="python">"*.gif"</code>
      </filenames>
    </parameter>
  </parameters>
</program>