|
21
|
1 <tool id="makeTSSdist" name="MakeTSSdist" version="1.0">
|
|
|
2 <description>Get peak distribution around TSS</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="3.16.0">hmisc</requirement>
|
|
|
5 </requirements>
|
|
|
6 <command interpreter="bash">
|
|
|
7
|
|
|
8 #if str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "no" #makeTSSdist_wrapper.sh -f $inputfile -l $left -o $outputPNG -r $right -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "no" #makeTSSdist_wrapper.sh -f $inputfile -l $left -o $outputPDF -r $right -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "yes" # makeTSSdist_wrapper.sh -f $inputfile -c $controlfile -o $outputPNG -l $left -r $right -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "yes" # makeTSSdist_wrapper.sh -f $inputfile -c $controlfile -o $outputPDF -l $left -r $right -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "no" # makeTSSdist_wrapper.sh -f $inputfile -e $regfile -l $left -o $outputPNG -r $right -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "no" # makeTSSdist_wrapper.sh -f $inputfile -e $regfile -l $left -o $outputPDF -r $right -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "yes" #makeTSSdist_wrapper.sh -f $inputfile -c $controlfile -l $left -o $outputPNG -r $right -u $stats -v $input_organism.version -e $regfile -p 0 #else # makeTSSdist_wrapper.sh -f $inputfile -c $controlfile -l $left -o $outputPDF -r $right -u $stats -v $input_organism.version -e $regfile -p 1 #end if
|
|
|
9 </command>
|
|
|
10 <inputs>
|
|
|
11 <param name="inputfile" type="data" label="ChIP peaks" value="ChIP peaks File" format="bed"/>
|
|
|
12 <conditional name="use_control">
|
|
|
13 <param name="use_control_selector" type="select" label="Use control data">
|
|
|
14 <option value="no" selected="true">No</option>
|
|
|
15 <option value="yes">Yes</option>
|
|
|
16 </param>
|
|
|
17 <when value="yes">
|
|
|
18 <param name="controlfile" type="data" label="Control peaks" value="Control peaks File" format="bed"/>
|
|
|
19 </when>
|
|
|
20 </conditional>
|
|
|
21 <param name="left" type="integer" label="Step (bp)" value="1000"/>
|
|
|
22 <param name="right" type="integer" label="length of the region +-TSS to consider (bp)" value="50000"/>
|
|
|
23 <conditional name="input_organism">
|
|
|
24 <param name="input_organism_selector" type="select" label="Select organism">
|
|
|
25 <option value="Human" selected="true">Homo sapiens</option>
|
|
|
26 <option value="Mouse">Mus musculus</option>
|
|
|
27 <option value="Zebrafish">Zebrafish (Danio rerio)</option>
|
|
|
28 <option value="XTropicalis">X.Tropicalis</option>
|
|
|
29 <option value="Bacteria/MycoTube">M. tuberculosis</option>
|
|
|
30 </param>
|
|
|
31 <when value="Human">
|
|
|
32 <param name="version" type="select" label="Select genome vesion">
|
|
|
33 <option value="hg19" selected="true">hg19</option>
|
|
|
34 <option value="hg18">hg18</option>
|
|
|
35 </param>
|
|
|
36 </when>
|
|
|
37 <when value="Mouse">
|
|
|
38 <param name="version" type="select" label="Select genome vesion">
|
|
|
39 <option value="mm8" >mm8</option>
|
|
|
40 <option value="mm9" selected="true">mm9</option>
|
|
|
41 <option value="mm10" >mm10</option>
|
|
|
42 </param>
|
|
|
43 </when>
|
|
|
44 <when value="Zebrafish">
|
|
|
45 <param name="version" type="select" label="Select genome vesion">
|
|
|
46 <option value="zv9" selected="true">zv9</option>
|
|
|
47 </param>
|
|
|
48 </when>
|
|
|
49 <when value="XTropicalis">
|
|
|
50 <param name="version" type="select" label="Select genome vesion">
|
|
|
51 <option value="xenTro2" >xenTro2</option>
|
|
|
52 <option value="xenTro3" selected="true">xenTro3</option>
|
|
|
53 </param>
|
|
|
54 </when>
|
|
|
55 <when value="Bacteria/MycoTube">
|
|
|
56 <param name="version" type="select" label="Select genome vesion">
|
|
|
57 <option value="H37Rv" selected="true">H37Rv</option>
|
|
|
58 </param>
|
|
|
59 </when>
|
|
|
60 </conditional>
|
|
|
61 <conditional name="use_reg">
|
|
|
62 <param name="use_reg_selector" type="select" label="Use transcriptomic data (up- and down- regulated genes)">
|
|
|
63 <option value="no" selected="true">No</option>
|
|
|
64 <option value="yes">Yes</option>
|
|
|
65 </param>
|
|
|
66 <when value="yes">
|
|
|
67 <param name="regfile" type="data" label="File with information about gene regulation" value="Regulation data" format="txt"/>
|
|
|
68 </when>
|
|
|
69 </conditional>
|
|
|
70 <param name="if_PDF" type="boolean" label="Do you want to have a PDF image (default PNG)?" truevalue="1" falsevalue="0" checked="False"/>
|
|
|
71 </inputs>
|
|
|
72 <outputs>
|
|
|
73 <data name="outputPNG" format="png" label="Peak location distribution (png)">
|
|
|
74 <filter>(if_PDF == 0)</filter>
|
|
|
75 </data>
|
|
|
76 <data name="outputPDF" format="pdf" label="Peak location distribution (pdf)">
|
|
|
77 <filter>(if_PDF == True)</filter>
|
|
|
78 </data>
|
|
|
79 <data name="stats" format="tabular" label="Peak location distribution (stats)"/>
|
|
|
80 </outputs>
|
|
|
81 <tests>
|
|
|
82 <test>
|
|
|
83 <param name="inputfile" value="peaks_test.bed"/>
|
|
|
84 <param name="use_control_selector" value="yes"/>
|
|
|
85 <param name="controlfile" value="peaks_control.bed"/>
|
|
|
86 <param name="left" value="1000"/>
|
|
|
87 <param name="right" value="50000"/>
|
|
|
88 <param name="input_organism_selector" value="Mouse"/>
|
|
|
89 <param name="version" value="mm9"/>
|
|
|
90 <param name="use_reg_selector" value="yes"/>
|
|
|
91 <param name="regfile" value="Probesets_FC1.5_10022011.txt"/>
|
|
|
92 <param name="if_PDF" value="1"/>
|
|
|
93 <output name="outputPDF" file="test_makeTSSdist_1.dat" ftype="pdf"/>
|
|
|
94 <output name="stats" file="test_makeTSSdist_2.dat" ftype="tabular"/>
|
|
|
95 </test>
|
|
|
96 </tests>
|
|
|
97 <help>
|
|
|
98 **What it does**
|
|
|
99
|
|
|
100 This tool creates a .png file with distribution of peaks around gene TSS
|
|
|
101
|
|
|
102 </help>
|
|
|
103 <citations>
|
|
|
104 <citation type="bibtex">@article{Boeva01102012,
|
|
|
105 author = {Boeva, Valentina and Lermine, Alban and Barette, Camille and Guillouf, Christel and Barillot, Emmanuel},
|
|
|
106 title = {Nebula—a web-server for advanced ChIP-seq data analysis},
|
|
|
107 volume = {28},
|
|
|
108 number = {19},
|
|
|
109 pages = {2517-2519},
|
|
|
110 year = {2012},
|
|
|
111 doi = {10.1093/bioinformatics/bts463},
|
|
|
112 URL = {http://bioinformatics.oxfordjournals.org/content/28/19/2517.abstract},
|
|
|
113 eprint = {http://bioinformatics.oxfordjournals.org/content/28/19/2517.full.pdf+html},
|
|
|
114 journal = {Bioinformatics}
|
|
|
115 }</citation>
|
|
|
116 </citations>
|
|
|
117 </tool>
|