annotate macros.xml @ 7:6e690205b306 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
author iuc
date Tue, 03 Dec 2019 18:30:10 +0000
parents ccfb9cbfcc72
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
2 <macros>
7
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
3 <token name="@WRAPPER_VERSION@">1.3.1</token>
0
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
4 <xml name="requirements">
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
5 <requirements>
7
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
6 <requirement type="package" version="1.1.1">kraken</requirement>
0
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
7 </requirements>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
8 </xml>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
9 <xml name="version_command">
6
ccfb9cbfcc72 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 5
diff changeset
10 <version_command><![CDATA[
ccfb9cbfcc72 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 5
diff changeset
11 export LC_ALL=C && kraken --version
ccfb9cbfcc72 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 5
diff changeset
12 ]]></version_command>
0
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
13 </xml>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
14 <xml name="input_database">
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
15 <param label="Select a Kraken database" name="kraken_database" type="select">
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
16 <options from_data_table="kraken_databases">
6
ccfb9cbfcc72 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 5
diff changeset
17 <validator message="No Kraken database is available" type="no_options" />
0
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
18 </options>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
19 </param>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
20 </xml>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
21 <xml name="citations">
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
22 <citations>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
23 <citation type="doi">10.1186/gb-2014-15-3-r46</citation>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
24 </citations>
60d9479c58d6 Uploaded
devteam
parents:
diff changeset
25 </xml>
7
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
26 <!-- See the kraken_databases.loc.sample documentation,
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
27 this if statement is for backward compatibility as early
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
28 versions of the wrapper assumed the UI facing field name
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
29 was also part of the directory path -->
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
30 <token name="@SET_DATABASE_PATH@">if [ -d '${kraken_database.fields.path}/${kraken_database.fields.name}' ]; then export KRAKEN_DEFAULT_DB='${kraken_database.fields.path}/${kraken_database.fields.name}'; else export KRAKEN_DEFAULT_DB='${kraken_database.fields.path}'; fi</token>
6e690205b306 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 6
diff changeset
31 <token name="@INPUT_DATABASE@">--db "\$KRAKEN_DEFAULT_DB"</token>
6
ccfb9cbfcc72 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 5
diff changeset
32 </macros>