6
|
1 <tool id="MergingDataClusterize" name="Clusterize">
|
15
|
2 <description>Clusterize features when their genomic intervals overlap.</description>
|
6
|
3 <command interpreter="python">
|
|
4 ../Java/Python/clusterize.py -i $formatType.inputFileName
|
|
5 #if $formatType.FormatInputFileName == 'bed':
|
|
6 -f bed
|
|
7 #elif $formatType.FormatInputFileName == 'gff':
|
|
8 -f gff
|
|
9 #elif $formatType.FormatInputFileName == 'gff2':
|
|
10 -f gff2
|
|
11 #elif $formatType.FormatInputFileName == 'gff3':
|
|
12 -f gff3
|
|
13 #elif $formatType.FormatInputFileName == 'sam':
|
|
14 -f sam
|
|
15 #end if
|
|
16 -o $outputFileGff
|
|
17 $colinear
|
|
18 $normalize
|
|
19 -d $distance
|
|
20 $log $outputFileLog
|
|
21 </command>
|
|
22
|
|
23 <inputs>
|
|
24 <conditional name="formatType">
|
|
25 <param name="FormatInputFileName" type="select" label="Input File Format">
|
|
26 <option value="bed">bed</option>
|
|
27 <option value="gff">gff</option>
|
|
28 <option value="gff2">gff2</option>
|
|
29 <option value="gff3">gff3</option>
|
|
30 <option value="sam">sam</option>
|
|
31 </param>
|
|
32 <when value="bed">
|
|
33 <param name="inputFileName" format="bed" type="data" label="Input File"/>
|
|
34 </when>
|
|
35 <when value="gff">
|
|
36 <param name="inputFileName" format="gff" type="data" label="Input File"/>
|
|
37 </when>
|
|
38 <when value="gff2">
|
|
39 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
|
|
40 </when>
|
|
41 <when value="gff3">
|
|
42 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
|
|
43 </when>
|
|
44 <when value="sam">
|
|
45 <param name="inputFileName" format="sam" type="data" label="Input File"/>
|
|
46 </when>
|
|
47 </conditional>
|
|
48
|
15
|
49 <param name="colinear" type="boolean" truevalue="-c" falsevalue="" checked="false" label="Only merge collinear data"/>
|
|
50 <param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Normalize data." help="This only works if the tag nbOccurrences is set."/>
|
|
51 <param name="distance" type="integer" value="0" label="Merge features if their relative distance is withing N nt"/>
|
6
|
52 </inputs>
|
|
53
|
|
54 <outputs>
|
|
55 <data name="outputFileGff" format="gff3" label="[clusterize]output file"/>
|
|
56 </outputs>
|
|
57 </tool>
|