annotate SMART/galaxy/clusterizeBySlidingWindows.xml @ 32:3441fe98a2ba

Deleted selected files
author m-zytnicki
date Tue, 30 Apr 2013 14:34:10 -0400
parents 0ab839023fe4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
1 <tool id="clusterizeBySlidingWindows" name="clusterize By SlidingWindows">
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
2 <description>Produces a GFF3 file that clusters a list of transcripts using a sliding window. Cluster the data into regions (defined by size and overlap with next region) and keep only highest peaks.</description>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
3 <command interpreter="python">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
4 ../Java/Python/clusterizeBySlidingWindows.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 #if $formatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #elif $formatType.FormatInputFileName == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -f sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 #elif $formatType.FormatInputFileName == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -f gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -s $size
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -e $overlap
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 -o $outputFileGff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 $normalize
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 $strands
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 #if $OptionTag.tag == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 -g $OptionTag.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #if $OptionsOperation.operation == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -r $OptionsOperation.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 #if $OptionWriteTag.writeTag == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 -w $OptionWriteTag.value
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 $strand
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 $plot $plotPng
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 $excel $excelOutput
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <param name="inputFileName" format="sam" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <param name="size" type="text" value="50000" label="Size option" help="Size of the regions."/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <param name="overlap" type="text" value="50" label="Overlap option" help="Overlap between two consecutive regions."/>
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
76 <param name="normalize" type="boolean" truevalue="-m" falsevalue="" checked="false" label="Normalize option for only GFF3 file format" help="This option normalizes (Warning!! Only for GFF3 file!)"/>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
77 <param name="strands" type="boolean" truevalue="-2" falsevalue="" checked="false" label="strands option" help="Consider the two strands separately."/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <conditional name="OptionTag">
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
80 <param name="tag" type="select" label="use a given tag as input (instead of summing number of features)">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 <when value="Yes">
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
85 <param name="value" type="text" value="None" label="tag option" help="write a tag name you want to observe."/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <conditional name="OptionsOperation">
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
93 <param name="operation" type="select" label="combine tag value with given operation [choice (sum, avg, med, min, max)]">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 <when value="Yes">
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
98 <param name="value" type="text" value="None" label="operation option" help="You can ONLY choose one of fowlling operation : sum, avg, med, min, max."/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <conditional name="OptionWriteTag">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <param name="writeTag" type="select" label="write a new tag in output file">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <param name="value" type="text" value="nbElements" label="write tag option" help="print the result in the given tag (default usually is 'nbElements')"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
117 <param name="strand" type="boolean" truevalue="-2" falsevalue="" checked="false" label="strand option" help="This option considers the two strands separately."/>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
118 <param name="plot" type="boolean" truevalue="-p" falsevalue="" checked="false" label="plot option" help="This option creates a png file."/>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
119 <param name="excel" type="boolean" truevalue="-x" falsevalue="" checked="false" label="excel option" help="This option creates a csv file."/>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
120
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 <data name="outputFileGff" format="gff3"/>
31
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
125 <data name="excelOutput" format="csv">
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
126 <filter>excel</filter>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
127 </data>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
128 <data name="plotPng" format="png">
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
129 <filter>plot</filter>
0ab839023fe4 Uploaded
m-zytnicki
parents: 18
diff changeset
130 </data>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
131 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
132 </tool>