comparison SMART/galaxy/plotCoverage.xml @ 31:0ab839023fe4

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 14:33:21 -0400
parents 94ab73e8a190
children
comparison
equal deleted inserted replaced
30:5677346472b5 31:0ab839023fe4
1 <tool id="plotCoverage" name="plot coverage"> 1 <tool id="plotCoverage" name="plot coverage">
2 <description>Plot the coverage of the first data with respect to the second one.</description> 2 <description>Plot the coverage of the first data with respect to the second one.</description>
3 <requirements>
4 <requirement type="set_environment">PYTHONPATH</requirement>
5 </requirements>
6 <command interpreter="python"> 3 <command interpreter="python">
7 ../Java/Python/WrappPlotCoverage.py -i $formatType.inputFileName1 4 ../Java/Python/WrappPlotCoverage.py -i $formatType.inputFileName1
8 #if $formatType.FormatInputFileName1 == 'bed': 5 #if $formatType.FormatInputFileName1 == 'bed':
9 -f bed 6 -f bed
10 #elif $formatType.FormatInputFileName1 == 'gff': 7 #elif $formatType.FormatInputFileName1 == 'gff':
107 <param name="FormatInputFileName2" type="select" label="Input File Format 2"> 104 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
108 <option value="bed">bed</option> 105 <option value="bed">bed</option>
109 <option value="gff">gff</option> 106 <option value="gff">gff</option>
110 <option value="gff2">gff2</option> 107 <option value="gff2">gff2</option>
111 <option value="gff3">gff3</option> 108 <option value="gff3">gff3</option>
112 <option value="sam">sam</option> 109 <option value="gff2">sam</option>
113 <option value="gtf">gtf</option> 110 <option value="gff3">gtf</option>
114 </param> 111 </param>
115 <when value="bed"> 112 <when value="bed">
116 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/> 113 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/>
117 </when> 114 </when>
118 <when value="gff"> 115 <when value="gff">
170 <when value="No"> 167 <when value="No">
171 </when> 168 </when>
172 </conditional> 169 </conditional>
173 170
174 <conditional name="optiontitle"> 171 <conditional name="optiontitle">
175 <param name="title" type="select" label="title for the figure"> 172 <param name="title" type="select" label="title of the plots ">
176 <option value="Yes">Yes</option> 173 <option value="Yes">Yes</option>
177 <option value="No" selected="true">No</option> 174 <option value="No" selected="true">No</option>
178 </param> 175 </param>
179 <when value="Yes"> 176 <when value="Yes">
180 <param name="titleVal" type="text" value=" " /> 177 <param name="titleVal" type="text" value=" " />
257 254
258 <param name="merge" type="boolean" truevalue="-1" falsevalue="" checked="false" label="merge the 2 plots in 1"/> 255 <param name="merge" type="boolean" truevalue="-1" falsevalue="" checked="false" label="merge the 2 plots in 1"/>
259 </inputs> 256 </inputs>
260 257
261 <outputs> 258 <outputs>
262 <data name="outputFile" format="tar" label="[plot coverage] tar output file" help="You can not see the results directly from galaxy, but you can download this tar output file."/> 259 <data name="outputFile" format="tar" label="[plotCoverage] tar out file" help="You can not see the results directly from galaxy, but you can download this tar output file."/>
263 </outputs> 260 </outputs>
264 261
265 <help> 262 <help>
266 Plot the coverage of the first set of genomic coordinates with respect to the second set of genomic coordinates. For each element of the second set (we will suppose that they are annotated genes), it computes the number of elements of the first set (reads, for instance) which overlap it. 263 This script gives a .tar out file, if you want to take look at the results, you have to download it.
267
268 Alternatively, if the first file is in GFF format, and contains the **Target** file, you can omit the second file. However, a fasta file corresponding to the second file should be given (to compute the size of the reference elements).
269
270 The tool produces two plots per gene. The first plot gives the coverage: a point (*x*, *y*) means that *y* reads cover the *x* th nucleotide of the gene. The second figure displays the (possibly spliced) gene in black, and the overlapping reads (blue is colinear, red is anti-sense).
271
272 This script gives a .tar out file, if you want to take look at the results, you have to download it.
273 </help> 264 </help>
274 </tool> 265 </tool>