annotate SMART/galaxy/getDistance.xml @ 29:c78966712a57

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