comparison metaquantome_db.xml @ 6:e63db1aa82ee draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit ec66b5b0627e7cf15b6e67e90d82ba8e0743b761
author galaxyp
date Mon, 18 Mar 2024 12:34:24 +0000
parents a72ac2c7cc5b
children
comparison
equal deleted inserted replaced
5:860429737408 6:e63db1aa82ee
1 <tool id="metaquantome_db" name="metaQuantome: database" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> 1 <tool id="metaquantome_db" name="metaQuantome: database" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2 <description>download the GO, EC, and NCBI databases</description> 2 <description>download the GO, EC, and NCBI databases</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="xrefs"/>
7 <expand macro="requirements"/>
7 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
8 mkdir -p data && 9 mkdir -p data &&
9 #set $database_list = str($databases).split(',') 10 #set $database_list = str($databases).split(',')
10 #for $d in $database_list 11 #for $d in $database_list
11 metaquantome db '$d' 12 metaquantome db '$d'
12 --dir data && 13 --dir data &&
13 #end for 14 #end for
14 tar --create --file '$outfile' data 15 tar --create --file '$outfile' data
15 ]]></command> 16 ]]></command>
16 <inputs> 17 <inputs>
17 <param name="databases" type="select" multiple="True" display="checkboxes" 18 <param name="databases" type="select" multiple="True" display="checkboxes" label="Databases to Download">
18 label="Databases to Download"> 19 <option value="ncbi" selected="true">NCBI Taxonomy Database</option>
19 <option value="ncbi" selected="true">NCBI Taxonomy Database</option> 20 <option value="go" selected="true">Gene Ontology Database</option>
20 <option value="go" selected="true">Gene Ontology Database</option> 21 <option value="ec" selected="true">Enzyme Commission (EC) database</option>
21 <option value="ec" selected="true">Enzyme Commission (EC) database</option>
22 </param> 22 </param>
23 </inputs> 23 </inputs>
24 <outputs> 24 <outputs>
25 <data format="tar" name="outfile" label="metaquantome databases"/> 25 <data format="tar" name="outfile" label="metaquantome databases"/>
26 </outputs> 26 </outputs>
27 <tests> 27 <tests>
28 <test> 28 <test>
29 <param name="databases" value="go"/> 29 <param name="databases" value="go"/>
30 <output name="outfile"> 30 <output name="outfile">
31 <assert_contents> 31 <assert_contents>
32 <has_text text="ontology: go"/> 32 <has_text text="ontology: go"/>
33 <has_text text="ontology: go/subsets/goslim_metagenomics"/> 33 <has_text text="ontology: go/subsets/goslim_metagenomics"/>
34 </assert_contents> 34 </assert_contents>
35 </output> 35 </output>
36 </test> 36 </test>
37 </tests> 37 </tests>
38 <help> 38 <help>
39 <![CDATA[ 39 <![CDATA[
40 metaQuantome database 40 metaQuantome database
41 ===================== 41 =====================
67 Questions, Comments, Problems, Kudos 67 Questions, Comments, Problems, Kudos
68 ------------------------------------ 68 ------------------------------------
69 69
70 Please file any issues at https://github.com/galaxyproteomics/tools-galaxyp/issues. 70 Please file any issues at https://github.com/galaxyproteomics/tools-galaxyp/issues.
71 ]]></help> 71 ]]></help>
72 <expand macro="citations" /> 72 <expand macro="citations"/>
73 </tool> 73 </tool>