annotate SMART/galaxy/getWigProfile.xml @ 16:6135c3075bc5

Deleted selected files
author m-zytnicki
date Mon, 22 Apr 2013 11:09:41 -0400
parents 440ceca58672
children 94ab73e8a190
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
1 <tool id="getWigProfile" name="get wig profile">
769e306b7933 Change the repository level.
yufei-luo
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>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
3 <command interpreter="python">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
4 ../Java/Python/getWigProfile.py -i $formatType.inputFileName
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
5 #if $formatType.FormatInputFileName == 'bed':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
6 -f bed
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
8 -f gff
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff2':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
10 -f gff2
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff3':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
12 -f gff3
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
13 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
14 -w $inputWigFile
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
15 -p $nbPoints
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
16 -d $distance
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
17 $strands
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
18 -o $outputFilePNG
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
19 #if $optionSMO.SMO == 'Yes':
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
20 -m $optionSMO.smoothen
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
21 #end if
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
22
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
23 </command>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
24
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
25 <inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
26 <conditional name="formatType">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
27 <param name="FormatInputFileName" type="select" label="Input File Format">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
28 <option value="bed">bed</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
29 <option value="gff">gff</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
30 <option value="gff2">gff2</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
31 <option value="gff3">gff3</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
32 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
33 <when value="bed">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
34 <param name="inputFileName" format="bed" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
35 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
36 <when value="gff">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
37 <param name="inputFileName" format="gff" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
38 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
39 <when value="gff2">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
40 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
41 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
42 <when value="gff3">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
43 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
44 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
45 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
46
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
47 <param name="inputWigFile" type="data" label="Input Wig File" format="wig"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
48 <param name="nbPoints" type="integer" value="1000" label="number of points on the x-axis"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
49 <param name="distance" type="integer" value="0" label="distance around genomic coordinates"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
50 <param name="strands" type="boolean" truevalue="-s" falsevalue="" checked="false" label="consider both strands separately"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
51
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
52 <conditional name="optionSMO">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
53 <param name="SMO" type="select" label="smoothen the curve">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
54 <option value="Yes">Yes</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
55 <option value="No" selected="true">No</option>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
56 </param>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
57 <when value="Yes">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
58 <param name="smoothen" type="integer" value="0"/>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
59 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
60 <when value="No">
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
61 </when>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
62 </conditional>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
63
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
64 </inputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
65
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
66 <outputs>
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
67 <data name="outputFilePNG" format="png" label="[getWigProfile] out file"/>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
68 </outputs>
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
69
15
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
70 <help>
440ceca58672 Uploaded
m-zytnicki
parents: 6
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.
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
72
440ceca58672 Uploaded
m-zytnicki
parents: 6
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).
440ceca58672 Uploaded
m-zytnicki
parents: 6
diff changeset
74 </help>
6
769e306b7933 Change the repository level.
yufei-luo
parents:
diff changeset
75 </tool>