annotate SMART/galaxy/GetDifferentialExpression.xml @ 6:769e306b7933

Change the repository level.
author yufei-luo
date Fri, 18 Jan 2013 04:54:14 -0500
parents
children 440ceca58672
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="GetDifferentialExpression" name="get differential expression">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
2 <description>Get the differential expression between 2 conditions using Fisher's exact test, on regions defined by a third file.</description>
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/GetDifferentialExpression.py -i $formatType.inputFileName1
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 #if $formatType.FormatInputFileName1 == '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.FormatInputFileName1 == '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.FormatInputFileName1 == '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.FormatInputFileName1 == '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.FormatInputFileName1 == '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.FormatInputFileName1 == '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
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 -j $formatType2.inputFileName2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 #if $formatType2.FormatInputFileName2 == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 -g bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22 #elif $formatType2.FormatInputFileName2 == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 -g gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24 #elif $formatType2.FormatInputFileName2 == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 -g gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 #elif $formatType2.FormatInputFileName2 == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 -g gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 #elif $formatType2.FormatInputFileName2 == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 -g sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 #elif $formatType2.FormatInputFileName2 == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 -g gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 -k $formatTypeRef.inputFileNameRef
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 #if $formatTypeRef.FormatInputFileNameRef == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 -l bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 #elif $formatTypeRef.FormatInputFileNameRef == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 -l gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 #elif $formatTypeRef.FormatInputFileNameRef == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 -l gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 #elif $formatTypeRef.FormatInputFileNameRef == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 -l gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 #elif $formatTypeRef.FormatInputFileNameRef == 'sam':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 -l sam
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 #elif $formatTypeRef.FormatInputFileNameRef == 'gtf':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46 -l gtf
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 -o $outputFileGff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 $simple
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 $adjusted
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 #if $optionSimplePara.simplePara == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 -S $optionSimplePara.paraValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 #if $optionFixedSizeFactor.FSF == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 -x $optionFixedSizeFactor.FSFValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 #if $optionFDR.FDR == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 -d $optionFDR.FDRValue
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 $plot $outputFilePNG
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
84 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
85 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
87 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
88 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
90 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
91 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
93 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
94 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
96 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
97 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
113 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
114 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
116 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
117 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
119 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
120 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
122 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
123 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
125 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
126 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
128 <conditional name="formatTypeRef">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129 <param name="FormatInputFileNameRef" type="select" label="Input Ref File Format ">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
130 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
131 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
132 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
135 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
136 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
138 <param name="inputFileNameRef" format="bed" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
139 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
140 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
141 <param name="inputFileNameRef" format="gff" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
142 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
143 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
144 <param name="inputFileNameRef" format="gff2" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
145 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
146 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
147 <param name="inputFileNameRef" format="gff3" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
148 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
149 <when value="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
150 <param name="inputFileNameRef" format="sam" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
151 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
152 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
153 <param name="inputFileNameRef" format="gtf" type="data" label="Input Ref File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
154 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
155 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
156
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
157 <param name="simple" type="boolean" truevalue="-s" falsevalue="" checked="false" label="normalize using the number of reads in each condition"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
158 <param name="adjusted" type="boolean" truevalue="-a" falsevalue="" checked="false" label="normalize using the number of reads of 'mean' regions"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
159
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
160 <conditional name="optionSimplePara">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
161 <param name="simplePara" type="select" label="provide the number of reads" >
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
162 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
163 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
164 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
165 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
166 <param name="paraValue" type="text" value="None" label="provide the number of reads" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
167 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
168 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
169 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
170 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
171
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
172 <conditional name="optionFixedSizeFactor">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
173 <param name="FSF" type="select" label="give the magnification factor for the normalization using fixed size sliding windows in reference regions (leave empty for no such normalization)">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
174 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
175 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
176 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
177 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
178 <param name="FSFValue" type="integer" value="0" />
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
179 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
180 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
181 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
182 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
183
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
184 <conditional name="optionFDR">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
185 <param name="FDR" type="select" label="use FDR">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
186 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
187 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
188 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
189 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
190 <param name="FDRValue" type="float" value="0.0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
191 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
192 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
193 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
194 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
195
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
196 <param name="plot" type="boolean" truevalue="-p" falsevalue="" checked="false" label="plot option" help="plot cloud plot"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
197
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
198 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
199
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
200 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
201 <data name="outputFileGff" format="gff3" label="[GetDifferentialExpression]out file"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
202 <data name="outputFilePNG" format="PNG" label="[GetDifferentialExpression]PNG file">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
203 <filter>plot</filter>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
204 </data>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
205 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
206
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
207 <help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
208 example: python GetDifferentialExpression.py -i input1 -f gff3 -j input2 -g gff3 -k ref -l gff3 -o output.gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
209 </help>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
210 </tool>