This file is indexed.

/var/lib/mobyle/programs/blast2genoclass.xml is in mobyle-programs 5.1.1-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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 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>blast2genoclass</name>
    <version>1.0</version>
    <doc>
      <title>blast2genoclass</title>
      <description>
        <text lang="en">One-line description of Blast program filtering</text>
      </description>
      <authors>C. Maufrais</authors>
    </doc>
    <category>database:search:filter</category>
    <command>blast2genoclass</command>
  </head>
  <parameters>
    <parameter ismandatory="1" issimple="1">
      <name>infile</name>
      <prompt lang="en">Blast output file</prompt>
      <type>
        <datatype>
          <class>BlastTextReport</class>
          <superclass>Report</superclass>
        </datatype>
      </type>
      <format>
        <code proglang="perl">" -i $value"</code>
        <code proglang="python">" -i " + str(value)</code>
      </format>
      <argpos>20</argpos>
    </parameter>
   
    <parameter issimple="1">
      <name>blastfilter</name>
      <prompt lang="en">Filter the one-line description of Blast program with:</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>Null</value>
      </vdef>
      <vlist>
        <velem undef="1">
          <value>Null</value>
          <label></label>
        </velem>
        <velem>
          <value>M</value>
          <label>best e-value</label>
        </velem>
        <velem>
          <value>F</value>
          <label>most frequent description</label>
        </velem>
      </vlist>   
      <format>
        <code proglang="perl">($value ne vdef) ? " -$value" : ""</code>
        <code proglang="python">("", " -" + str(value))[value != vdef]</code>
      </format>
    </parameter>
    
    <parameter>
      <name>nbofhit</name>
      <prompt lang="en">Number of hsp to consider (-x)</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>10</value>
      </vdef>
      <format>
        <code proglang="perl">(defined $value) ? " -x $value" : ""</code>
        <code proglang="python">("", " -x " + str(value) )[value is not None and value != vdef]</code>
      </format>
      <comment>
         <text lang="en">0: all hsp </text>
      </comment>
      
    </parameter>
    
    <parameter issimple="1">
      <name>genomic_name</name>
      <prompt lang="en">Filter the one-line description of Blast program with user name (-p)</prompt>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">(defined $value) ? " -p $value" : ""</code>
        <code proglang="python">("", " -p " + str(value).replace(' ','_') )[value is not None]</code>
      </format>
      <ctrl>
        <message>
          <text lang="en">Choose only one of the one-line description filter option: User name or not.</text>
        </message>
        <code proglang="perl">(defined $blastfilter and (not defined $genomic_name)) or (defined $genomic_name and (not defined $blastfilter))</code>
        <code proglang="python">(blastfilter is not None and (genomic_name is None)) or (genomic_name is not None and (blastfilter is None)) </code>
      </ctrl>
    </parameter>
        
    
    <parameter ismandatory="1" issimple="1">
      <name>taxonomic_name</name>
      <prompt lang="en">Filter the hit of Blast with Taxonomic hierarchy name (-n)</prompt>
      <type>
        <datatype>
          <class>String</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">(defined $value) ? " -n $value" : ""</code>
        <code proglang="python">("", " -n " + str(value).replace(' ','_') )[value is not None]</code>
      </format>
    </parameter>
    
       
    <paragraph>
      <name>output</name>
      <prompt lang="en">Output option</prompt>
      <parameters>

        
        <parameter>
          <name>verboseall</name>
          <prompt lang="en">Report detailed results matching "Description filter option" for all blast (-v)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -v" : ""</code>
            <code proglang="python">("" , " -v") [value]</code>
          </format>
          <comment>
            <text lang="en">In "res4individualBlast.txt" file, for all input blast, are details: </text>
            <text lang="en">For all matching "Description filter option":</text>
            <text lang="en">- query name, (query letter): percentage of matching description</text>
            <text lang="en">and for all corresponding hits:</text>
            <text lang="en">- Database sequence's species, accession number and letters</text>
            <text lang="en">- Hsp description</text>
          </comment>
        </parameter> 
        
        <parameter>
          <name>verbose</name>
          <prompt lang="en">Detailed report for database sequence(s) matching "Description filter option" (-V)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -V" : ""</code>
            <code proglang="python">("" , " -V") [value]</code>
          </format>
          <comment>
            <text lang="en">In "res4allBlast.txt" file, for the best database sequence(s), are details: </text>
            <text lang="en">For database sequence matching "Description filter option":</text>
            <text lang="en">- Database sequence's species, accession number, letters and description</text>
            <text lang="en">- Number of query matching this sequence.</text>
            <text lang="en">- Query name, (letters)</text>
            <text lang="en">and for all corresponding hsp:</text>
            <text lang="en">- Hsp description</text>
          </comment>
        </parameter> 
        
        <parameter>
      <name>option</name>
      <prompt lang="en">Hsp(s) selection (-m)</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>1</value>
      </vdef>
      <vlist>
        <velem>
          <value>0</value>
          <label>All hsps</label>
        </velem>
        <velem>
          <value>1</value>
          <label>Only compatible hsps</label>
        </velem>
        <velem>
          <value>2</value>
          <label>Simple overlaps are possible</label>
        </velem>
        <velem>
          <value>3</value>
          <label>Global overlaps on database sequence(s) are possible</label>
        </velem>
      </vlist>
      
      <format>
        <code proglang="perl">($value ne vdef) ? " -m $value" : ""</code>
        <code proglang="python">("", " -m " + str(value))[value != vdef]</code>
      </format>
    </parameter>
        
        
        <parameter>
          <name>align</name>
          <prompt lang="en">Produce alignment: database sequence matching "Description filter option" vs queries (-a)</prompt>
          <type>
             <datatype>
             <class>Choice</class>
             </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <vlist>
        <velem undef="1">
          <value>0</value>
          <label></label>
        </velem>
        <velem>
          <value>1</value>
          <label>hsps blast and database sequence reference alignment: hsp merged in pairwise alignment</label>
        </velem>
        <velem>
          <value>2</value>
          <label>hsps blast and database sequence reference alignment: hsp in multiple alignment</label>
        </velem>
        <velem>
          <value>3</value>
          <label>hsps blast and database sequence reference alignment: hsp in multiple alignment and consensus</label>
        </velem>
        <velem>
          <value>4</value>
          <label>part of queries (hsp) and database sequence reference alignment: queries merged in pairwise alignment</label>
        </velem>
        <velem>
          <value>5</value>
          <label>part of queries (hsp) and database sequence reference alignment: queries in multiple alignment</label>
        </velem>
        <velem>
          <value>6</value>
          <label>part of queries (hsp) and database sequence reference alignment: queries in multiple alignment and consensus</label>
        </velem>
 
        </vlist>
          <format>
            <code proglang="perl">($value  ne vdef)? " -a $value" : ""</code>
            <code proglang="python">("" , " -a " +str(value)) [value != vdef]</code>
          </format>
          <comment>
            <text lang="en">For 1,2,3 hsps alignments (Sbjt and Query) are re-aligned on the reference sequence extract from database.</text>
            <text lang="en">For 4,5,6 part of queries corresponding to hsps are re-aligned on the reference sequence extract from database.</text>
          </comment>
        </parameter> 
        
         <parameter>
          <name>picture</name>
          <prompt lang="en">Produce graphical alignment summary images: database sequence matching "Description filter option" vs queries (-g)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -g" : ""</code>
            <code proglang="python">("" , " -g") [value]</code>
          </format>
        </parameter> 
        
        <parameter>
          <name>blastout</name>
          <prompt lang="en">Blast output file(s) sort/split by specific taxonomic hierarchy (-b)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -b" : ""</code>
            <code proglang="python">("" , " -b") [value]</code>
          </format>
        </parameter>
        
        <parameter>
          <name>hspSeq</name>
          <prompt lang="en">Extract Hsp(s) fragment from Query sequence(s) (-Q)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -Q" : ""</code>
            <code proglang="python">("" , " -Q") [value]</code>
          </format>
          <!--  <ctrl>
            <message>
              <text lang="en">Query sequences must be done.</text>
            </message>
            <code proglang="perl">defined $query_seq</code>
            <code proglang="python">query_seq is not None</code>
          </ctrl> -->
        </parameter> 
        
        <parameter>
          <name>queryout</name>
          <prompt lang="en">Query name write in file(s) sort/split by specific taxonomic hierarchy (-q)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -q" : ""</code>
            <code proglang="python">("" , " -q") [value]</code>
          </format>
        </parameter> 
        
        <parameter>
          <name>besthitseq</name>
          <prompt lang="en">Report database sequence(s) matching option in fasta file (-s)</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <format>
            <code proglang="perl">($value)? " -s" : ""</code>
            <code proglang="python">("" , " -s") [value]</code>
          </format>
        </parameter> 
       
        
        <parameter>
          <name>fastaExtract</name>
          <prompt lang="en">Extraction of fasta sequences.</prompt>
          <type>
            <datatype>
              <class>Boolean</class>
            </datatype>
          </type>
          <vdef>
            <value>0</value>
          </vdef>
          <ctrl>
            <message>
              <text lang="en">Query name write in file must be checked and query sequences must be done.</text>
            </message>
            <code proglang="perl">$fastaExtract == 1 and $queryout == 1 and defined $query_seq</code>
            <code proglang="python">(fastaExtract and (queryout and query_seq is not None)) or (not fastaExtract)</code>
          </ctrl>
          <comment>
            <text lang="en">Extract fasta sequence, matching specified taxonomic filter, from file containing query sequences witch are used to made blast.</text>
          </comment>
        </parameter>
        
        <parameter>
          <name>query_seq</name>
          <prompt lang="en">Query sequences witch are used to made blast.</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
              <dataFormat>FASTA</dataFormat>
            <card>1,n</card>
          </type>
          
        </parameter>
        
        <parameter ishidden="1">
          <name>query_seq_run1</name>
          <prompt lang="en">Query sequences witch are used to made blast.</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
              <dataFormat>FASTA</dataFormat>
            <card>1,n</card>
          </type>
          <precond>
            <code proglang="perl">defined $hspSeq and defined $query_seq</code>
            <code proglang="python">hspSeq and query_seq</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value)? " -f $query_seq": ""</code>
            <code proglang="python">(""," -f "+ str(query_seq)) [query_seq is not None]</code>
          </format>
        </parameter>
        
        <parameter ishidden="1">
          <name>query_seq_run2</name>
          <prompt lang="en">Query sequences witch are used to made blast.</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
              <dataFormat>FASTA</dataFormat>
            <card>1,n</card>
          </type>
          <precond>
            <code proglang="perl">defined $fastaExtract and defined $queryout and defined $query_seq</code>
            <code proglang="python">fastaExtract and queryout and query_seq</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value)? " &amp;&amp; extractfasta -i $query_seq *.qry": ""</code>
            <code proglang="python">(""," &amp;&amp; extractfasta -i "+ str(query_seq) + " *.qry") [query_seq is not None]</code>
          </format>
          <argpos>100</argpos>
        </parameter>
        
        
        <parameter isstdout="1">
          <name>outfile</name>
          <prompt>Output file</prompt>
          <type>
            <datatype>
              <class>Blast2taxoclassReport</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <filenames>
            <code proglang="perl">"blast2genoclass.out"</code>
            <code proglang="python">"blast2genoclass.out"</code>
          </filenames>
        </parameter>
        
        <parameter isout="1">
          <name>pictureout</name>
          <prompt>Graphical output</prompt>
          <type>
            <datatype>
              <class>Picture</class>
              <superclass>Binary</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $picture</code>
            <code proglang="python">picture</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.png"</code>
            <code proglang="python">"*.png"</code>
          </filenames>
        </parameter>
        
        <parameter isout="1">
          <name>alignout</name>
          <prompt>Alignment</prompt>
          <type>
            <datatype>
              <class>GenoClasAln</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $align</code>
            <code proglang="python">align</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.aln"</code>
            <code proglang="python">"*.aln"</code>
          </filenames>
        </parameter>
      
        
        <parameter isout="1">
          <name>verboseoutall</name>
          <prompt>Verbose output file for all blast</prompt>
          <type>
            <datatype>
              <class>VerboseReport</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $verboseall</code>
            <code proglang="python">verboseall</code>
          </precond>
          <filenames>
            <code proglang="perl">"res4individualBlast.txt"</code>
            <code proglang="python">"res4individualBlast.txt"</code>
          </filenames>
        </parameter>

        <parameter isout="1">
          <name>verboseout</name>
          <prompt>Verbose output file for database sequence(s)</prompt>
          <type>
            <datatype>
              <class>VerboseReport</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $verbose</code>
            <code proglang="python">verbose</code>
          </precond>
          <filenames>
            <code proglang="perl">"res4allBlast.txt"</code>
            <code proglang="python">"res4allBlast.txt"</code>
          </filenames>
        </parameter>
        
        
        <parameter isout="1">
          <name>blastoutfile</name>
          <prompt>Blast output file(s)</prompt>
          <type>
            <datatype>
              <class>BlastTextReport</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $blastout</code>
            <code proglang="python">blastout</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.blast"</code>
            <code proglang="python">"*.blast"</code>
          </filenames>
        </parameter>
        
        <parameter isout="1">
          <name>queryoutfile</name>
          <prompt>Query name file</prompt>
          <type>
            <datatype>
              <class>QueryNameReport</class>
              <superclass>Report</superclass>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $queryout</code>
            <code proglang="python">queryout</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.qry"</code>
            <code proglang="python">"*.qry"</code>
          </filenames>
        </parameter>
        
        <parameter isout="1">
          <name>besthitseqfile</name>
          <prompt>Database sequence(s) fasta file</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
            <dataFormat>FASTA</dataFormat>
          </type>
          <precond>
            <code proglang="perl">defined $besthitseq</code>
            <code proglang="python">besthitseq</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.dbfasta"</code>
            <code proglang="python">"*.dbfasta"</code>
          </filenames>
        </parameter>
        
        <parameter isout="1">
          <name>fastafile</name>
          <prompt>Fasta file</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
            <dataFormat>FASTA</dataFormat>
          </type>
          <precond>
            <code proglang="perl">defined $fastaExtract  or defined $hspSeq</code>
            <code proglang="python">fastaExtract or hspSeq</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.fasta"</code>
            <code proglang="python">"*.fasta"</code>
          </filenames>
        </parameter>
        
        
        
      </parameters>
    </paragraph>
  </parameters>
</program>