annotate weeder2_wrapper.xml @ 4:89315bdc1a8c draft default tip

Uploaded tool version 2.0.3.
author pjbriggs
date Wed, 26 Sep 2018 10:12:56 -0400
parents f19e18ab01b1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
89315bdc1a8c Uploaded tool version 2.0.3.
pjbriggs
parents: 3
diff changeset
1 <tool id="motiffinding_weeder2" name="Weeder2" version="2.0.3">
0
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
2 <description>Motif discovery in sequences from coregulated genes of a single species</description>
2
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
3 <requirements>
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
4 <requirement type="package" version="2.0">weeder</requirement>
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
5 </requirements>
4
89315bdc1a8c Uploaded tool version 2.0.3.
pjbriggs
parents: 3
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
3
f19e18ab01b1 Uploaded v2.0.2 (use conda for dependency resolution)
pjbriggs
parents: 2
diff changeset
7 bash $__tool_directory__/weeder2_wrapper.sh
2
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
8 $sequence_file $species_code ${species_code.fields.path}
0
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
9 $output_motifs_file $output_matrix_file
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
10 $strands
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
11 #if $chipseq.use_chipseq
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
12 -chipseq -top $chipseq.top
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
13 #end if
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
14 #if str( $advanced_options.advanced_options_selector ) == "on"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
15 -maxm $advanced_options.n_motifs_report
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
16 -b $advanced_options.n_motifs_build
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
17 -sim $advanced_options.sim_threshold
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
18 -em $advanced_options.em_cycles
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
19 #end if
3
f19e18ab01b1 Uploaded v2.0.2 (use conda for dependency resolution)
pjbriggs
parents: 2
diff changeset
20 ]]></command>
0
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
21 <inputs>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
22 <param name="sequence_file" type="data" format="fasta" label="Input sequence" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
23 <param name="species_code" type="select" label="Species to use for background comparison">
2
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
24 <options from_data_table="weeder2">
3c5f10f7dd40 Updated to tool version 2.0.1 (use data table to locate freqfiles).
pjbriggs
parents: 1
diff changeset
25 </options>
0
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
26 </param>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
27 <param name="strands" label="Use both strands of sequence" type="boolean"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
28 truevalue="" falsevalue="-ss" checked="True"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
29 help="If not checked then use -ss option" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
30 <conditional name="chipseq">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
31 <param name="use_chipseq" type="boolean"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
32 label="Use the ChIP-seq heuristic"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
33 help="Speeds up the computation (-chipseq)"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
34 truevalue="yes" falsevalue="no" checked="on" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
35 <when value="yes">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
36 <param name="top" type="integer" value="100"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
37 label="Number of top input sequences with oligos to scan for"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
38 help="Increase this value to improve the chance of finding motifs enriched only in a subset of your input sequences (-top)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
39 </when>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
40 <when value="no"></when>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
41 </conditional>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
42 <conditional name="advanced_options">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
43 <param name="advanced_options_selector" type="select"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
44 label="Display advanced options">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
45 <option value="off">Hide</option>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
46 <option value="on">Display</option>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
47 </param>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
48 <when value="on">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
49 <param name="n_motifs_report" type="integer" value="25"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
50 label="Number of discovered motifs to report" help="(-maxm)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
51 <param name="n_motifs_build" type="integer" value="50"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
52 label="Number of top scoring motifs to build occurrences matrix profiles and outputs for"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
53 help="(-b)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
54 <param name="sim_threshold" type="float" min="0.0" max="1.0" value="0.95"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
55 label="Similarity threshold for the redundancy filter"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
56 help="Remove motifs that are too similar, with lower values imposing a stricter filter. Must be between 0.0 and 1.0 (-sim)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
57 <param name="em_cycles" type="integer" min="0" max="100" value="1"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
58 label="Number of expectation maximization (EM) cycles to perform"
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
59 help="Number of cycles must be between 0 and 100 (-em)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
60 </when>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
61 <when value="off">
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
62 </when>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
63 </conditional>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
64 </inputs>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
65 <outputs>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
66 <data name="output_motifs_file" format="txt" label="Weeder2 on ${on_string} (motifs)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
67 <data name="output_matrix_file" format="txt" label="Weeder2 on ${on_string} (matrix)" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
68 </outputs>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
69 <tests>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
70 <test>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
71 <param name="sequence_file" value="weeder_in.fa" ftype="fasta" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
72 <param name="species_code" value="MM" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
73 <output name="output_motifs_file" file="weeder2_motifs.out" lines_diff="2" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
74 <output name="output_matrix_file" file="weeder2_matrix.out" />
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
75 </test>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
76 </tests>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
77 <help>
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
78
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
79 .. class:: infomark
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
80
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
81 **What it does**
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
82
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
83 Weeder2 is a program for finding novel motifs (transcription factor binding sites)
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
84 conserved in a set of regulatory regions of related genes.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
85
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
86 -------------
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
87
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
88 .. class:: infomark
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
89
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
90 **Usage advice**
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
91
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
92 Guidelines on how to use this tool can be seen in Zambelli et al. 2014 (see link
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
93 below), but the following is a brief guide. Please note that **motifs** are a model
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
94 or matrix that describes a set of sequences that may differ in the base composition.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
95 **Oligos** are specific sequences found within the input sequences or genomic
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
96 background.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
97
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
98 **Input sequence** (in FASTA format) should be short (100-200bp) and be reasonably
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
99 expected to contain an enriched motif(s). This is not generally an issue with
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
100 transcription factor ChIP-seq derived sequences centred on the summit of binding
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
101 regions that are expected to contain a dominant motif and possibly secondary motifs.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
102
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
103 There is **no need to mask sequence for repetitive sequence** as factors may
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
104 legitimately bind repetitive sequence.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
105
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
106 **Use both strands of sequence** by default, unless there is a specific reason not
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
107 to do so.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
108
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
109 **Species to use for background comparison** should match the genome used to
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
110 generate the **input sequence**. The background genome motif frequencies are
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
111 generated from within the promoter regions of annotated genes and are shown to be a
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
112 good background for both promoter and other regulatory regions.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
113
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
114 **Use the ChIP-seq heuristic** (-chipseq) when there are a large number of
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
115 input sequences (hundreds or thousands). When -chipseq is used Weeder will use
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
116 only oligos from the first 100 sequences to build motifs with which it scans
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
117 all of the input sequences. This speeds up the computational time without too much
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
118 risk of losing important motifs. Even if not strictly necessary it's advisable to
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
119 order input sequences by their significance, e.g. fold enrichment or Pvalue. For
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
120 large data sets (-top) should be set to a number equating at least 10 to 20% of
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
121 input sequences (as recommended by the authors).
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
122
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
123 **Number of discovered motifs to report** (-maxm) limits the number of reported
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
124 motifs even if there are more than -maxm. **Number of top scoring motifs to build
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
125 occurrences matrix profiles and outputs for** (-b) changes the number of top
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
126 scoring motifs of length 6, 8 and 10 for which the occurrence matrix is built.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
127 Increasing -b may result in a larger number of reported motifs, but with potentially
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
128 more of low significance and increases the computational time. If increasing -b does
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
129 not result in more motifs in your results it means that the additional motifs are
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
130 filtered out by the redundancy filter or that the maximum number of reported motifs
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
131 set by -maxm has been reached.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
132
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
133 **Similarity threshold for the redundancy filter** (-sim) default setting is
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
134 recommended.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
135
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
136 **Number of expectation maximization (EM) cycles to perform** (-em) default is
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
137 recommended. The option is included to help "clean up" the resulting motif matrices.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
138 In this version the number of EM steps can be increased, which can be useful for
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
139 motifs with highly redundant stretches of sequence.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
140
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
141 -------------
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
142
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
143 .. class:: infomark
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
144
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
145 **A note on the results**
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
146
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
147 The resulting matrices are the result of scanning (by default both strands) for
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
148 oligos of length 6, 8 and 8, allowing 1, 2 and 3 substitutions respectively. The
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
149 matrices within the matrix.w2 file can be input into other tools. The recommended
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
150 next step is to use **STAMP** (http://www.benoslab.pitt.edu/stamp/), which displays
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
151 the motifs as logos and identifies matches with libraries of known DNA binding
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
152 motifs, such as TRANSFAC or JASPAR.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
153
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
154 -------------
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
155
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
156 .. class:: infomark
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
157
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
158 **Credits**
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
159
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
160 This Galaxy tool has been developed by Peter Briggs and Ian Donaldson within the
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
161 Bioinformatics Core Facility at the University of Manchester, and runs the Weeder2
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
162 motif discovery package:
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
163
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
164 * Zambelli, F., Pesole, G. and Pavesi, G. 2014. Using Weeder, Pscan, and PscanChIP
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
165 for the Discovery of Enriched Transcription Factor Binding Site Motifs in
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
166 Nucleotide Sequences. Current Protocols in Bioinformatics. 47:2.11:2.11.1–2.11.31.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
167 * http://onlinelibrary.wiley.com/doi/10.1002/0471250953.bi0211s47/full
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
168
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
169 This tool is compatible with Weeder 2.0:
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
170
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
171 * http://159.149.160.51/modtools/downloads/weeder2.html
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
172
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
173 Please kindly acknowledge both this Galaxy tool, the Weeder package and the utility
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
174 scripts if you use it in your work.
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
175 </help>
1
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
176 <citations>
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
177 <!--
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
178 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
179 Can be either DOI or Bibtex
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
180 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
181 -->
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
182 <citation type="doi">10.1002/0471250953.bi0211s47</citation>
571cb77ab9e7 Add citation tag and README file.
pjbriggs
parents: 0
diff changeset
183 </citations>
0
496bc4eff47e Initial version.
pjbriggs
parents:
diff changeset
184 </tool>