Mercurial > repos > ufz > checkv_build_database
annotate data_manager/checkv_datamanager.xml @ 3:7e80c69020f7 draft default tip
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 40d304560b0b732bcc2b6397a72964caf1a5a451
author | ufz |
---|---|
date | Wed, 18 Dec 2024 12:30:25 +0000 |
parents | 88042a5ead89 |
children |
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> |
3
7e80c69020f7
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 40d304560b0b732bcc2b6397a72964caf1a5a451
ufz
parents:
2
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">3</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 - && |
2
88042a5ead89
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit c78bd5eafa3d9450305cc8b32ba9cf8c64c42ba7
ufz
parents:
1
diff
changeset
|
19 mkdir -p '$out_file.extra_files_path' && |
88042a5ead89
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit c78bd5eafa3d9450305cc8b32ba9cf8c64c42ba7
ufz
parents:
1
diff
changeset
|
20 mv checkv-db-v${version} '$out_file.extra_files_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
|
21 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
|
22 ]]></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
|
23 <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
|
24 <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
|
25 { |
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 "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
|
27 "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
|
28 { |
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
|
29 "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
|
30 "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
|
31 "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
|
32 "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
|
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 }]]> |
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 </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
|
38 </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
|
39 <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
|
40 <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
|
41 <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
|
42 </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
|
43 </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
|
44 <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
|
45 <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
|
46 </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
|
47 <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
|
48 <!-- <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
|
49 <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
|
50 <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
|
51 <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
|
52 <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
|
53 <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
|
54 </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
|
55 </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
|
56 </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
|
57 </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
|
58 <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
|
59 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
|
60 ]]></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
|
61 <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
|
62 <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
|
63 </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
|
64 </tool> |