annotate [APliBio]Nebula tools suite/Nebula/AnnotateGenes/annotateGenes_wrapper.xml @ 3:1c699789d6d3 draft

Uploaded
author alermine
date Wed, 14 Nov 2012 06:02:48 -0500
parents 2ec3ba0e9e70
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
1 <tool id="annotateGenes" name="AnnotateGenes" version="1.0">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
2 <description>Annotation of genes with ChIP-Seq peaks</description>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
3 <command interpreter="bash">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
4 #if str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "no" #annotateGenes_wrapper.sh -f $inputfile -y $log -l $left -o $outputPNG -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "yes" # annotateGenes_wrapper.sh -f $inputfile -y $log -c $controlfile -b $use_control.bootstraps -x $statsControl -o $outputPNG -l $left -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "no" # annotateGenes_wrapper.sh -y $log -f $inputfile -e $regfile -l $left -o $outputPNG -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 0 #elif str( $if_PDF ) == '0' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "yes" # annotateGenes_wrapper.sh -f $inputfile -c $controlfile -b $use_control.bootstraps -x $statsControl -l $left -y $log -o $outputPNG -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -e $regfile -p 0 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "no" #annotateGenes_wrapper.sh -f $inputfile -y $log -l $left -o $outputPDF -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "no" and $use_control.use_control_selector == "yes" # annotateGenes_wrapper.sh -f $inputfile -y $log -c $controlfile -b $use_control.bootstraps -x $statsControl -o $outputPDF -l $left -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "no" # annotateGenes_wrapper.sh -y $log -f $inputfile -e $regfile -l $left -o $outputPDF -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -p 1 #elif str( $if_PDF ) == '1' and $use_reg.use_reg_selector == "yes" and $use_control.use_control_selector == "yes" # annotateGenes_wrapper.sh -f $inputfile -c $controlfile -b $use_control.bootstraps -x $statsControl -l $left -y $log -o $outputPDF -r $right -d $DownGene -h $EnhLeft -u $stats -v $input_organism.version -e $regfile -p 1 #end if
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
5 </command>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
6 <inputs>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
7
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
8 <param name="inputfile" type="data" label="ChIP peaks" value="ChIP peaks File" format="bed"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
9 <conditional name="use_control">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
10 <param name="use_control_selector" type="select" label="Use control data">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
11 <option value="no" selected="true">No</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
12 <option value="yes">Yes</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
13 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
14 <when value="yes">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
15 <param name="controlfile" type="data" label="Control peaks" value="Control peaks File" format="bed"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
16 <param name="bootstraps" type="select" label="Number of bootstrap iterations" help="Using bootstrap resampling from the control will significantly slow down the procedure">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
17 <option value="1" selected="true" >do not use bootstrap resampling</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
18 <option value="10" >10</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
19 <option value="100" >100</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
20 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
21 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
22 </conditional>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
23
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
24 <param name="left" type="integer" label="Define Promoter is a region up to X bp upstream gene TSS" value="-2000"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
25 <param name="right" type="integer" label="Define Immediate Downstream is a region up to X bp downstream gene TSS" value="2000"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
26 <param name="EnhLeft" type="integer" label="Define Enhancer is a region up to X bp upstream gene TSS" value="-30000"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
27 <param name="DownGene" type="integer" label="Define Gene Downstream is a region up to X bp downstream transcription end" value="5000"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
28
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
29 <conditional name="input_organism">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
30 <param name="input_organism_selector" type="select" label="Select organism">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
31 <option value="Human" selected="true">Homo sapiens</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
32 <option value="Mouse">Mus musculus</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
33 <option value="Zebrafish">Zebrafish (Danio rerio)</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
34 <option value="XTropicalis">X.Tropicalis</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
35 <option value="Bacteria/MycoTube">M. tuberculosis</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
36 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
37 <when value="Human">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
38 <param name="version" type="select" label="Select genome vesion">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
39 <option value="hg19" selected="true">hg19</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
40 <option value="hg18">hg18</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
41 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
42 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
43 <when value="Mouse">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
44 <param name="version" type="select" label="Select genome vesion">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
45 <option value="mm8" >mm8</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
46 <option value="mm9" selected="true">mm9</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
47 <option value="mm10" >mm10</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
48 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
49 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
50 <when value="Zebrafish">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
51 <param name="version" type="select" label="Select genome vesion">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
52 <option value="zv9" selected="true">zv9</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
53 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
54 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
55 <when value="XTropicalis">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
56 <param name="version" type="select" label="Select genome vesion">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
57 <option value="xenTro2" >xenTro2</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
58 <option value="xenTro3" selected="true">xenTro3</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
59 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
60 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
61 <when value="Bacteria/MycoTube">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
62 <param name="version" type="select" label="Select genome vesion">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
63 <option value="H37Rv" selected="true">H37Rv</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
64 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
65 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
66 </conditional>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
67
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
68
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
69
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
70 <conditional name="use_reg">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
71 <param name="use_reg_selector" type="select" label="Use transcriptomic data (up- and down- regulated genes)">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
72 <option value="no" selected="true">No</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
73 <option value="yes">Yes</option>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
74 </param>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
75 <when value="yes">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
76 <param name="regfile" type="data" label="File with information about gene regulation" value="Regulation data" format="txt"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
77 </when>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
78 </conditional>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
79
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
80 <param name="if_PDF" type="boolean" label="Do you want to have a PDF image (default PNG)?" truevalue="1" falsevalue="0" checked="False"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
81 </inputs>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
82 <outputs>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
83 <data name="outputPNG" format="png" label="Gene Stats (png)">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
84 <filter>(if_PDF == 0)</filter>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
85 </data>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
86 <data name="outputPDF" format="pdf" label="Gene Stats (pdf)">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
87 <filter>(if_PDF == True)</filter>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
88 </data>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
89
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
90 <data name="stats" format="tabular" label="Annotated Genes (ChIP)"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
91 <data name="log" format="tabular" label=".LOG for Annotated Genes"/>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
92 <data name="statsControl" format="tabular" label="Annotated Genes (Control)">
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
93 <filter>(use_control['use_control_selector'] == 'yes')</filter>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
94 </data>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
95 </outputs>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
96 <help>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
97 **What it does**
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
98
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
99 This tool annotates peaks with genomic feature (promoter, enhancer, exon, intron, etc.) and creates a .png file with distribution
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
100
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
101 </help>
2ec3ba0e9e70 Uploaded
alermine
parents:
diff changeset
102 </tool>