annotate SMART/galaxy/getDistance.xml @ 40:cd852f3e04ab

Uploaded
author m-zytnicki
date Thu, 30 May 2013 03:03:34 -0400
parents 2c0c0a89fad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="GetDistance" name="get distance">
2c0c0a89fad7 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>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/getDistance.py -i $formatType.inputFileName1
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName1 == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName1 == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName1 == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName1 == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName1 == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 #elif $formatType.FormatInputFileName1 == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 -j $formatType2.inputFileName2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 #if $formatType2.FormatInputFileName2 == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 -g bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 #elif $formatType2.FormatInputFileName2 == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 -g gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 #elif $formatType2.FormatInputFileName2 == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 -g gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 #elif $formatType2.FormatInputFileName2 == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 -g gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 #elif $formatType2.FormatInputFileName2 == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 -g sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 #elif $formatType2.FormatInputFileName2 == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 -g gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 $absolute $proportion
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 #if $OptionColinearOrAntiSens.OptionCA == "Colinear":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 -c
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 -a
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 #if $OptionMinDistance.MinD == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 -m $OptionMinDistance.minDistance
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 #if $OptionMaxDistance.MaxD == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 -M $OptionMaxDistance.maxDistance
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 $fivePrime $threePrime $spearMan
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 #if $OptionBuckets.OBuckets == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 -u $OptionBuckets.buckets
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 #if $OptionMinXaxis.MinX == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 -x $OptionMinXaxis.minXaxis
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 #if $OptionMaxXaxis.MaxX == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 -X $OptionMaxXaxis.maxXaxis
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 #if $OptionTitle.OTitle == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 -t $OptionTitle.title
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 -o $outputFilePng
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
103 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
104
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
105 <conditional name="formatType2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
106 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
107 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
108 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
109 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
110 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
111 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
112 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
113 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
114 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
115 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
116 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
117 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
118 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
119 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
120 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
121 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
122 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
123 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
124 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
125 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
126 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
127 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
128 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
129 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
130 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
131 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
132 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
133
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
134 <param name="absolute" type="boolean" truevalue="-b" falsevalue="" checked="false" label="absolute value option" help="This option gives the absolute value of the distance."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
135 <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."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
136
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
137 <conditional name="OptionColinearOrAntiSens">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
138 <param name="OptionCA" type="select" label="Provide distribution of distances between collinear/antisense pairs of features">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
139 <option value="Colinear">Collinear</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
140 <option value="AntiSens">AntiSens</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
141 <option value="NONE" selected="true">NONE</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
142 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
143 <when value="Colinear">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
144 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
145 <when value="AntiSens">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
146 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
147 <when value="NONE">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
148 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
149 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
150
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
151 <conditional name="OptionMinDistance">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
152 <param name="MinD" type="select" label="Minimum distance between two features">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
153 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
154 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
155 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
156 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
157 <param name="minDistance" type="integer" value="1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
158 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
159 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
160 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
161 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
162
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
163 <conditional name="OptionMaxDistance">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
164 <param name="MaxD" type="select" label="Maximum distance between two features">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
165 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
166 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
167 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
168 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
169 <param name="maxDistance" type="integer" value="1000"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
170 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
171 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
172 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
173 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
174
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
175 <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"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
176 <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"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
177 <param name="spearMan" type="boolean" truevalue="-r" falsevalue="" checked="false" label="spearman option" help="Compute Spearman rho."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
178
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
179
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
180 <conditional name="OptionBuckets">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
181 <param name="OBuckets" type="select" label="Plots histogram instead of line plot with given interval size.">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
182 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
183 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
184 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
185 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
186 <param name="buckets" type="integer" value="1" label="Interval size"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
187 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
188 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
189 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
190 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
191
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
192 <conditional name="OptionMinXaxis">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
193 <param name="MinX" type="select" label="Minimum value on the x-axis to plot.">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
194 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
195 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
196 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
197 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
198 <param name="minXaxis" type="integer" value="1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
199 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
200 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
201 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
202 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
203
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
204 <conditional name="OptionMaxXaxis">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
205 <param name="MaxX" type="select" label="Maximum value on the x-axis to plot.">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
206 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
207 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
208 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
209 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
210 <param name="maxXaxis" type="integer" value="1"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
211 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
212 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
213 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
214 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
215
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
216 <conditional name="OptionTitle">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
217 <param name="OTitle" type="select" label="Title for the graph.">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
218 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
219 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
220 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
221 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
222 <param name="title" type="text" value=""/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
223 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
224 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
225 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
226 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
227
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
228 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
229
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
230
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
231 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
232 <data name="outputFilePng" format="png"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
233 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
234
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
235 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
236 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
237
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
238 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).
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
239
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
240 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
241
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
242 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
243
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
244 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
245 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
246
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
247 </tool>