Mercurial > repos > devteam > kraken_report
annotate macros.xml @ 9:8ddbdc9cdc57 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:40 +0000 |
parents | 196f2cf1f0a1 |
children |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <macros> | |
9
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
3 <token name="@WRAPPER_VERSION@">1.3.1</token> |
0 | 4 <xml name="requirements"> |
5 <requirements> | |
9
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
6 <requirement type="package" version="1.1.1">kraken</requirement> |
0 | 7 </requirements> |
8 </xml> | |
9 <xml name="version_command"> | |
7
1c163820e346
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
6
diff
changeset
|
10 <version_command><![CDATA[ |
1c163820e346
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
6
diff
changeset
|
11 export LC_ALL=C && kraken --version |
1c163820e346
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
6
diff
changeset
|
12 ]]></version_command> |
0 | 13 </xml> |
14 <xml name="input_database"> | |
15 <param label="Select a Kraken database" name="kraken_database" type="select"> | |
16 <options from_data_table="kraken_databases"> | |
7
1c163820e346
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
6
diff
changeset
|
17 <validator message="No Kraken database is available" type="no_options" /> |
0 | 18 </options> |
19 </param> | |
20 </xml> | |
21 <xml name="citations"> | |
22 <citations> | |
23 <citation type="doi">10.1186/gb-2014-15-3-r46</citation> | |
24 </citations> | |
25 </xml> | |
9
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
26 <!-- See the kraken_databases.loc.sample documentation, |
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
27 this if statement is for backward compatibility as early |
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
28 versions of the wrapper assumed the UI facing field name |
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
29 was also part of the directory path --> |
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
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> |
8ddbdc9cdc57
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents:
8
diff
changeset
|
31 <token name="@INPUT_DATABASE@">--db "\$KRAKEN_DEFAULT_DB"</token> |
7
1c163820e346
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
6
diff
changeset
|
32 </macros> |