annotate computeMatrix.xml @ 0:03e5e7b2cedd draft default tip

Uploaded
author devteam
date Thu, 14 Nov 2013 15:58:04 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
1 <tool id="deeptools_computeMatrix" name="computeMatrix" version="1.0">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
2 <description>summarizes and prepares an intermediary file containing scores associated with genomic regions that can be used afterwards to plot a heatmap or a profile</description>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
3 <expand macro="requirements" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
4 <macros>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
5 <import>deepTools_macros.xml</import>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
6 </macros>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
7 <command>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
8 #import tempfile
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
9
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
10 #set $temp_input_handle = tempfile.NamedTemporaryFile()
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
11 #set $temp_input_path = $temp_input_handle.name
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
12 #silent $temp_input_handle.close()
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
13
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
14 #for $rf in $regionsFiles:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
15 cat "$rf.regionsFile" >> $temp_input_path;
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
16 #if str($rf.label.value).strip():
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
17 echo "\#$rf.label.value" >> $temp_input_path;
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
18 #else:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
19 echo "\#$rf.regionsFile.name" >> $temp_input_path;
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
20 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
21 #end for
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
22
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
23
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
24 computeMatrix
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
25
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
26 $mode.mode_select
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
27 --regionsFileName '$temp_input_path'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
28 --scoreFileName '$scoreFile'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
29 --outFileName '$outFileName'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
30
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
31 @THREADS@
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
32
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
33 #if $output.showOutputSettings == "yes"
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
34 #if $output.saveData:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
35 --outFileNameData '$outFileNameData'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
36 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
37 #if $output.saveMatrix:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
38 --outFileNameMatrix '$outFileNameMatrix'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
39 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
40
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
41 #if $output.saveSortedRegions:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
42 --outFileSortedRegions '$outFileSortedRegions'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
43 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
44 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
45
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
46 #if $mode.mode_select == "reference-point":
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
47 --referencePoint $mode.referencePoint
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
48 $mode.nanAfterEnd
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
49 --beforeRegionStartLength $mode.beforeRegionStartLength
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
50 --afterRegionStartLength $mode.afterRegionStartLength
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
51 #else
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
52 --regionBodyLength $mode.regionBodyLength
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
53 --startLabel $mode.startLabel
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
54 --endLabel $mode.endLabel
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
55 #if $mode.regionStartLength.regionStartLength_select == "yes":
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
56 --beforeRegionStartLength $mode.regionStartLength.beforeRegionStartLength
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
57 --afterRegionStartLength $mode.regionStartLength.afterRegionStartLength
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
58 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
59 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
60
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
61 #if $advancedOpt.showAdvancedOpt == "yes":
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
62 --sortRegions '$advancedOpt.sortRegions'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
63 --sortUsing '$advancedOpt.sortUsing'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
64 --averageTypeBins '$advancedOpt.averageTypeBins'
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
65 $advancedOpt.missingDataAsZero
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
66 $advancedOpt.skipZeros
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
67 --binSize $advancedOpt.binSize
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
68
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
69 #if $advancedOpt.minThreshold:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
70 --minThreshold $advancedOpt.minThreshold
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
71 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
72 #if $advancedOpt.maxThreshold:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
73 --maxThreshold $advancedOpt.maxThreshold
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
74 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
75 #if $advancedOpt.scale:
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
76 --scale $advancedOpt.scale
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
77 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
78
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
79 #end if
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
80 ; rm $temp_input_path
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
81
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
82 </command>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
83 <inputs>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
84
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
85 <repeat name="regionsFiles" title="regions to plot" min="1">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
86 <param name="regionsFile" format="bed" type="data" label="Regions to plot" help="File, in BED format, containing the regions to plot."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
87 <param name="label" type="text" size="30" optional="true" value="" label="Label" help="Label to use in the output."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
88 </repeat>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
89
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
90 <param name="scoreFile" format="bigwig" type="data" label="Score file" help="Should be a bigWig file (containing a score, usually covering the whole genome). You can generate a bigWig file either from a bedGraph or WIG file using UCSC tools or from a BAM file using the deepTool bamCoverage."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
91
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
92 <conditional name="mode" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
93 <param name="mode_select" type="select" label="computeMatrix has two main output options" help="In the scale-regions mode, all regions in the BED file are stretched or shrunk to the same length (bp) that is indicated by the user. Reference-point refers to a position within the BED regions (e.g start of region). In the reference-point mode only those genomic positions before (downstream) and/or after (upstream) the reference point will be plotted.">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
94 <option value="scale-regions" selected="true">scale-regions</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
95 <option value="reference-point">reference-point</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
96 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
97
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
98 <when value="scale-regions" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
99 <param name="regionBodyLength" type="integer" value="500" label="Distance in bp to which all regions are going to be fitted"/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
100 <param name="startLabel" type="text" value="TSS" size="10" label="Label for the region start" help ="Label shown in the plot for the start of the region. Default is TSS (transcription start site), but could be changed to anything, e.g. &quot;peak start&quot;." />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
101 <param name="endLabel" type="text" value="TES" size="10" label="Label for the region end" help="Label shown in the plot for the region end. Default is TES (transcription end site)."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
102 <conditional name="regionStartLength">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
103 <param name="regionStartLength_select" type="select" label="Set distance up- and downstream of the given regions">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
104 <option value="no" selected="true">no</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
105 <option value="yes">yes</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
106 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
107 <when value="no" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
108 <when value="yes">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
109 <param name="beforeRegionStartLength" type="integer" value="1000" min="1" optional="true" label="Distance upstream of the start site of the regions defined in the region file" help="If the regions are genes, this would be the distance upstream of the transcription start site."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
110
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
111 <param name="afterRegionStartLength" type="integer" value="1000" min="1" optional="true" label="Distance downstream of the end site of the given regions" help="If the regions are genes, this would be the distance downstream of the transcription end site."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
112 </when>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
113 </conditional>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
114 </when>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
115
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
116 <when value="reference-point">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
117 <param name="referencePoint" type="select" label="The reference point for the plotting">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
118 <option value="TSS" selected="true">region start (TSS)</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
119 <option value="TES" selected="true">region end (TES)</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
120 <option value="center" selected="true">center of the region</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
121 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
122 <param name="nanAfterEnd" type="boolean" truevalue="--nanAfterEnd" falsevalue="" label="Discard any values after the region end" help="This is useful to visualize the region end when not using the scale-regions mode and when the reference-point is set to the TSS."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
123 <param name="beforeRegionStartLength" type="integer" value="1000" min="1" label="Distance upstream of the start site of the regions defined in the region file" help="If the regions are genes, this would be the distance upstream of the transcription start site."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
124
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
125 <param name="afterRegionStartLength" type="integer" value="1000" min="1" label="Distance downstream of the end site of the given regions" help="If the regions are genes, this would be the distance downstream of the transcription end site."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
126 </when>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
127 </conditional>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
128
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
129 <conditional name="output" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
130 <param name="showOutputSettings" type="select" label="Show additional output options" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
131 <option value="no" selected="true">no</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
132 <option value="yes">yes</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
133 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
134 <when value="no" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
135 <when value="yes">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
136 <param name="saveData" type="boolean" label="Save the averages per matrix column into a text file" help="This corresponds to the underlying data used to plot a summary profile."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
137 <param name="saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap" help="This matrix can easily be loaded into R or other programs."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
138 <param name="saveSortedRegions" type="boolean" label="Save the regions after skiping zeros or min/max threshold values" help="The order of the regions in the file follows the sorting order selected. This is useful, for example, to generate other heatmaps keeping the sorting of the first heatmap."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
139 </when>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
140 </conditional>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
141
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
142 <conditional name="advancedOpt" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
143 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
144 <option value="no" selected="true">no</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
145 <option value="yes">yes</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
146 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
147 <when value="no" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
148 <when value="yes">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
149 <param name="binSize" type="integer" value="100" min="1" optional="true" label="Length, in base pairs, of the non-overlapping bin for averaging the score over the regions length" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
150 <param name="sortRegions" type="select" label="Sort regions"
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
151 help="Whether the output file should present the regions sorted.">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
152 <option value="no" selected="true">no ordering</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
153 <option value="descend">descending order</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
154 <option value="ascend">ascending order</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
155 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
156
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
157 <param name="sortUsing" type="select" label="Method used for sorting." help="The value is computed for each row." >
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
158 <option value="mean" selected="true">mean</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
159 <option value="median">median</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
160 <option value="min">min</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
161 <option value="max">max</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
162 <option value="sum">sum</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
163 <option value="region_length">region length</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
164 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
165
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
166 <param name="averageTypeBins" type="select" label="Define the type of statistic that should be displayed." help="The value is computed for each bin.">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
167 <option value="mean" selected="true">mean</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
168 <option value="median">median</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
169 <option value="min">min</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
170 <option value="max">max</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
171 <option value="sum">sum</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
172 <option value="std">std</option>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
173 </param>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
174
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
175 <param name="missingDataAsZero" type="boolean" truevalue="--missingDataAsZero" falsevalue="" label="Indicate missing data as zero" help="Set to &quot;yes&quot;, if missing data should be indicated as zeros. Default is to ignore such cases which will be depicted as black areas in the heatmap. (see &quot;Missing data color&quot; options of the heatmapper for additional options)."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
176 <param name="skipZeros" type="boolean" truevalue="--skipZeros" falsevalue="" label="Skip zeros" help="Whether regions with only scores of zero should be included or not. Default is to include them."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
177 <param name="minThreshold" type="float" optional="true" label="Minimum threshold" help="Any region containing a value that is equal or less than this numeric value will be skipped. This is useful to skip, for example, genes where the read count is zero for any of the bins. This could be the result of unmappable areas and can bias the overall results."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
178 <param name="maxThreshold" type="float" optional="true" label="Maximum threshold" help="Any region containing a value that is equal or higher that this numeric value will be skipped. The max threshold is useful to skip those few regions with very high read counts (e.g. major satellites) that may bias the average values."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
179 <param name="scale" type="float" optional="true" label="Scale" help="If set, all values are multiplied by this number."/>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
180 </when>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
181 </conditional>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
182
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
183 </inputs>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
184 <outputs>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
185 <data format="bgzip" name="outFileName" label="${tool.name} on ${on_string}: matrix">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
186 </data>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
187 <data format="tabular" name="outFileNameData" label="${tool.name} on ${on_string}: raw data">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
188 <filter>(output['showOutputSettings'] == 'yes' and output['saveData'] == True)</filter>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
189 </data>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
190 <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: matrix of values">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
191 <filter>(output['showOutputSettings'] == 'yes' and output['saveMatrix'] == True)</filter>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
192 </data>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
193 <data format="bed" name="outFileSortedRegions" label="${tool.name} on ${on_string}: sorted/filtered regions">
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
194 <filter>(output['showOutputSettings'] == 'yes' and output['saveSortedRegions'] == True)</filter>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
195 </data>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
196 </outputs>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
197 <!--
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
198 computeMatrix -S test.bw -R test2.bed -a 100 -b 100 -bs 1
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
199 -->
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
200 <tests>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
201 <test>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
202 <param name="regionsFile" value="test2.bed" ftype="bed" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
203 <param name="scoreFile" value="test.bw" ftype="bigwig" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
204 <param name="advancedOpt.binSize" value="1" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
205 <param name="mode.beforeRegionStartLength" value="100" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
206 <param name="mode.afterRegionStartLength" value="100" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
207 <output name="outFileName" file="master.mat.gz" ftype="bgzip" compare="sim_size" delta="100" />
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
208 </test>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
209 </tests>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
210 <help>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
211
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
212 **What it does**
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
213
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
214 This tool summarizes and prepares an intermediary file
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
215 containing scores associated with genomic regions that can be used
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
216 afterwards to plot a heatmap or a profile.
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
217
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
218 Genomic regions can really be anything - genes, parts of genes, ChIP-seq
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
219 peaks, favorite genome regions... as long as you provide a proper file
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
220 in BED or INTERVAL format. This tool can also be used to filter and sort
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
221 regions according to their score.
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
222
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
223
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
224 .. image:: $PATH_TO_IMAGES/flowChart_computeMatrixetc.png
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
225 :alt: Relationship between computeMatrix, heatmapper and profiler
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
226
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
227
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
228 -----
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
229
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
230 .. class:: infomark
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
231
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
232 @REFERENCES@
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
233
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
234 </help>
03e5e7b2cedd Uploaded
devteam
parents:
diff changeset
235 </tool>