annotate iwtomics-1.0/loadandplot.xml @ 82:8e397b62df4c draft

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