Mercurial > repos > iuc > data_manager_mapseq
annotate mapseq_db_fetcher.xml @ 4:19ef193d1316 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
author | iuc |
---|---|
date | Fri, 06 Dec 2024 15:43:18 +0000 |
parents | a0d77af1d226 |
children |
rev | line source |
---|---|
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
1 <tool id="mapseq_db_fetcher" name="Mapseq DB fetcher" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
2 <description>Fetches the DB required for mapseq</description> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
3 <macros> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
5 </macros> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
7 <expand macro="version" /> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
9 <![CDATA[ |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
10 python '$__tool_directory__/data_manager_fetch_mapseq_db.py' |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
11 --out '${out_file}' |
4
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
12 --version '${select_version.version}' |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
13 --database-type '${database_type}' |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
14 $test_data_manager_v5 |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
15 ]]> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
16 </command> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
17 <inputs> |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
18 <!-- <param name="test_data_manager" type="hidden" /> --> |
3
a0d77af1d226
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit b6798b5213eca0d4b176ad3aeef81127dac6dcab
iuc
parents:
2
diff
changeset
|
19 <param name="test_data_manager_v5" type="boolean" truevalue="--test" falsevalue="" checked="False" label="Download minimal test DB and create mock data table entry for v5." /> |
4
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
20 <conditional name="select_version"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
21 <param argument="--version" type="select" label="Select MGnify version"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
22 <option value="5.0">v5.0</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
23 <option value="6.0">v6.0</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
24 </param> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
25 <when value="5.0"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
26 <param name="database_type" type="select" multiple="false" label="Database Type"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
27 <option value="mgnify_v5_lsu">MGnify LSU (v5.0.7)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
28 <option value="mgnify_v5_ssu">MGnify SSU (v5.0.7)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
29 <option value="mgnify_v5_its_itsonedb">MGnify ITS ITSonedb (v5.0.7)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
30 <option value="mgnify_v5_its_unite">MGnify ITS UNITE (v5.0.7)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
31 </param> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
32 </when> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
33 <when value="6.0"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
34 <param name="database_type" type="select" multiple="false" label="Database Type"> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
35 <option value="mgnify_v6_lsu">MGnify LSU (v6.0)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
36 <option value="mgnify_v6_ssu">MGnify SSU (v6.0)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
37 <option value="mgnify_v6_its_itsonedb">MGnify ITS ITSonedb (v6.0)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
38 <option value="mgnify_v6_its_unite">MGnify ITS UNITE (v6.0)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
39 <option value="mgnify_v6_pr2">MGnify PR2 (v6.0)</option> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
40 </param> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
41 </when> |
19ef193d1316
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit abbc840d4383eee1f26abef04b1ce4df1e6e20a2
iuc
parents:
3
diff
changeset
|
42 </conditional> |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
43 </inputs> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
44 <outputs> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
45 <data format="data_manager_json" name="out_file" /> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
46 </outputs> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
47 <tests> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
48 <test expect_num_outputs="1"> |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
49 <param name="test_data_manager_v5" value="--test"/> |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
50 <param name="version" value="5.0.7"/> |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
51 <param name="database_type" value="mgnify_v5_lsu"/> |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
52 <output name="out_file"> |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
53 <assert_contents> |
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
54 <has_text text="mgnify_v5_lsu"/> |
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
55 <has_text text="5.0.7"/> |
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
56 </assert_contents> |
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
57 </output> |
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
58 </test> |
0
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
59 </tests> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
60 <help> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
61 Downloads preformatted DBs form MGnify that can be used for mapseq. |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
62 The download paths were taken from: https://github.com/EBI-Metagenomics/pipeline-v5/ |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
63 </help> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
64 <expand macro="citations" /> |
dbf2735e8480
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 66e797aaa79b92c282a8127260cdfd5702207e35
iuc
parents:
diff
changeset
|
65 <expand macro="creator" /> |
2
23511530b8fd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/ commit 960c1f69ec78943dfe72eff0a0992a2ce15d2555
iuc
parents:
0
diff
changeset
|
66 </tool> |