Mercurial > repos > yufei-luo > s_mart
comparison SMART/galaxy/getWigProfile.xml @ 36:44d5973c188c
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 15:02:29 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
35:d94018ca4ada | 36:44d5973c188c |
---|---|
1 <tool id="getWigProfile" name="get wig profile"> | |
2 <description>Compute the average profile of some genomic coordinates using WIG files (thus covering a large proportion of the genome).</description> | |
3 <command interpreter="python"> | |
4 ../Java/Python/getWigProfile.py -i $formatType.inputFileName | |
5 #if $formatType.FormatInputFileName == 'bed': | |
6 -f bed | |
7 #elif $formatType.FormatInputFileName == 'gff': | |
8 -f gff | |
9 #elif $formatType.FormatInputFileName == 'gff2': | |
10 -f gff2 | |
11 #elif $formatType.FormatInputFileName == 'gff3': | |
12 -f gff3 | |
13 #end if | |
14 -w $inputWigFile | |
15 -p $nbPoints | |
16 -d $distance | |
17 $strands | |
18 -o $outputFilePNG | |
19 #if $optionSMO.SMO == 'Yes': | |
20 -m $optionSMO.smoothen | |
21 #end if | |
22 | |
23 </command> | |
24 | |
25 <inputs> | |
26 <conditional name="formatType"> | |
27 <param name="FormatInputFileName" type="select" label="Input File Format"> | |
28 <option value="bed">bed</option> | |
29 <option value="gff">gff</option> | |
30 <option value="gff2">gff2</option> | |
31 <option value="gff3">gff3</option> | |
32 </param> | |
33 <when value="bed"> | |
34 <param name="inputFileName" format="bed" type="data" label="Input File"/> | |
35 </when> | |
36 <when value="gff"> | |
37 <param name="inputFileName" format="gff" type="data" label="Input File"/> | |
38 </when> | |
39 <when value="gff2"> | |
40 <param name="inputFileName" format="gff2" type="data" label="Input File"/> | |
41 </when> | |
42 <when value="gff3"> | |
43 <param name="inputFileName" format="gff3" type="data" label="Input File"/> | |
44 </when> | |
45 </conditional> | |
46 | |
47 <param name="inputWigFile" type="data" label="Input Wig File" format="wig"/> | |
48 <param name="nbPoints" type="integer" value="1000" label="number of points on the x-axis"/> | |
49 <param name="distance" type="integer" value="0" label="distance around genomic coordinates"/> | |
50 <param name="strands" type="boolean" truevalue="-s" falsevalue="" checked="false" label="consider both strands separately"/> | |
51 | |
52 <conditional name="optionSMO"> | |
53 <param name="SMO" type="select" label="smoothen the curve"> | |
54 <option value="Yes">Yes</option> | |
55 <option value="No" selected="true">No</option> | |
56 </param> | |
57 <when value="Yes"> | |
58 <param name="smoothen" type="integer" value="0"/> | |
59 </when> | |
60 <when value="No"> | |
61 </when> | |
62 </conditional> | |
63 | |
64 </inputs> | |
65 | |
66 <outputs> | |
67 <data name="outputFilePNG" format="png" label="[getWigProfile] out file"/> | |
68 </outputs> | |
69 | |
70 <help> | |
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. | |
72 | |
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). | |
74 </help> | |
75 </tool> |