This file is indexed.

/var/lib/mobyle/programs/scangen.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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- XML Authors: Corinne Maufrais                                               -->
<!-- 'Biological Software and Databases' Group, Institut Pasteur, Paris.         -->
<!-- Distributed under LGPLv2 License. Please refer to the COPYING.LIB document. -->
<program>
  <head>
    <name>scangen</name>
    <version>1.0</version>
    <doc>
      <title>scangen</title>
      <description>
        <text lang="en">Genomewide identification of cisregulatory motifs and modules</text>
      </description>
      <authors>H Rouault, K Mazouni, L Couturier, V Hakim and V Schweisguth</authors>
      <reference>Genomewide identification of cis regulatory motifs and modules underlying gene coregulation
      using statistics and phylogeny, National Academy of Sciences of the United States of America. August 17, 2010 vol. 107 no. 33 14615-14620</reference>
    </doc>
    <category>sequence:nucleic:regulation</category>
    <command>scangen</command>
  </head>
  <parameters>
  
  <parameter ismandatory="1" issimple="1">
        <name>model</name>
      <prompt lang="en">Execution mode</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
      <vdef>
        <value>null</value>
      </vdef>
      <vlist>
          <velem undef="1">
            <value>null</value>
            <label>Choice</label>
          </velem>
         <velem>
          <value>--motgen</value>
          <label>motgen: Generate motifs from a training set</label>
         </velem>
         <velem>
          <value> </value>
          <label>scangen: Find instances of a list of motifs in the genome</label>
         </velem>
       </vlist>
      <format>
        <code proglang="perl">(defined $value and $value ne $vdef) ? " $value " : ""</code>
        <code proglang="python">( "" , " " + str(value) )[ value is not None and value !=vdef]</code>
      </format>
      </parameter>
  
  <paragraph>
    <name>general</name>
     <prompt lang="en">General options</prompt>
     <argpos>1</argpos>
     <parameters>
  
  <parameter issimple="1">
      <name>width</name>
      <prompt lang="en">Width of the motif</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>10</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " -w $value" : ""</code>
         <code proglang="python">( "" , " -w " + str( value ) )[value is not None]</code>
      </format>
    </parameter>
    
    <parameter issimple="1">
      <name>threeshold</name>
      <prompt lang="en">Threshold used for motif scanning</prompt>
      <type>
        <datatype>
          <class>Float</class>
        </datatype>
      </type>
      <vdef>
        <value>13.0</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " -t $value" : ""</code>
         <code proglang="python">( "" , " -t " + str( value ) )[value is not None]</code>
      </format>
    </parameter>
    
    <parameter issimple="1">
      <name>extent</name>
      <prompt lang="en">Extent of the motif search within an alignment</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>20</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " -x $value" : ""</code>
         <code proglang="python">( "" , " -x " + str( value ) )[value is not None]</code>
      </format>
    </parameter>
    
</parameters>
</paragraph>

<paragraph>
    <name>motgen</name>
     <prompt lang="en">Modgen options</prompt>
     <precond>
         <code proglang="perl">$model == '--motgen'</code>
         <code proglang="python">model == '--motgen'</code>
     </precond>
     <argpos>2</argpos>
     <parameters>
  
  <parameter>
      <name>evolutionary</name>
      <prompt lang="en">Evolutionary model used for motif generation</prompt>
      <type>
        <datatype>
          <class>Choice</class>
        </datatype>
      </type>
        <vdef>
        <value>1</value>
      </vdef>
      <vlist>
         <velem>
          <value>1</value>
          <label>Felsenstein model</label>
         </velem>
         <velem>
          <value>2</value>
          <label>Halpern-bruno model</label>
         </velem>
       </vlist>
      <format>
        <code proglang="perl">(defined $value and $value ne $vdef) ? " -e $value " : ""</code>
        <code proglang="python">( "" , " -e " + str(value) )[ value is not None and value !=vdef]</code>
      </format>
    </parameter>

  <parameter>
      <name>coord_file</name>
      <prompt lang="en">File of enhancer coordinates</prompt>
      
      <type>
        <datatype>
          <class>Coordinates</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$align_file is not defined</code>
        <code proglang="python">align_file is None</code>
      </precond>
      <format>
         <code proglang="perl">(defined $value) ? " --coord-file $value" : ""</code>
         <code proglang="python">( "" , " --coord-file " + str( value ) )[value is not None]</code>
      </format>
      <comment>
        <text lang="en">list of sequence coordinates in the format:</text>
        <text lang="en">sequence_name chromosome_arm start_pos stop_pos</text>
      </comment>
      <example>
seq_name1 X 10000 11000
seq_name2 2L 20000 21000
seq_name3 3L 30000 31000
      </example>
    </parameter>
      
<!--  
    <parameter>
      <name>align_file</name>
      <prompt lang="en">File of enhancer alignments</prompt>
      
      <type>
        <datatype>
          <class>ListOfAlignments</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <precond>
        <code proglang="perl">$coord_file is not defined</code>
        <code proglang="python">coord_file is None</code>
      </precond>
      <format>
         <code proglang="perl">(defined $value) ? " -align-file $value" : ""</code>
         <code proglang="python">( "" , " -align-file " + str( value ) )[value is not None]</code>
      </format>
    </parameter>
-->

    <parameter ishidden="1">
      <name>filter</name>
      <prompt lang="en">Data filter</prompt>
      
      <type>
        <datatype>
          <class>Filename</class>
        </datatype>
      </type>
      
      <format>
         <code proglang="perl">" &amp;&amp; gawk '$3&lt;1000 {print $2,$0}' motmeldb.txt | sort -g | sed 's/^.* //' &gt; bestmotspval.dat" &amp;&amp; distinfo -t 9.0 -w 10 bestmotspval.dat &gt; finalMotifs.dat"</code>
         <code proglang="python">" &amp;&amp; gawk '$3&lt;1000 {print $2,$0}' motmeldb.txt | sort -g | sed  -e 's,^.* ,,' &gt; bestmotspval.dat  &amp;&amp; distinfo -t 9.0 -w 10 bestmotspval.dat &gt; finalMotifs.dat"</code>
      </format>
    </parameter>

	<parameter ishidden="1">
      <name>filter2graph</name>
      <prompt lang="en">Filer to Graphic</prompt>
      
      <type>
        <datatype>
          <class>Filename</class>
        </datatype>
      </type>
      
      <format>
         <code proglang="perl">" &amp;&amp; gawk '{print $8,$9,$10,$11}' finalMotifs.dat &gt; matrices.txt</code>
         <code proglang="python">" &amp;&amp; gawk '{print $8,$9,$10,$11}' finalMotifs.dat &gt; matrices.txt"</code>
      </format>
    </parameter>

	<parameter>
		<name>graph_format</name>
		<prompt lang="en">Graph output format</prompt>
		<type>
			<datatype>
				<class>Choice</class>
			</datatype>
		</type>
		<vdef>
			<value>png</value>
		</vdef>
		<vlist>
         <velem>
          <value>png</value>
          <label>png</label>
         </velem>
         <velem>
          <value>pdf</value>
          <label>pdf</label>
         </velem>
       </vlist>
		
	</parameter>
	
	<parameter ismandatory="1" >
		<name>graph_word</name>
		<prompt lang="en">Graph output width motif</prompt>
		<type>
			<datatype>
				<class>Integer</class>
			</datatype>
		</type>
		<vdef>
			<value>10</value>
		</vdef>
				
	</parameter>
	
	<parameter ishidden="1">
      <name>graphic</name>
      <prompt lang="en">Graphic plot</prompt>
      
      <type>
        <datatype>
          <class>Filename</class>
        </datatype>
      </type>
      
      <format>
         <code proglang="perl">" &amp;&amp; motpic-warg -w %s -f %s  matrices.txt" % (graph_word,graph_format)</code>
         <code proglang="python">" &amp;&amp; motpic-warg -w %s -f %s matrices.txt" % (graph_word,graph_format)</code>
      </format>
    </parameter>

<!--     <parameter isout="1">
          <name>outfile</name>
          <prompt>Modgen output file</prompt>
          <type>
        <datatype>
          <class>ModgenMotif</class>
          <superclass>AbstractText</superclass>
          </datatype>
          </type>
          <precond>
         <code proglang="perl">$model == '-motgen'</code>
         <code proglang="python">model == '-motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"motmeldb.txt"</code>
            <code proglang="python">"motmeldb.txt"</code>
          </filenames>
        </parameter>
    
    <parameter isout="1">
          <name>filterOutfile</name>
          <prompt>Modgen output file filtered</prompt>
          <type>
        <datatype>
          <class>ModgenMotif</class>
          <superclass>AbstractText</superclass>
          </datatype>
          </type>
          <precond>
         <code proglang="perl">$model == '-motgen'</code>
         <code proglang="python">model == '-motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"bestmotspval.dat"</code>
            <code proglang="python">"bestmotspval.dat"</code>
          </filenames>
        </parameter> -->
        
        <parameter isout="1">
          <name>distinfo</name>
          <prompt>Distinfo output file</prompt>
          <type>
        <datatype>
          <class>ScangenMotifDefinition</class>
          <superclass>AbstractText</superclass>
          </datatype>
          </type>
          <precond>
         <code proglang="perl">$model == '--motgen'</code>
         <code proglang="python">model == '--motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"finalMotifs.dat"</code>
            <code proglang="python">"finalMotifs.dat"</code>
          </filenames>
        </parameter>

  <!--       <parameter isout="1">
          <name>matrixOutfile</name>
          <prompt>Matrix output file</prompt>
          <type>
             <datatype>
                <class>MatrixReport</class>
                 <superclass>AbstractText</superclass>
              </datatype>
          </type>
<precond>
         <code proglang="perl">$model == '-motgen'</code>
         <code proglang="python">model == '-motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"matrices.txt"</code>
            <code proglang="python">"matrices.txt"</code>
          </filenames>
        </parameter> -->
     
    <parameter isout="1">
          <name>GraphOutput0</name>
          <prompt>Graph output</prompt>
          <type>
             <datatype>
                <class>Picture</class>
                <superclass>Binary</superclass>
              </datatype>
              <dataFormat>
              	<ref param="graph_format"></ref>
              </dataFormat>
          </type>
          <precond>
         <code proglang="perl">$model == '--motgen'</code>
         <code proglang="python">model == '--motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"mat-auto-0*"</code>
            <code proglang="python">"mat-auto-0*"</code>
          </filenames>
        </parameter> 
     
     <parameter isout="1">
          <name>GraphOutput1</name>
          <prompt>Graph output</prompt>
          <type>
             <datatype>
                <class>Picture</class>
                <superclass>Binary</superclass>
              </datatype>
          </type>
          <precond>
         <code proglang="perl">$model == '--motgen'</code>
         <code proglang="python">model == '--motgen'</code>
         </precond>
          <filenames>
            <code proglang="perl">"mat-auto-1*"</code>
            <code proglang="python">"mat-auto-1*"</code>
          </filenames>
        </parameter> 

    </parameters>
    </paragraph>
    
    
    <paragraph>
    <name>scangen</name>
     <prompt lang="en">Scangen options</prompt>
     <precond>
         <code proglang="perl">$model == ' '</code>
         <code proglang="python">model == ' '</code>
     </precond>
     <argpos>2</argpos>
     <parameters>
      
      <parameter>
      <name>scanwidth</name>
      <prompt lang="en">Width of selected enhancers</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>1000</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " -s $value" : ""</code>
         <code proglang="python">( "" , " -s " + str( value ) )[value is not None and value !=vdef]</code>
      </format>
    </parameter>
      
      <parameter>
      <name>scanstep</name>
      <prompt lang="en">Step of scanned genome</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>50</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " --scanstep=$value" : ""</code>
         <code proglang="python">( "" , " --scanstep=" + str( value ) )[value is not None and value !=vdef]</code>
      </format>
    </parameter>
      
      <parameter>
      <name>nbmots</name>
      <prompt lang="en">Number of motifs to consider</prompt>
      <type>
        <datatype>
          <class>Integer</class>
        </datatype>
      </type>
      <vdef>
        <value>20</value>
      </vdef>
      <format>
         <code proglang="perl">(defined $value) ? " -n $value" : ""</code>
         <code proglang="python">( "" , " -n " + str( value ) )[value is not None and value !=vdef]</code>
      </format>
      <ctrl>
            <message>
              <text lang="en">Value greater than or equal to 15 is required</text>
            </message>
            <code proglang="python">value &gt;= 15</code>
          </ctrl>
    </parameter>
      
      <parameter ishidden="1">
      <name>phenotype</name>
      <prompt lang="en">File containing a list of genes annotated with a relevant phenotype</prompt>
      
      <type>
        <datatype>
          <class>Phenotype</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <format>
         <code proglang="perl">" -p <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../Local/Services/Programs/Env/scangen_data.xml" xpointer="xpointer(/phenotype/text())" />pheno.txt"</code>
         <code proglang="python">" -p <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../Local/Services/Programs/Env/scangen_data.xml" xpointer="xpointer(/phenotype/text())" />pheno.txt"</code>
      </format>
    </parameter>
    
      <parameter>
      <name>motifs</name>
      <prompt lang="en">File containing a list of motif definitons</prompt>
      
      <type>
        <datatype>
          <class>ScangenMotifDefinition</class>
          <superclass>AbstractText</superclass>
        </datatype>
      </type>
      <format>
         <code proglang="perl">(defined $value) ? " -m $value" : ""</code>
         <code proglang="python">( "" , " -m " + str( value ) )[value is not None]</code>
      </format>
    </parameter>
      
     
     <parameter isout="1">
          <name>scangenOutfile</name>
          <prompt>Scangen output file</prompt>
          <type>
             <datatype>
                <class>ScnagenReport</class>
                 <superclass>AbstractText</superclass>
              </datatype>
          </type>
          <filenames>
            <code proglang="perl">"result*"</code>
            <code proglang="python">"result*"</code>
            <code proglang="python">"seqs*"</code>
            <code proglang="python">"hist*"</code>
          </filenames>
        </parameter> 
     
	</parameters>
     </paragraph>
    

    
    
  </parameters>
</program>