annotate loadandplot.xml @ 77:7bd04a4f29df draft

Deleted selected files
author fabio
date Tue, 20 Jun 2017 12:57:30 -0400
parents 7dcc25a1a062
children dc2707da8ba4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
58
7a806a3aeda1 Uploaded 20170608
fabio
parents: 56
diff changeset
1 <tool id="iwtomics_loadandplot" name="IWTomics Load" version="@VERSION@.0">
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
2 <description>Smooth and Plot</description>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
3 <macros>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
4 <import>macros.xml</import>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
5 </macros>
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
6 <!--<expand macro="requirements" />-->
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
7
74
2bb6b44093ba Uploaded 20170619
fabio
parents: 72
diff changeset
8 <command detect_errors="exit_code">
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
9 <![CDATA[
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
10 Rscript '$__tool_directory__/loadandplot.R' outrdata='${outrdata}' outregions='${outregions}' outfeatures='${outfeatures}' outpdf='${outpdf}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
11
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
12 #set region_paths = '|'.join( [ str( $r ) for $r in $regions ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
13 regionspaths='${region_paths}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
14 #set region_galaxyids = ','.join( [ str( $r.hid ) for $r in $regions ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
15 regionsgalaxyids='c(${region_galaxyids})'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
16 #set region_names = '|'.join( [ str( $r.name ) for $r in $regions ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
17 regionsfilenames='${region_names}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
18 #set region_header = $regionsheadersection.regionsheader
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
19 #if $region_header != "":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
20 regionsheaderfile='${region_header}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
21 #end if
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
22
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
23 #set feature_paths = '|'.join( [ str( $f ) for $f in $features ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
24 featurespaths='${feature_paths}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
25 #set feature_galaxyids = ','.join( [ str( $f.hid ) for $f in $features ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
26 featuresgalaxyids='c(${feature_galaxyids})'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
27 #set feature_names = '|'.join( [ str( $f.name ) for $f in $features ] )
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
28 featuresfilenames='${feature_names}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
29 #set feature_header = $featuresheadersection.featuresheader
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
30 #if $feature_header != "":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
31 featuresheaderfile='${feature_header}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
32 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
33
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
34 smoothing="'${conditionaltype.smoothing}'"
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
35 start.are.0based='${zerobased}'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
36 #if $conditionaltype.smoothing == 'no':
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
37 alignment="'${conditionaltype.alignment}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
38 #elif $conditionaltype.smoothing == 'locpoly':
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
39 bandwidth='${conditionaltype.locpolybandwidth}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
40 degree='${conditionaltype.locpolydegree}'
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
41 alignment="'${conditionaltype.conditionalscale.alignment}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
42 #elif $conditionaltype.smoothing == 'kernel':
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
43 bandwidth='${conditionaltype.kernelbandwidth}'
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
44 alignment="'${conditionaltype.conditionalscale.alignment}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
45 #elif $conditionaltype.smoothing == 'splines':
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
46 degree='${conditionaltype.splinesdegree}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
47 dist_knots='${conditionaltype.splinesdistknots}'
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
48 alignment="'${conditionaltype.conditionalscale.alignment}'"
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
49 #end if
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
50
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
51 #if $conditionaltype.smoothing != 'no':
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
52 #if $conditionaltype.conditionalscale.alignment == 'scale':
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
53 scale='${conditionaltype.conditionalscale.scalegrid}'
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
54 fill_gaps='TRUE'
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
55 #else
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
56 fill_gaps='${conditionaltype.conditionalscale.fillgaps}'
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
57 #end if
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
58 #end if
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
59
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
60 average='${plotres.average}'
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
61 size='${plotres.size}'
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
62 plottype="'${plotres.conditionalplottype.plottype}'"
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
63 #if $plotres.conditionalplottype.plottype == 'boxplot':
72
a3bfaf944f73 Uploaded 20170614
fabio
parents: 70
diff changeset
64 #set probs = ','.join( [ str( $p.prob ) for $p in $plotres.conditionalplottype.probabilitiessection.probabilities ] )
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
65 #if $probs != "":
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
66 probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2},${probs})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
67 #else:
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
68 probs='c(${plotres.conditionalplottype.probabilitiessection.prob0},${plotres.conditionalplottype.probabilitiessection.prob1},${plotres.conditionalplottype.probabilitiessection.prob2})'
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
69 #end if
74
2bb6b44093ba Uploaded 20170619
fabio
parents: 72
diff changeset
70 #end if
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
71 ]]>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
72 </command>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
73
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
74 <inputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
75 <!-- regions -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
76 <param format="tabular" name="regions" type="data" label="Select region files" multiple="true" help="" />
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
77 <section name="regionsheadersection" title="Insert header file for regions (optional)" expanded="false" help="Tabular file. Column 1: names of the region files; Column 2: unique identifiers of the region datasets (spaces and special characters are not allowed); Column 3: name of the region datasets to be used in the output.">
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
78 <param format="tabular" name="regionsheader" type="data" label="Select header file" optional="true" />
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
79 </section>
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
80
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
81 <!-- features -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
82 <param format="tabular" name="features" type="data" label="Select feature files" multiple="true" help="" />
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
83 <section name="featuresheadersection" title="Insert header file for features (optional)" expanded="false" help="Tabular file. Column 1: names of the feature files; Column 2: unique identifiers of the features (spaces and special characters are not allowed); Column 3: name of the features to be used in the output.">
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
84 <param format="tabular" name="featuresheader" type="data" label="Select header file" optional="true" />
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
85 </section>
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
86
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
87 <!-- zero-base one-base -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
88 <param name="zerobased" type="select" label="Start positions are:" multiple="false" help="">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
89 <option value="TRUE">0-based</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
90 <option value="FALSE">1-based</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
91 </param>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
92
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
93 <!-- conditional smoothing -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
94 <conditional name="conditionaltype">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
95 <!-- smoothing -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
96 <param name="smoothing" type="select" label="Smoothing" help="Type of smoothing to be applied to the feature curves.">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
97 <option value="no">No</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
98 <option value="locpoly">Local Polynomials</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
99 <option value="kernel">Gaussian Kernel</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
100 <option value="splines">B-Splines</option>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
101 </param>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
102 <!-- conditional choice: smoothing=no -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
103 <when value="no">
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
104 <expand macro="alignment" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
105 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
106 <!-- conditional choice: smoothing=locpoly -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
107 <when value="locpoly">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
108 <param name="locpolybandwidth" type="integer" value="5" min="2" label="Bandwidth for smoothing" help="" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
109 <param name="locpolydegree" type="integer" value="3" min="0" label="Degree of local polynomial" help="" />
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
110 <!-- conditional region alignment -->
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
111 <expand macro="alignment-s" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
112 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
113 <!-- conditional choice: smoothing=kernel -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
114 <when value="kernel">
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
115 <param name="kernelbandwidth" type="integer" value="5" min="2" label="Bandwidth for smoothing" help="" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
116 <!-- conditional region alignment -->
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
117 <expand macro="alignment-s" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
118 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
119 <!-- conditional choice: smoothing=splines -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
120 <when value="splines">
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
121 <param name="splinesdegree" type="integer" value="3" min="0" label="Degree of B-splines" help="" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
122 <param name="splinesdistknots" type="integer" value="10" min="2" label="Distance between nodes (approximate)" help="" />
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
123 <!-- conditional region alignment -->
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
124 <expand macro="alignment-s" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
125 </when>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
126 </conditional>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
127
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
128 <!-- plot IWTomics results -->
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
129 <section name="plotres" title="Plot data" expanded="True">
76
7dcc25a1a062 Uploaded 20170620
fabio
parents: 74
diff changeset
130 <expand macro="plot-params" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
131 </section>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
132 </inputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
133
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
134 <outputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
135 <data format="rdata" name="outrdata" label="${tool.name} on ${on_string}: IWTomicsData Object" from_work_dir="iwtomics.loadandplot.RData" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
136 <data format="tabular" name="outregions" label="${tool.name} on ${on_string}: Region Dataset IDs" from_work_dir="iwtomics.loadandplot.regions.txt" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
137 <data format="tabular" name="outfeatures" label="${tool.name} on ${on_string}: Feature IDs" from_work_dir="iwtomics.loadandplot.features.txt" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
138 <data format="pdf" name="outpdf" label="${tool.name} on ${on_string}: Plotted Data" from_work_dir="iwtomics.loadandplot.pdf" />
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
139 </outputs>
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
140
56
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
141 <tests>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
142 <test>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
143 <param name="regions" value="input/Controls_regions.bed,input/Elements1_regions.bed,input/Elements2_regions.bed,input/Elements3_regions.bed" ftype="bed" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
144 <param name="regionsheader" value="input/regions.header.txt" ftype="tabular" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
145 <param name="features" value="input/Feature1.bed,input/Feature2.bed" ftype="bed" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
146 <param name="featuresheader" value="input/features.header.bed.txt" ftype="tabular" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
147 <param name="zerobased" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
148 <param name="smoothing" value="kernel" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
149 <param name="alignment" value="center" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
150 <param name="kernelbandwidth" value="5" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
151 <param name="fillgaps" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
152 <param name="average" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
153 <param name="size" value="TRUE" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
154 <param name="plottype" value="boxplot" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
155 <param name="prob0" value="0.25" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
156 <param name="prob1" value="0.5" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
157 <param name="prob2" value="0.75" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
158 <output name="outrdata" file="output_loadandplot/iwtomics.loadandplot.RData" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
159 <output name="outregions" file="output_loadandplot/iwtomics.loadandplot.regions.txt" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
160 <output name="outfeatures" file="output_loadandplot/iwtomics.loadandplot.features.txt" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
161 <output name="outpdf" file="output_loadandplot/iwtomics.loadandplot.pdf" compare="sim_size" />
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
162 </test>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
163 </tests>
9ceb3ffcd817 Uploaded 20170608
fabio
parents: 54
diff changeset
164
68
971bb414cc4f Uploaded 20170609
fabio
parents: 66
diff changeset
165 <help><![CDATA[
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
166 This tool imports a collection of genomic region datasets, and associates to each region
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
167 multiple genomic feature measurements. It allows to align the regions in multiple ways
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
168 (center, left, right or scale alignment), to smooth the feature curves (possibly filling gaps in the
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
169 measurements) and to create a graphical representation of the feature measurements in each
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
170 region datasets (aligned curves or pointwise quantile curves).
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
171
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
172 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
173
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
174 **Region datasets**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
175
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
176 Each region dataset can be provided as a BED or Tabular file with tab delimited columns chr
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
177 start end (extra columns present in the input file are ignored). Regions can be of different
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
178 length::
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
179
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
180 chr2 49960150 50060150
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
181 chr2 55912445 56012445
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
182 ...
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
183
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
184 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
185
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
186 **Feature measurements**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
187
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
188 Feature measurements corresponding to all the regions can be provided as a BED or Tabular
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
189 file with tab delimited columns chr start end value::
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
190
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
191 chr2 49960150 49962150 0.9426
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
192 chr2 49962150 49964150 0.7816
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
193 ...
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
194
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
195 Each feature must be measured in windows of a fixed size inside all the regions (missing
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
196 values must be indicated as NA). Another way to import feature measurements is from a
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
197 Tabular file with the first three columns chr start end corresponding to the different genomic
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
198 regions, followed on the same row by all the measurements in fixed-size windows::
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
199
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
200 chr2 49960150 50060150 0.9426 0.7816 0.8921 ... ... 1.2063
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
201 chr2 55912445 56012445 0.8719 0.9975 1.1619 ... ... 0.9601
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
202 ...
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
203
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
204 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
205
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
206 **Output**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
207
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
208 The tool returns:
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
209
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
210 1. RData with the IWTomicsData object, that stores the aligned genomic region datasets, and their associated feature measurements;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
211 2. Region dataset identifiers;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
212 3. Feature identifiers;
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
213 4. PDF file with the plotted data.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
214
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
215 1-3 can be used as input of the tool *IWTomics Test and Plot*
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
216
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
217 -----
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
218
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
219 .. class:: infomark
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
220
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
221 **Notes**
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
222
54
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
223 This Galaxy tool has been developed by Fabio Cumbo (Third University of Rome, Italy - fabio.cumbo@iasi.cnr.it) and Marzia A. Cremona (The Pennsylvania State University, USA - mac78@psu.edu).
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
224
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
225 It implements a simplified version of the methods *smooth* and *plot* for *IWTomicsData* objects.
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
226 The complete version can be found in the *R/Bioconductor* package *IWTomics* (see vignette_).
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
227
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
228 .. _vignette: https://bioconductor.org/packages/release/bioc/vignettes/IWTomics/inst/doc/IWTomics.pdf
54
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
229
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
230 Example data can be found at:
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
231
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
232 1. Simulated_data_
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
233 2. ETn_data_
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
234
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
235 .. _Simulated_data: https://usegalaxy.org/u/fabio-cumbo/h/iwtomics-example
d49031ef33d5 Uploaded 20170531
fabio
parents: 52
diff changeset
236 .. _ETn_data: https://usegalaxy.org/u/fabio-cumbo/h/iwtomics-etn-example
68
971bb414cc4f Uploaded 20170609
fabio
parents: 66
diff changeset
237 ]]></help>
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
238
70
39e7294c66e1 Uploaded 20170614
fabio
parents: 68
diff changeset
239 <expand macro="citations" />
18
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
240
565118df598a Uploaded 20170531
fabio
parents:
diff changeset
241 </tool>