Mercurial > repos > iuc > checkm_tree
comparison tree.xml @ 0:9b2790bca5b5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/checkm commit 2a3b068a98bf0e913dc03e0d5c2182cfd102cf27
author | iuc |
---|---|
date | Fri, 29 Jul 2022 20:29:27 +0000 |
parents | |
children | 6d1c282e2ce2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9b2790bca5b5 |
---|---|
1 <tool id="checkm_tree" name="CheckM tree" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description> | |
3 Place bins in the genome tree | |
4 </description> | |
5 <macros> | |
6 <import>macros.xml</import> | |
7 </macros> | |
8 <expand macro="biotools"/> | |
9 <expand macro="requirements"/> | |
10 <expand macro="version"/> | |
11 <command detect_errors="exit_code"><![CDATA[ | |
12 @BIN_INPUTS@ | |
13 | |
14 checkm tree | |
15 'bins' | |
16 'output' | |
17 $reduced_tree | |
18 $ali | |
19 $nt | |
20 $genes | |
21 --extension 'fasta' | |
22 --threads \${GALAXY_SLOTS:-1} | |
23 --pplacer_threads \${GALAXY_SLOTS:-1} | |
24 ]]></command> | |
25 <inputs> | |
26 <expand macro="bin_inputs" /> | |
27 <expand macro="tree_params" /> | |
28 <param name="extra_outputs" type="select" multiple="true" optional="true" label="Extra outputs"> | |
29 <expand macro="tree_extra_output_options" /> | |
30 </param> | |
31 </inputs> | |
32 <outputs> | |
33 <data name="phylo_hmm_info" format="zip" from_work_dir="output/storage/phylo_hmm_info.pkl.gz" label="${tool.name} on ${on_string}: Phylogenetic HMM model info for each bin" /> | |
34 <data name="bin_stats_tree" format="tabular" from_work_dir="output/storage/bin_stats.tree.tsv" label="${tool.name} on ${on_string}: Phylogenetic bin stats" /> | |
35 <collection name="hmmer_tree" type="list" label="${tool.name} on ${on_string}: Phylogenetic HMM hits to each bin"> | |
36 <discover_datasets pattern="(?P<designation>.*)/hmmer\.tree\.txt" format="txt" directory="output/bins/" recurse="true" match_relative_path="true"/> | |
37 </collection> | |
38 <data name="concatenated_fasta" format="fasta" from_work_dir="output/storage/tree/concatenated.fasta" label="${tool.name} on ${on_string}: Concatenated masked sequences"/> | |
39 <data name="concatenated_tre" format="phyloxml" from_work_dir="output/storage/tree/concatenated.tre" label="${tool.name} on ${on_string}: Concatenated tree"/> | |
40 <collection name="hmmer_tree_ali" type="list" label="${tool.name} on ${on_string}: Phylogenetic HMMER alignment file for each bin"> | |
41 <filter>ali and 'hmmer_tree_ali' in extra_outputs</filter> | |
42 <discover_datasets pattern="(?P<designation>.*)/hmmer\.tree\.ali\.txt" format="txt" directory="output/bins/" recurse="true" match_relative_path="true"/> | |
43 </collection> | |
44 <data name="concatenated_pplacer_json" format="json" from_work_dir="output/storage/tree/concatenated.pplacer.json" label="${tool.name} on ${on_string}: Concatenated pplacer JSON"> | |
45 <filter>'concatenate_pplacer_json' in extra_outputs</filter> | |
46 </data> | |
47 <collection name="genes_fna" type="list" label="${tool.name} on ${on_string}: Protein gene sequences for each bin"> | |
48 <filter>not genes and nt and 'genes_fna' in extra_outputs</filter> | |
49 <discover_datasets pattern="(?P<designation>.*)/genes\.fna" format="fasta" directory="output/bins/" recurse="true" match_relative_path="true"/> | |
50 </collection> | |
51 <collection name="genes_faa" type="list" label="${tool.name} on ${on_string}: Nucleotide gene sequences for each bin"> | |
52 <filter>'genes_faa' in extra_outputs</filter> | |
53 <discover_datasets pattern="(?P<designation>.*)/genes\.faa" format="fasta" directory="output/bins/" recurse="true" match_relative_path="true"/> | |
54 </collection> | |
55 <collection name="genes_gff" type="list" label="${tool.name} on ${on_string}: Gene feature files for each bin"> | |
56 <filter>not genes and 'genes_gff' in extra_outputs</filter> | |
57 <discover_datasets pattern="(?P<designation>.*)/genes\.gff" format="gff" directory="output/bins/" recurse="true" match_relative_path="true"/> | |
58 </collection> | |
59 </outputs> | |
60 <tests> | |
61 <test expect_num_outputs="6"> | |
62 <conditional name="bins"> | |
63 <param name="select" value="collection"/> | |
64 <param name="bins_coll"> | |
65 <collection type="list"> | |
66 <element name="637000110" ftype="fasta" value="637000110.fna"/> | |
67 </collection> | |
68 </param> | |
69 </conditional> | |
70 <param name="reduced_tree" value="true"/> | |
71 <param name="ali" value="false"/> | |
72 <param name="nt" value="false"/> | |
73 <param name="genes" value="false"/> | |
74 <param name="extra_outputs" value="genes_gff"/> | |
75 <output name="phylo_hmm_info" ftype="zip"> | |
76 <assert_contents> | |
77 <has_size value="1579" delta="10"/> | |
78 </assert_contents> | |
79 </output> | |
80 <output name="bin_stats_tree" ftype="tabular"> | |
81 <assert_contents> | |
82 <has_text text="637000110"/> | |
83 <has_text text="Coding density"/> | |
84 <has_text text="# predicted genes"/> | |
85 </assert_contents> | |
86 </output> | |
87 <output_collection name="hmmer_tree" count="1"> | |
88 <element name="637000110" ftype="txt"> | |
89 <assert_contents> | |
90 <has_text text="target name"/> | |
91 <has_text text="AC_000091_551"/> | |
92 </assert_contents> | |
93 </element> | |
94 </output_collection> | |
95 <output name="concatenated_fasta" ftype="fasta"> | |
96 <assert_contents> | |
97 <has_text text="637000110"/> | |
98 <has_text text="MLKAGVHFGHQTRYW"/> | |
99 </assert_contents> | |
100 </output> | |
101 <output name="concatenated_tre" ftype="phyloxml"> | |
102 <assert_contents> | |
103 <has_text text="IMG_646564547"/> | |
104 <has_text text="g__Methanocaldococcus"/> | |
105 </assert_contents> | |
106 </output> | |
107 <output_collection name="genes_gff" count="1"> | |
108 <element name="637000110" ftype="gff"> | |
109 <assert_contents> | |
110 <has_text text="#gff-version"/> | |
111 <has_text text="AC_000091"/> | |
112 <has_text text="Prodigal.v2.6.3"/> | |
113 </assert_contents> | |
114 </element> | |
115 </output_collection> | |
116 </test> | |
117 <test expect_num_outputs="8"> | |
118 <conditional name="bins"> | |
119 <param name="select" value="collection"/> | |
120 <param name="bins_coll"> | |
121 <collection type="list"> | |
122 <element name="637000110" ftype="fasta" value="637000110.fna"/> | |
123 </collection> | |
124 </param> | |
125 </conditional> | |
126 <param name="reduced_tree" value="true"/> | |
127 <param name="ali" value="true"/> | |
128 <param name="nt" value="false"/> | |
129 <param name="genes" value="false"/> | |
130 <param name="extra_outputs" value="hmmer_tree_ali,concatenate_pplacer_json,genes_faa"/> | |
131 <output name="phylo_hmm_info" ftype="zip"> | |
132 <assert_contents> | |
133 <has_size value="1579" delta="10"/> | |
134 </assert_contents> | |
135 </output> | |
136 <output name="bin_stats_tree" ftype="tabular"> | |
137 <assert_contents> | |
138 <has_text text="637000110"/> | |
139 <has_text text="Coding density"/> | |
140 <has_text text="# predicted genes"/> | |
141 </assert_contents> | |
142 </output> | |
143 <output_collection name="hmmer_tree" count="1"> | |
144 <element name="637000110" ftype="txt"> | |
145 <assert_contents> | |
146 <has_text text="target name"/> | |
147 <has_text text="AC_000091_551"/> | |
148 </assert_contents> | |
149 </element> | |
150 </output_collection> | |
151 <output name="concatenated_fasta" ftype="fasta"> | |
152 <assert_contents> | |
153 <has_text text="637000110"/> | |
154 <has_text text="MLKAGVHFGHQTRYW"/> | |
155 </assert_contents> | |
156 </output> | |
157 <output name="concatenated_tre" ftype="phyloxml"> | |
158 <assert_contents> | |
159 <has_text text="IMG_646564547"/> | |
160 <has_text text="g__Methanocaldococcus"/> | |
161 </assert_contents> | |
162 </output> | |
163 <output_collection name="hmmer_tree_ali" count="1"> | |
164 <element name="637000110" ftype="txt"> | |
165 <assert_contents> | |
166 <has_text text="hmmsearch"/> | |
167 <has_text text="Query"/> | |
168 <has_text text="Ribosom_S12_S23"/> | |
169 </assert_contents> | |
170 </element> | |
171 </output_collection> | |
172 <output name="concatenated_pplacer_json" ftype="json"> | |
173 <assert_contents> | |
174 <has_text text="IMG_646564547"/> | |
175 <has_text text="f__Methanocaldococcaceae"/> | |
176 <has_text text="tree"/> | |
177 </assert_contents> | |
178 </output> | |
179 <output_collection name="genes_faa" count="1"> | |
180 <element name="637000110" ftype="fasta"> | |
181 <assert_contents> | |
182 <has_text text=">AC_000091_1"/> | |
183 <has_text text="AFLDYFAD"/> | |
184 <has_text text=">AC_000091_2"/> | |
185 </assert_contents> | |
186 </element> | |
187 </output_collection> | |
188 </test> | |
189 <test expect_num_outputs="6"> | |
190 <conditional name="bins"> | |
191 <param name="select" value="collection"/> | |
192 <param name="bins_coll"> | |
193 <collection type="list"> | |
194 <element name="637000110" ftype="fasta" value="637000110.fna"/> | |
195 </collection> | |
196 </param> | |
197 </conditional> | |
198 <param name="reduced_tree" value="true"/> | |
199 <param name="ali" value="false"/> | |
200 <param name="nt" value="true"/> | |
201 <param name="genes" value="false"/> | |
202 <param name="extra_outputs" value="genes_fna"/> | |
203 <output name="phylo_hmm_info" ftype="zip"> | |
204 <assert_contents> | |
205 <has_size value="1579" delta="10"/> | |
206 </assert_contents> | |
207 </output> | |
208 <output name="bin_stats_tree" ftype="tabular"> | |
209 <assert_contents> | |
210 <has_text text="637000110"/> | |
211 <has_text text="Coding density"/> | |
212 <has_text text="# predicted genes"/> | |
213 </assert_contents> | |
214 </output> | |
215 <output_collection name="hmmer_tree" count="1"> | |
216 <element name="637000110" ftype="txt"> | |
217 <assert_contents> | |
218 <has_text text="target name"/> | |
219 <has_text text="AC_000091_551"/> | |
220 </assert_contents> | |
221 </element> | |
222 </output_collection> | |
223 <output name="concatenated_fasta" ftype="fasta"> | |
224 <assert_contents> | |
225 <has_text text="637000110"/> | |
226 <has_text text="MLKAGVHFGHQTRYW"/> | |
227 </assert_contents> | |
228 </output> | |
229 <output name="concatenated_tre" ftype="phyloxml"> | |
230 <assert_contents> | |
231 <has_text text="IMG_646564547"/> | |
232 <has_text text="g__Methanocaldococcus"/> | |
233 </assert_contents> | |
234 </output> | |
235 <output_collection name="genes_fna" count="1"> | |
236 <element name="637000110" ftype="fasta"> | |
237 <assert_contents> | |
238 <has_text text=">AC_000091_1"/> | |
239 <has_text text="GCGTTTCTGGATT"/> | |
240 </assert_contents> | |
241 </element> | |
242 </output_collection> | |
243 </test> | |
244 <test expect_num_outputs="5"> | |
245 <conditional name="bins"> | |
246 <param name="select" value="collection"/> | |
247 <param name="bins_coll"> | |
248 <collection type="list"> | |
249 <element name="637000110" ftype="fasta" value="637000110.faa"/> | |
250 </collection> | |
251 </param> | |
252 </conditional> | |
253 <param name="reduced_tree" value="true"/> | |
254 <param name="ali" value="false"/> | |
255 <param name="nt" value="false"/> | |
256 <param name="genes" value="true"/> | |
257 <param name="extra_outputs" value=""/> | |
258 <output name="phylo_hmm_info" ftype="zip"> | |
259 <assert_contents> | |
260 <has_size value="1579" delta="10"/> | |
261 </assert_contents> | |
262 </output> | |
263 <output name="bin_stats_tree" ftype="tabular"> | |
264 <assert_contents> | |
265 <has_text text="637000110"/> | |
266 <has_text text="Coding density"/> | |
267 <has_text text="# predicted genes"/> | |
268 </assert_contents> | |
269 </output> | |
270 <output_collection name="hmmer_tree" count="1"> | |
271 <element name="637000110" ftype="txt"> | |
272 <assert_contents> | |
273 <has_text text="target name"/> | |
274 <has_text text="AC_000091_163"/> | |
275 </assert_contents> | |
276 </element> | |
277 </output_collection> | |
278 <output name="concatenated_fasta" ftype="fasta"> | |
279 <assert_contents> | |
280 <has_text text="637000110"/> | |
281 <has_text text="MLKAGVHFGHQTRYW"/> | |
282 </assert_contents> | |
283 </output> | |
284 <output name="concatenated_tre" ftype="phyloxml"> | |
285 <assert_contents> | |
286 <has_text text="IMG_646564547"/> | |
287 <has_text text="g__Methanocaldococcus"/> | |
288 </assert_contents> | |
289 </output> | |
290 </test> | |
291 </tests> | |
292 <help><![CDATA[ | |
293 @HELP_HEADER@ | |
294 | |
295 This command places bins in the genome tree. | |
296 | |
297 The following heuristic is used to establish the translation table used by Prodigal: use table 11 unless the coding density using table 4 is 5% higher than when using table 11 and the coding density under table 4 is >70%. Distinguishing between tables 4 and 25 is challenging so CheckM does not attempt to distinguish between these two tables. If you know the correct translation table for your genomes, it is recommended that you call genes outside of CheckM and provide CheckM with the protein sequences | |
298 | |
299 ]]></help> | |
300 <expand macro="citations"/> | |
301 </tool> |