Mercurial > repos > iuc > data_manager_cat
annotate data_manager/data_manager_cat.xml @ 1:74af283d8ebd draft
"planemo upload commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165"
author | iuc |
---|---|
date | Sun, 22 Nov 2020 12:47:10 +0000 |
parents | cffd8e2382cf |
children | 472dabcb03bf |
rev | line source |
---|---|
0
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
1 <tool id="data_manager_cat" name="CAT DB" version="5.0.3.0" tool_type="manage_data" profile="18.09"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
2 <description>Install a new CAT database</description> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
3 <requirements> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
4 <requirement type="package" version="5.0.3">cat</requirement> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
5 </requirements> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
6 <version_command><![CDATA[ CAT --version ]]></version_command> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
8 mkdir -p '$out_file.extra_files_path' && |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
9 python '${__tool_directory__}/data_manager_cat.py' |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
10 --config_file '$out_file' |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
11 --install_path '$out_file.extra_files_path' |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
12 #if $db.src == 'download' |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
13 --db_url '$db.db_url' |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
14 #end if |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
15 ]]></command> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
16 <inputs> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
17 <conditional name="db"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
18 <param name="src" type="select" label="Download or Build DBs"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
19 <option value="download">download</option> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
20 <option value="build">build</option> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
21 </param> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
22 <when value="download"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
23 <param name="db_url" type="text" label="DB URL at https://tbb.bio.uu.nl/bastiaan/CAT_prepare/" |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
24 help="example: https://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20190719.tar.gz"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
25 </param> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
26 </when> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
27 <when value="build"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
28 </when> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
29 </conditional> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
30 </inputs> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
31 <outputs> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
32 <data name="out_file" format="data_manager_json" label="${tool.name}"/> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
33 </outputs> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
34 <tests> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
35 <test> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
36 <conditional name="db"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
37 <param name="src" value="download"/> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
38 <param name="db_url" value="https://github.com/galaxyproject/tools-iuc/blob/ce82f787f1f035debfc86de09a271a9ec8d27e0e/data_managers/data_manager_cat/test-data/CAT_prepare_test.tar.gz?raw=true"/> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
39 </conditional> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
40 <output name="out_file"> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
41 <assert_contents> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
42 <has_text text="CAT_prepare_test/taxonomy" /> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
43 </assert_contents> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
44 </output> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
45 </test> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
46 </tests> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
47 <help><![CDATA[ |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
48 This tool prepares reference data for CAT, the Contig Annotation Tool. |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
49 It can either download prebuilt reference data from https://tbb.bio.uu.nl/bastiaan/CAT_prepare/ |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
50 or build new reference data using the CAT prepare application. |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
51 |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
52 This requires at least 100GB of RAM, 250GB of disk space, and 24 hours. |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
53 ]]></help> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
54 <expand macro="citations" /> |
cffd8e2382cf
"planemo upload commit 4e5a8d7629d90c41219b48b648dd4ab675b84af0"
iuc
parents:
diff
changeset
|
55 </tool> |