annotate SMART/galaxy/getDistance.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="GetDistance" name="get distance">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Give the distances between every data from the first input set with respect to the data from the second input set.</description>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
3 <command interpreter="python">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
4 ../Java/Python/getDistance.py -i $formatType.inputFileName1
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
5 #if $formatType.FormatInputFileName1 == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
6 -f bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
7 #elif $formatType.FormatInputFileName1 == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
8 -f gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName1 == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName1 == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
12 -f gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
13 #elif $formatType.FormatInputFileName1 == 'sam':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
14 -f sam
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
15 #elif $formatType.FormatInputFileName1 == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
16 -f gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
17 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
18
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
19 -j $formatType2.inputFileName2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
20 #if $formatType2.FormatInputFileName2 == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
21 -g bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
22 #elif $formatType2.FormatInputFileName2 == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
23 -g gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
24 #elif $formatType2.FormatInputFileName2 == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
25 -g gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
26 #elif $formatType2.FormatInputFileName2 == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
27 -g gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
28 #elif $formatType2.FormatInputFileName2 == 'sam':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
29 -g sam
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
30 #elif $formatType2.FormatInputFileName2 == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
31 -g gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
32 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
33
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
34
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
35 $absolute $proportion
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
37 #if $OptionColinearOrAntiSens.OptionCA == "Colinear":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
38 -c
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
39 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
40 -a
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
41 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
42
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
43 #if $OptionMinDistance.MinD == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
44 -m $OptionMinDistance.minDistance
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
45 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
46
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
47 #if $OptionMaxDistance.MaxD == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
48 -M $OptionMaxDistance.maxDistance
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
49 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
50
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
51 $fivePrime $threePrime $spearMan
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
52
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
53 #if $OptionBuckets.OBuckets == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
54 -u $OptionBuckets.buckets
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
55 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
56
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
57 #if $OptionMinXaxis.MinX == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
58 -x $OptionMinXaxis.minXaxis
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
59 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
60
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
61 #if $OptionMaxXaxis.MaxX == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
62 -X $OptionMaxXaxis.maxXaxis
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
63 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
64
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
65 #if $OptionTitle.OTitle == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
66 -t $OptionTitle.title
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
67 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
68
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
69 -o $outputFilePng
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
70 </command>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
71
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
72 <inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
73 <conditional name="formatType">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
74 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
75 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
76 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
77 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
78 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
79 <option value="sam">sam</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
80 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
81 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
82 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
83 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
84 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
85 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
86 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
87 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
88 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
89 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
90 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
91 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
92 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
93 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
94 <when value="sam">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
95 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
96 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
97 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
98 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
99 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
100 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
101
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
102 <conditional name="formatType2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
103 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
104 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
105 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
106 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
107 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
108 <option value="sam">sam</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
109 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
110 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
111 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
112 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
113 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
114 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
115 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
116 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
117 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
118 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
119 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
120 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
121 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
122 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
123 <when value="sam">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
124 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
125 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
126 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
127 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
128 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
129 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
130
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
131 <param name="absolute" type="boolean" truevalue="-b" falsevalue="" checked="false" label="absolute value option" help="This option gives the absolute value of the distance."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
132 <param name="proportion" type="boolean" truevalue="-p" falsevalue="" checked="false" label="proportion option" help="This option gives the proportion on the y-axis instead of the number of distances."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
133
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
134 <conditional name="OptionColinearOrAntiSens">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
135 <param name="OptionCA" type="select" label="Provide distribution of distances between collinear/antisense pairs of features">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
136 <option value="Colinear">Collinear</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
137 <option value="AntiSens">AntiSens</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
138 <option value="NONE" selected="true">NONE</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
139 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
140 <when value="Colinear">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
141 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
142 <when value="AntiSens">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
143 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
144 <when value="NONE">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
145 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
146 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
147
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
148 <conditional name="OptionMinDistance">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
149 <param name="MinD" type="select" label="Minimum distance between two features">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
150 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
151 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
152 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
153 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
154 <param name="minDistance" type="integer" value="1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
155 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
156 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
157 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
158 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
159
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
160 <conditional name="OptionMaxDistance">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
161 <param name="MaxD" type="select" label="Maximum distance between two features">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
162 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
163 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
164 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
165 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
166 <param name="maxDistance" type="integer" value="1000"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
167 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
168 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
169 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
170 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
171
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
172 <param name="fivePrime" type="boolean" truevalue="-5" falsevalue="" checked="false" label="five prime option" help="Consider the elements from input file 1 which are upstream of elements of input file 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
173 <param name="threePrime" type="boolean" truevalue="-3" falsevalue="" checked="false" label="three prime option" help="Consider the elements from input file1 which are downstream of elements of input file 2"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
174 <param name="spearMan" type="boolean" truevalue="-r" falsevalue="" checked="false" label="spearman option" help="Compute Spearman rho."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
175
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
176
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
177 <conditional name="OptionBuckets">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
178 <param name="OBuckets" type="select" label="Plots histogram instead of line plot with given interval size.">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
179 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
180 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
181 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
182 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
183 <param name="buckets" type="integer" value="1" label="Interval size"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
184 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
185 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
186 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
187 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
188
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
189 <conditional name="OptionMinXaxis">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
190 <param name="MinX" type="select" label="Minimum value on the x-axis to plot.">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
191 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
192 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
193 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
194 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
195 <param name="minXaxis" type="integer" value="1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
196 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
197 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
198 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
199 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
200
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
201 <conditional name="OptionMaxXaxis">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
202 <param name="MaxX" type="select" label="Maximum value on the x-axis to plot.">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
203 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
204 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
205 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
206 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
207 <param name="maxXaxis" type="integer" value="1"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
208 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
209 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
210 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
211 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
212
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
213 <conditional name="OptionTitle">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
214 <param name="OTitle" type="select" label="Title for the graph.">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
215 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
216 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
217 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
218 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
219 <param name="title" type="text" value=""/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
220 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
221 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
222 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
223 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
224
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
225 </inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
226
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
227
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
228 <outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
229 <data name="outputFilePng" format="png"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
230 </outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
231
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
232 <help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
233 Give the distances between every data from the first input set and the data from the second input set. It outputs the size distribution. Each point (*x*, *y*) tells you that there exists *y* pairs of elements which are separated by *x* nucleotides.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
234
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
235 The general algorithm is the following. For each element of the first input set, it finds the closest element of the second set and computes the distance between the two elements. The distance is zero if the two elements overlap. This distance may not exist if the element of the first input set is alone on its chromosome (or contig).
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
236
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
237 Actually, considering an element from the first input set, the algorithm will look at the vicinity of this element (1kb by default). You can increase the size of the vicinity using the appropriate option.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
238
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
239 As in *compare overlapping*, you can shrink or extend your sets of genomic coordinates, so that you can get the distance between starts of reads and starts or genes, for instance. You can also compute the distance from elements which are on the same strand only (which is not the case by default) or on the opposite strand only.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
240
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
241 You have several options for the output plot. You can first choose the region on the *x*-axis you want to plot. You can also display histograms instead of line plot. In this case, the data are summed into buckets, whose sizes are given as an option. For instance, a bucket of size *s* at the point (*x*, *y*) means that there are *y* pairs of elements which are separated by *x* to *x + s* nucleotides.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
242 </help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
243
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
244 </tool>