Mercurial > repos > ufz > checkv_build_database
annotate data_manager/checkv_datamanager.xml @ 1:3756ac7a625b draft
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 6af6386e3049c1c95535118f68d0f51c8610e96b
author | ufz |
---|---|
date | Fri, 20 Sep 2024 09:44:08 +0000 |
parents | 4bd77968fe29 |
children | 88042a5ead89 |
rev | line source |
---|---|
0
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
1 <tool id="checkv_build_database" name="CheckV" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
2 <description>database builder</description> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
3 <macros> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.0.3</token> |
1
3756ac7a625b
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 6af6386e3049c1c95535118f68d0f51c8610e96b
ufz
parents:
0
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">1</token> |
0
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
6 <token name="@PROFILE@">22.01</token> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
7 </macros> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
8 <requirements> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
9 <!-- DM only needs diamon (which comes with checkv) --> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
10 <requirement type="package" version="@TOOL_VERSION@">checkv</requirement> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
11 </requirements> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
13 set -eo pipefail; |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
14 wget https://portal.nersc.gov/CheckV/checkv-db-v${version}.tar.gz && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
15 tar -zxvf checkv-db-v${version}.tar.gz && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
16 cd checkv-db-v${version}/genome_db/ && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
17 diamond makedb --in checkv_reps.faa --db checkv_reps && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
18 cd - && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
19 mv checkv-db-v${version} checkv-db && |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
20 cp '$dmjson' '$out_file' |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
21 ]]></command> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
22 <configfiles> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
23 <configfile name="dmjson"><![CDATA[ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
24 { |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
25 "data_tables":{ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
26 "checkv":[ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
27 { |
1
3756ac7a625b
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 6af6386e3049c1c95535118f68d0f51c8610e96b
ufz
parents:
0
diff
changeset
|
28 "path":"checkv-db/", |
0
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
29 "name":"Version $version", |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
30 "version":"$version", |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
31 "value":"$version" |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
32 } |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
33 ] |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
34 } |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
35 }]]> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
36 </configfile> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
37 </configfiles> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
38 <inputs> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
39 <param name="version" type="select" multiple="false" label="Database Version"> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
40 <option value="1.5">1.5</option> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
41 </param> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
42 </inputs> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
43 <outputs> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
44 <data name="out_file" format="data_manager_json" /> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
45 </outputs> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
46 <tests> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
47 <!-- <test expect_num_outputs="1"> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
48 <param name="version" value="1.5" /> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
49 <output name="out_file"> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
50 <assert_contents> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
51 <has_text text='"value":"1.5"'/> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
52 <has_text text='"name":"Version 1.5"'/> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
53 </assert_contents> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
54 </output> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
55 </test> --> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
56 </tests> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
57 <help><![CDATA[ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
58 Download and extract CheckV reference data from https://portal.nersc.gov/CheckV/ |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
59 ]]></help> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
60 <citations> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
61 <citation type="doi">10.1038/s41587-020-00774-7</citation> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
62 </citations> |
4bd77968fe29
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
ufz
parents:
diff
changeset
|
63 </tool> |