Mercurial > repos > devteam > kraken_translate
annotate macros.xml @ 7:e0458a8ae67b draft
"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:31:10 +0000 |
| parents | e44e186320d7 |
| children |
| rev | line source |
|---|---|
| 0 | 1 <?xml version="1.0"?> |
| 2 <macros> | |
|
7
e0458a8ae67b
"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 | 4 <xml name="requirements"> |
| 5 <requirements> | |
|
7
e0458a8ae67b
"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 | 7 </requirements> |
| 8 </xml> | |
| 9 <xml name="version_command"> | |
|
6
e44e186320d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_translate/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
5
diff
changeset
|
10 <version_command><![CDATA[ |
|
e44e186320d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_translate/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
5
diff
changeset
|
11 export LC_ALL=C && kraken --version |
|
e44e186320d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_translate/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
5
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"> | |
|
6
e44e186320d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_translate/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
5
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> | |
|
7
e0458a8ae67b
"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, |
|
e0458a8ae67b
"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 |
|
e0458a8ae67b
"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 |
|
e0458a8ae67b
"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 --> |
|
e0458a8ae67b
"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> |
|
e0458a8ae67b
"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
e44e186320d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_translate/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents:
5
diff
changeset
|
32 </macros> |
