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