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