annotate SMART/galaxy/getWigProfile.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="getWigProfile" name="get wig profile">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Compute the average profile of some genomic coordinates using WIG files (thus covering a large proportion of the genome).</description>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
3 <command interpreter="python">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
4 ../Java/Python/getWigProfile.py -i $formatType.inputFileName
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
5 #if $formatType.FormatInputFileName == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
6 -f bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
8 -f gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
12 -f gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
13 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
14 -w $inputWigFile
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
15 -p $nbPoints
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
16 -d $distance
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
17 $strands
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
18 -o $outputFilePNG
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
19 #if $optionSMO.SMO == 'Yes':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
20 -m $optionSMO.smoothen
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
21 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
22
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
23 </command>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
24
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
25 <inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
26 <conditional name="formatType">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
27 <param name="FormatInputFileName" type="select" label="Input File Format">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
28 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
29 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
30 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
31 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
32 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
33 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
34 <param name="inputFileName" format="bed" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
35 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
36 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
37 <param name="inputFileName" format="gff" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
38 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
39 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
40 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
41 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
42 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
43 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
44 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
45 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
46
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
47 <param name="inputWigFile" type="data" label="Input Wig File" format="wig"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
48 <param name="nbPoints" type="integer" value="1000" label="number of points on the x-axis"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
49 <param name="distance" type="integer" value="0" label="distance around genomic coordinates"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
50 <param name="strands" type="boolean" truevalue="-s" falsevalue="" checked="false" label="consider both strands separately"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
51
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
52 <conditional name="optionSMO">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
53 <param name="SMO" type="select" label="smoothen the curve">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
54 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
55 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
56 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
57 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
58 <param name="smoothen" type="integer" value="0"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
59 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
60 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
61 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
62 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
63
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
64 </inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
65
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
66 <outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
67 <data name="outputFilePNG" format="png" label="[getWigProfile] out file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
68 </outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
69
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
70 <help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
71 Computes the average distribution of the WIG data (please consult http://genome.ucsc.edu/goldenPath/help/wiggle.html to know more about this format) along the transcripts given in input, and possibly before and after the transcripts.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
72
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
73 The main inputs of the functions are a file containing a list of transcripts (or any sets of genomic interval) and a directory containing a set of WIG files (one file per chromosome, or one file per chromosome and per strand). The function then computes the WIG profile of each transcript. The user can also define a region around the transcripts that should also be plotted (in this case, the profile will include the WIG values which overlap with the transcript as well as the 5' and 3' regions). Since the transcript do not necessarily have the same sizes, all profiles will be extended or shrinked to fit in a size which is given by the user. If the resulting profile is a bit bumpy, the user can also smoothen the curve by using a linear smoothing function (the size of the smoothing window is given by the user). Finally, the user may want to plot the WIG data for the opposite strand too (if the strand specific WUG data are available).
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
74 </help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
75 </tool>