annotate SMART/galaxy/getDistance.xml @ 16:6135c3075bc5

Deleted selected files
author m-zytnicki
date Mon, 22 Apr 2013 11:09:41 -0400
parents 440ceca58672
children 94ab73e8a190
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="GetDistance" name="get distance">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
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>
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/getDistance.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
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 $absolute $proportion
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 #if $OptionColinearOrAntiSens.OptionCA == "Colinear":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 -c
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 -a
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 #if $OptionMinDistance.MinD == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 -m $OptionMinDistance.minDistance
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 #if $OptionMaxDistance.MaxD == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 -M $OptionMaxDistance.maxDistance
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51 $fivePrime $threePrime $spearMan
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 #if $OptionBuckets.OBuckets == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 -u $OptionBuckets.buckets
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 #if $OptionMinXaxis.MinX == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 -x $OptionMinXaxis.minXaxis
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 #if $OptionMaxXaxis.MaxX == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 -X $OptionMaxXaxis.maxXaxis
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65 #if $OptionTitle.OTitle == "Yes":
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 -t $OptionTitle.title
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
67 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69 -o $outputFilePng
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
70 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
71
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
72 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
73 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
74 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
76 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
77 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
78 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
79 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
80 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
81 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
82 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
83 <param name="inputFileName1" format="bed" 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="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
86 <param name="inputFileName1" format="gff" 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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
89 <param name="inputFileName1" format="gff2" 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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
92 <param name="inputFileName1" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
95 <param name="inputFileName1" format="sam" 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 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
98 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
99 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
100 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
101
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
102 <conditional name="formatType2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
103 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
104 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
105 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
106 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
107 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
108 <option value="sam">sam</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
109 <option value="gtf">gtf</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
110 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
111 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
112 <param name="inputFileName2" format="bed" 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="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
115 <param name="inputFileName2" format="gff" 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="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
118 <param name="inputFileName2" format="gff2" 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="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
121 <param name="inputFileName2" format="gff3" 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="sam">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
124 <param name="inputFileName2" format="sam" 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 <when value="gtf">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
127 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
128 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
129 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
130
769e306b7933 Change the repository level.
yufei-luo
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."/>
769e306b7933 Change the repository level.
yufei-luo
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."/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
133
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
134 <conditional name="OptionColinearOrAntiSens">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
135 <param name="OptionCA" type="select" label="Provide distribution of distances between collinear/antisense pairs of features">
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
136 <option value="Colinear">Collinear</option>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
137 <option value="AntiSens">AntiSens</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
138 <option value="NONE" selected="true">NONE</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
139 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
140 <when value="Colinear">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
141 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
142 <when value="AntiSens">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
143 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
144 <when value="NONE">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
145 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
146 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
147
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
148 <conditional name="OptionMinDistance">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
149 <param name="MinD" type="select" label="Minimum distance between two features">
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
150 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
151 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
152 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
153 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
154 <param name="minDistance" type="integer" value="1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
155 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
156 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
157 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
158 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
159
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
160 <conditional name="OptionMaxDistance">
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
161 <param name="MaxD" type="select" label="Maximum distance between two features">
6
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="maxDistance" type="integer" value="1000"/>
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 <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"/>
769e306b7933 Change the repository level.
yufei-luo
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"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
174 <param name="spearMan" type="boolean" truevalue="-r" falsevalue="" checked="false" label="spearman option" help="Compute Spearman rho."/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
175
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
176
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
177 <conditional name="OptionBuckets">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
178 <param name="OBuckets" type="select" label="Plots histogram instead of line plot with given interval size.">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
179 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
180 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
181 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
182 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
183 <param name="buckets" type="integer" value="1" label="Interval size"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
184 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
185 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
186 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
187 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
188
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
189 <conditional name="OptionMinXaxis">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
190 <param name="MinX" type="select" label="Minimum value on the x-axis to plot.">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
191 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
192 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
193 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
194 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
195 <param name="minXaxis" type="integer" value="1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
196 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
197 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
198 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
199 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
200
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
201 <conditional name="OptionMaxXaxis">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
202 <param name="MaxX" type="select" label="Maximum value on the x-axis to plot.">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
203 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
204 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
205 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
206 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
207 <param name="maxXaxis" type="integer" value="1"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
208 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
209 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
210 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
211 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
212
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
213 <conditional name="OptionTitle">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
214 <param name="OTitle" type="select" label="Title for the graph.">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
215 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
216 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
217 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
218 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
219 <param name="title" type="text" value=""/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
220 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
221 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
222 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
223 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
224
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
225 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
226
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
227
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
228 <outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
229 <data name="outputFilePng" format="png"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
230 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
231
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
232 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
234
440ceca58672 Uploaded
m-zytnicki
parents: 6
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).
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
236
440ceca58672 Uploaded
m-zytnicki
parents: 6
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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
238
440ceca58672 Uploaded
m-zytnicki
parents: 6
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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
240
440ceca58672 Uploaded
m-zytnicki
parents: 6
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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
242 </help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
243
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
244 </tool>