annotate chipenrich.xml @ 2:ddefda892a8d draft

Uploaded
author mora-lab
date Sun, 13 Jun 2021 06:33:39 +0000
parents 3eaa000a7bf1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
1 <tool id="Chipenrich" name="ChIP-Enrich" version="0.1.0" python_template_version="3.5">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
2 <description>Gene set enrichment for ChIP-Seq peak data</description>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
3 <requirements>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
4 <requirement type="package" version="1.20.3">r-getopt</requirement>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
5 <requirement type="package" version="2.14.0">bioconductor-chipenrich</requirement>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
6 <requirement type="package" version="2.14.0">bioconductor-chipenrich.data</requirement>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
7 </requirements>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
9 Rscript '$__tool_directory__/chipenrich.R'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
10 --input_peaks '$peaks'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
11 --input_genome '$geneset_option.genome'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
12 --input_geneset '$geneset_option.genesets'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
13 --input_locusdef '$peaks_option.locusdefs'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
14 --input_method '$method'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
15 --input_minSize '$adv.minSize'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
16 --input_maxSize '$adv.maxSize'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
17 --input_randomization '$adv.randomization'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
18 --input_num_peak_threshould '$threshold'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
19 --output_peaks '$output_peaks'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
20 --output_enrich_result '$enrich_result'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
21 --output_peaks_per_gene '$peaks_per_gene'
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
22
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
23 ]]></command>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
24 <inputs>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
25 <param name="peaks" type="data" format="csv" label="Peaks" help="A CSV file whose three first columns correspond to 'chr', 'start' and 'end'. " />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
26 <conditional name="geneset_option">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
27 <param name="genome" type="select" label="Genome" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
28 <option value="hg19" selected="true">Human(hg19)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
29 <option value="hg38">Human(hg38)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
30 <option value="mm10">Mouse(mm10)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
31 <option value="mm9">Mouse(mm9)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
32 <option value="rn4">Rat(rn4)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
33 <option value="rn5">Rat(rn5)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
34 <option value="rn6">Rat(rn6)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
35 <option value="dm3">D.melanogaster(dm3)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
36 <option value="dm6">D.melanogaster(dm6)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
37 <option value="danRer10">D.Zebrafish(danRer10)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
38 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
39 <when value="hg19">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
40 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
41 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
42 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
43 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
44 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
45 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
46 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
47 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
48 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
49 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
50 <option value="hallmark">Hallmark gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
51 <option value="immunologic">Immunologic signature gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
52 <option value="oncogenic">Oncogenic signature gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
53 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
54 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
55 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
56 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
57 <option value="protein_interaction_biogrid">Protein Interactions (BioGRID)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
58 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
59 <option value="cytoband">Cytobands</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
60 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
61 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
62 <when value="hg38">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
63 <param name="genesets" type="select" label="GeneSets" help="Selcet gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
64 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
65 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
66 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
67 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
68 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
69 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
70 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
71 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
72 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
73 <option value="hallmark">Hallmark gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
74 <option value="immunologic">Immunologic signature gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
75 <option value="oncogenic">Oncogenic signature gene sets</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
76 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
77 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
78 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
79 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
80 <option value="protein_interaction_biogrid">Protein Interactions (BioGRID)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
81 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
82 <option value="cytoband">Cytobands</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
83 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
84 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
85 <when value="mm10">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
86 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
87 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
88 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
89 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
90 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
91 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
92 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
93 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
94 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
95 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
96 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
97 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
98 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
99 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
100 <option value="protein_interaction_biogrid">Protein Interactions (BioGRID)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
101 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
102 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
103 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
104 <when value="mm9">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
105 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
106 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
107 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
108 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
109 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
110 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
111 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
112 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
113 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
114 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
115 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
116 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
117 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
118 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
119 <option value="protein_interaction_biogrid">Protein Interactions (BioGRID)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
120 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
121 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
122 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
123 <when value="rn4">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
124 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
125 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
126 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
127 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
128 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
129 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
130 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
131 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
132 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
133 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
134 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
135 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
136 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
137 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
138 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
139 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
140 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
141 <when value="rn5">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
142 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
143 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
144 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
145 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
146 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
147 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
148 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
149 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
150 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
151 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
152 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
153 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
154 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
155 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
156 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
157 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
158 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
159 <when value="rn6">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
160 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
161 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
162 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
163 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
164 <option value="biocarta_pathway">Biocarta Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
165 <option value="kegg_pathway">KEGG Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
166 <option value="panther_pathway">PANTHER Pathways</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
167 <option value="pfam">PFAM</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
168 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
169 <option value="mesh">MeSH</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
170 <option value="drug_bank">DrugBank</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
171 <option value="microrna">MicroRNA</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
172 <option value="transcription_factors">Transcription Factors</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
173 <option value="ctd">Comparative Toxicogenomics Database (CTD)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
174 <option value="metabolite">Metabolites</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
175 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
176 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
177 <when value="dm3">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
178 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
179 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
180 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
181 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
182 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
183 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
184 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
185 <when value="dm6">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
186 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
187 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
188 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
189 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
190 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
191 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
192 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
193 <when value="danRer10">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
194 <param name="genesets" type="select" label="GeneSets" help="Select gene sets to test." multiple="true" display="checkboxes">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
195 <option value="GOBP" selected="true">GO Biological Process</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
196 <option value="GOCC" selected="true">GO Cellular Component</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
197 <option value="GOMF" selected="true">GO Molecular Function</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
198 <option value="reactome">Reactome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
199 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
200 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
201 </conditional>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
202
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
203 <param name="method" type="select" label="Method" display="radio" help="See details in the help section." >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
204 <option value="chipenrich" selected="true">Chip-Enrich</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
205 <option value="polyenrich" >Poly-Enrich</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
206 <option value="hybridenrich">Hybrid-Enrich</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
207 <option value="broadenrich">Broad-Enrich</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
208 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
209
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
210 <conditional name="peaks_option">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
211 <param name="peaks_type" type="select" label="Which Peaks to use" display="radio" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
212 <option value="promoter">Promoter regulation choices</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
213 <option value="genedistal">Gene distal regulation choices</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
214 <option value="regulation">Regulation from across the whole genome</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
215 <option value="other">Other</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
216 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
217 <when value="promoter">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
218 <param name="locusdefs" type="select" label="Promoter regulation choices" display="radio" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
219 <option value="1kb"> &lt; 1kb (only use peaks within 1kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
220 <option value="5kb"> &lt; 5kb (only use peaks within 5kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
221 <option value="10kb"> &lt; 10kb (only use peaks within 10kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
222 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
223 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
224 <when value="genedistal">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
225 <param name="locusdefs" type="select" label="Gene distal regulation choices" display="radio" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
226 <option value="1kb_outside"> &gt; 1kb (only use peaks greater than 1kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
227 <option value="5kb_outside"> &gt; 5kb (only use peaks greater than 5kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
228 <option value="10kb_outside"> &gt; 10kb (only use peaks greater than 10kb of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
229 <option value="1kb_outside_upstream"> &gt; 1kb upstream (only use peaks greater than 1kb upstream of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
230 <option value="5kb_outside_upstream"> &gt; 5kb upstream (only use peaks greater than 5kb upstream of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
231 <option value="10kb_outside_upstream"> &gt; 10kb upstream (only use peaks greater than 10kb upstream of a transcription start site)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
232 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
233 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
234 <when value="regulation">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
235 <param name="locusdefs" type="select" label="Regulation from across the whole genome" display="radio" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
236 <option value="nearest_gene">Nearest Gene (use all peaks; assign peaks to the nearest gene defined by transcription start and end sites)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
237 <option value="nearest_tss">Nearest TSS (use all peaks; assign peaks to the gene with the closest TSS)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
238 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
239 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
240 <when value="other">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
241 <param name="locusdefs" type="select" label="Other" display="radio" help="" >
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
242 <option value="exon">Exon (only use peaks that fall within an annotated exon)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
243 <option value="intron">Intron (only use peaks that fall within an annotated itron)</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
244 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
245 </when>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
246 </conditional>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
247
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
248 <param name="threshold" type="integer" value="1" min="1" label="Peak Threshold Number" help="Number of peaks a gene must have assigned to it before getting coded as 1 (having a peak) in the test. Typically, this should be set to 1." />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
249
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
250 <section name="adv" title="Advanced options">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
251 <param name="minSize" type="integer" value="15" min="1" label="Minimum gene set size" help="" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
252 <param name="maxSize" type="integer" value="2000" min="1" label="Maximum gene set size" help="" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
253 <param name="randomization" type="select" label="Randomization" help="See details in the help section.">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
254 <option value="NULL">No randomizations</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
255 <option value="complete">complete</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
256 <option value="bylength">by length</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
257 <option value="bylocation">by location</option>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
258 </param>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
259 </section>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
260
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
261 </inputs>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
262
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
263 <outputs>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
264 <data name="output_peaks" format="csv" label="peaks_result" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
265 <data name="enrich_result" format="csv" label="enrich_result" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
266 <data name="peaks_per_gene" format="csv" label="peaks_per_gene" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
267 </outputs>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
268
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
269 <tests>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
270 <test>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
271 <param name="peaks" value="peaks.csv" ftype="csv" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
272 <conditional name="geneset_option">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
273 <param name="genome" value="hg19" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
274 <param name="genesets" value="GOBP,GOCC,GOMF" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
275 </conditional>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
276 <param name="method" value="chipenrich" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
277 <conditional name="peaks_option">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
278 <param name="peaks_type" value="promoter" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
279 <param name="locusdefs" value="1kb" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
280 </conditional>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
281 <param name="threshold" value="1" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
282 <section name="adv">
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
283 <param name="minSize" value="15" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
284 <param name="maxSize" value="2000" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
285 <param name="randomization" value="NULL" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
286 </section>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
287 <output name="output_peaks" file="output_peaks.csv" ftype="csv" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
288 <output name="enrich_result" file="enrich_result.csv" ftype="csv" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
289 <output name="peaks_per_gene" file="peaks_per_gene.csv" ftype="csv" />
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
290 </test>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
291 </tests>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
292
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
293 <help><![CDATA[
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
294
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
295 .. class:: infomark
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
296
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
297 **What it does**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
298
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
299 Chip-Enrich includes four methods to test Chip-seq peak data for enrichment of biological pathways, Gene Ontology terms, and
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
300 other types of gene sets. Using a CSV file whose first three columns correspond to 'chr', 'start' and 'end',
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
301 Chip-Enrich assigns peaks to genes based on a chosen "locus definition". The "locus" of a gene is the region from
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
302 which the gene is predicted to be regulated.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
303
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
304 -------
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
305
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
306 =========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
307 **Input**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
308 =========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
309
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
310 **Peaks**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
311
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
312 The CSV file contains a table whose first three columns correspond to 'chr', 'start' and 'end'. For example:
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
313
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
314 ====== ========== ===========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
315 chr start end
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
316 ====== ========== ===========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
317 chr1 156186314 156186469
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
318 chr1 10490456 10490550
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
319 chr1 46713352 46713436
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
320 chr1 226496843 226496924
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
321 chr1 200589825 200589928
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
322 chr1 47779789 47779907
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
323 ====== ========== ===========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
324
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
325 **Method**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
326
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
327 The following guidelines are intended to help select an enrichment method:
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
328
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
329 * Chip-Enrich: is designed for use with 1,000s or 10,000s of narrow peaks which results in fewer gene loci containing a peak overall. For example, ChIP-seq experiments for transcription factors.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
330
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
331 * Poly-Enrich: is also designed for narrow peaks, for experiments with 100,000s of peaks, or in cases where the number of binding sites per gene affects its regulation. If unsure whether to use chipenrich or polyenrich, then we recommend hybridenrich.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
332
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
333 * Hybrid-Enrich: is a combination of chipenrich and polyenrich, to be used when one is unsure which is the optimal method.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
334
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
335 * Broad-Enrich: is designed for use with broad peaks that may intersect multiple gene loci, and cumulatively cover greater than 5% of the genome. For example, ChIP-seq experiments for histone modifications.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
336
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
337 **Randomizations**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
338
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
339 Randomization of locus definitions allows for the assessment of Type I Error under the null hypothesis. The randomization codes are:
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
340
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
341 * No randomizations: the default.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
342 * complete: Shuffle the `gene_id` and `symbol` columns of the `locusdef` together, without regard for the chromosome location, or locus length. The null hypothesis is that there is no true gene set enrichment.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
343 * bylength: Shuffle the `gene_id` and `symbol` columns of the `locusdef` together within bins of 100 genes sorted by locus length. The null hypothesis is that there is no true gene set enrichment, but with preserved locus length relationship.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
344 * bylocation: Shuffle the `gene_id` and `symbol` columns of the `locusdef` together within bins of 50 genes sorted by genomic location. The null hypothesis is that there is no true gene set enrichment, but with preserved genomic location.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
345
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
346 The return value with a selected randomization is the same list as without. To assess the Type I error, the alpha level for the particular data set can be calculated by dividing the total number of gene sets with p-value < alpha by the total number of tests. Users may want to perform multiple randomizations for a set of peaks and take the median of the alpha values.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
347
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
348 ==========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
349 **Output**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
350 ==========
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
351
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
352 **Peaks**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
353
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
354 A CSV file containing peak assignments to genes. Peaks which do not overlap a gene locus are not included. Each peak that was assigned to a gene is listed, along with the peak midpoint or peak interval coordinates (depending on which was used), the gene to which the peak was assigned, the locus start and end position of the gene, and the distance from the peak to the TSS.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
355
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
356 **Peaks per gene**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
357
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
358 A CSV file containing the count of peaks per gene.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
359
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
360 **Enrichment results**
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
361
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
362 A CSV file containing the results from performing the gene set enrichment test on each gene set that was considered.
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
363
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
364 ]]></help>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
365 <citations>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
366 <citation type="doi">10.1093/nar/gku463</citation>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
367 <citation type="doi">10.1093/bioinformatics/btu444</citation>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
368 </citations>
ddefda892a8d Uploaded
mora-lab
parents: 1
diff changeset
369 </tool>