This file is indexed.

/var/lib/mobyle/programs/blast2taxoclass.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
<?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 xmlns:xi="http://www.w3.org/2001/XInclude">
    <name>blast2taxoclass</name>
    <version>1.0</version>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Entities/blastTaxoAnalysis_package.xml"/>
    <doc>
      <title>blast2taxoclass</title>
      <description>
        <text lang="en">Blast filtering with taxonomic hierarchy information</text>
      </description>
      <authors>C. Maufrais</authors>
    </doc>
    <category>database:search:filter</category>
    <command>blast2taxoclass</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">Find taxonomic classification of:</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>M</value>
      </vdef>
      <vlist>
        <velem>
          <value>M</value>
          <label>best hit</label>
        </velem>
        <velem>
          <value>F</value>
          <label>most frequent hit</label>
        </velem>
      </vlist>
      
      <format>
        <code proglang="perl">($value) ? " -$value" : ""</code>
        <code proglang="python">" -" + str(value)</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>
    
    
        
    <paragraph>
      <name>taxonomicfilter</name>
      <prompt lang="en">Taxonomic hierarchy filter option</prompt>
      <parameters>
    <parameter issimple="1">
      <name>position</name>
      <prompt lang="en">Relative position in taxonomic hierarchy (-p)</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <format>
        <code proglang="perl">(defined $value) ? " -p $value" : ""</code>
        <code proglang="python">("", " -p " + str(value) )[value is not None]</code>
      </format>
      <ctrl>
        <message>
          <text lang="en">Choose only one of taxonomic hierarchy filter option: Relative position, Taxonomic rank or Taxonomic name.</text>
        </message>
        <code proglang="perl">(defined $position and (not defined $taxonomic_name and not defined $rank))</code>
        <code proglang="python">(position is not None and (taxonomic_name is None and rank is None)) or (taxonomic_name is not None and (position is None and rank is None)) or (rank is not None and (taxonomic_name is None and position is None)) </code>
      </ctrl>
      <comment>
        <text lang="en">zero means: root of taxonomy, higher value: leaf or near </text>
      </comment>
    </parameter>
    
    <parameter issimple="1">
      <name>taxonomic_name</name>
      <prompt lang="en">Taxonomic 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>
      <ctrl>
        <message>
          <text lang="en">Choose only one of taxonomic hierarchy filter option: Relative position, Taxonomic rank or Taxonomic name.</text>
        </message>
        <code proglang="perl">(defined $position and (not defined $taxonomic_name and not defined $rank))</code>
        <code proglang="python">(position is not None and (taxonomic_name is None and rank is None)) or (taxonomic_name is not None and (position is None and rank is None)) or (rank is not None and (taxonomic_name is None and position is None)) </code>
      </ctrl>
    </parameter>
    
    <parameter issimple="1">
      <name>rank</name>
      <prompt lang="en">Taxonomic rank name (-r)</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>superkingdom</value>
          <label>superkingdom</label>
        </velem>
        <velem>
          <value>kingdom</value>
          <label>kingdom</label>
        </velem>
        <velem>
          <value>subkingdom</value>
          <label>subkingdom</label>
        </velem>
        <velem>
          <value>superphylum</value>
          <label>superphylum</label>
        </velem>
        <velem>
          <value>phylum</value>
          <label>phylum</label>
        </velem>
        <velem>
          <value>subphylum</value>
          <label>subphylum</label>
        </velem>
        <velem>
          <value>superclass</value>
          <label>superclass</label>
        </velem>
        <velem>
          <value>class</value>
          <label>class</label>
        </velem>
        <velem>
          <value>subclass</value>
          <label>subclass</label>
        </velem>
        <velem>
          <value>infraclass</value>
          <label>infraclass</label>
        </velem>
        <velem>
          <value>superorder</value>
          <label>superorder</label>
        </velem>
        <velem>
          <value>order</value>
          <label>order</label>
        </velem>
        <velem>
          <value>suborder</value>
          <label>suborder</label>
        </velem>
        <velem>
          <value>infraorder</value>
          <label>infraorder</label>
        </velem>
        <velem>
          <value>parvorder</value>
          <label>parvorder</label>
        </velem>
        <velem>
          <value>superfamily</value>
          <label>superfamily</label>
        </velem>
        <velem>
          <value>family</value>
          <label>family</label>
        </velem>
        <velem>
          <value>subfamily</value>
          <label>subfamily</label>
        </velem>
        <velem>
          <value>tribe</value>
          <label>tribe</label>
        </velem>
        <velem>
          <value>subtribe</value>
          <label>subtribe</label>
        </velem>
        <velem>
          <value>genus</value>
          <label>genus</label>
        </velem>
        <velem>
          <value>subgenus</value>
          <label>subgenus</label>
        </velem>
        <velem>
          <value>species_group</value>
          <label>species_group</label>
        </velem>
        <velem>
          <value>species_subgroup</value>
          <label>species_subgroup</label>
        </velem>
        <velem>
          <value>species</value>
          <label>species</label>
        </velem>
        <velem>
          <value>subspecies</value>
          <label>subspecies</label>
        </velem>
        <velem>
          <value>varietas</value>
          <label>varietas</label>
        </velem>
        <velem>
          <value>forma</value>
          <label>forma</label>
        </velem>
      </vlist>
      <format>
        <code proglang="perl">(defined $value) ? " -r $value" : ""</code>
        <code proglang="python">("", " -r " + str(value) )[value is not None]</code>
      </format>
      <ctrl>
        <message>
          <text lang="en">Choose only one of taxonomic hierarchy filter option: Relative position, Taxonomic rank or Taxonomic name.</text>
        </message>
        <code proglang="perl">(defined $position and (not defined $taxonomic_name and not defined $rank))</code>
        <code proglang="python">(position is not None and (taxonomic_name is None and rank is None)) or (taxonomic_name is not None and (position is None and rank is None)) or (rank is not None and (taxonomic_name is None and position is None)) </code>
      </ctrl>
      <comment>
        <text lang="en">If Taxonomic rank is not defined for one hit, it is not treated.</text>
      </comment>
    </parameter>
    
     </parameters>
     </paragraph>
       
    <paragraph>
      <name>output</name>
      <prompt lang="en">Output option</prompt>
      <parameters>
        <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>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>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>
          <precond>
            <code proglang="perl">defined $fastaExtract and defined $queryout</code>
            <code proglang="python">fastaExtract and queryout</code>
          </precond>
          <format>
            <code proglang="perl">(defined $value)? " &amp;&amp; extractfasta -i $query *.qry": ""</code>
            <code proglang="python">(""," &amp;&amp; extractfasta -i "+ str(value) + " *.qry") [value 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">"blast2taxoclass.out"</code>
            <code proglang="python">"blast2taxoclass.out"</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>fastafile</name>
          <prompt>Fasta file</prompt>
          <type>
            <datatype>
              <class>Sequence</class>
            </datatype>
          </type>
          <precond>
            <code proglang="perl">defined $fastaExtract</code>
            <code proglang="python">fastaExtract</code>
          </precond>
          <filenames>
            <code proglang="perl">"*.fasta"</code>
            <code proglang="python">"*.fasta"</code>
          </filenames>
        </parameter>
        
        
      </parameters>
    </paragraph>
  </parameters>
</program>