annotate metaquantome_db.xml @ 1:92dc88f0acf1 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit 74c403057350af3dde81aea154414a0d6a84d2a3"
author galaxyp
date Wed, 23 Sep 2020 17:00:20 +0000
parents fe70ad1a3247
children 6f2211aeb393
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
1 <tool id="metaquantome_db" name="metaQuantome: database" version="@GVERSION@">
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
2 <description>download the GO, EC, and NCBI databases</description>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
3 <macros>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
4 <import>macros.xml</import>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
5 </macros>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
6 <expand macro="requirements" />
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
8 mkdir -p data &&
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
9 #set $database_list = str($databases).split(',')
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
10 #for $d in $database_list
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
11 metaquantome db $d
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
12 --dir data &&
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
13 #end for
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
14 tar --create --file '$outfile' data
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
15 ]]></command>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
16 <inputs>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
17 <param name="databases" type="select" multiple="True" display="checkboxes"
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
18 label="Databases to Download">
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
19 <option value="ncbi" selected="true">NCBI Taxonomy Database</option>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
20 <option value="go" selected="true">Gene Ontology Database</option>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
21 <option value="ec" selected="true">Enzyme Commission (EC) database</option>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
22 </param>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
23 </inputs>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
24 <outputs>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
25 <data format="tar" name="outfile" label="metaquantome databases"/>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
26 </outputs>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
27 <tests>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
28 <test>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
29 <param name="databases" value="go"/>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
30 <output name="outfile">
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
31 <assert_contents>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
32 <has_text text="ontology: go"/>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
33 <has_text text="ontology: go/subsets/goslim_metagenomics"/>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
34 </assert_contents>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
35 </output>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
36 </test>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
37 </tests>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
38 <help>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
39 <![CDATA[
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
40 metaQuantome database
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
41 =====================
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
42
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
43 metaQuantome uses freely available bioinformatic databases to expand your set of direct annotations.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
44 For most cases, all 3 databases can be downloaded (the default).
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
45
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
46 The databases are:
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
47
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
48 1. NCBI taxonomy database. This contains a list of all currently identified taxa and the
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
49 relationships between them.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
50
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
51 2. Gene Ontology (GO) term database. metaQuantome uses the OBO format of the database. Specifically, two
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
52 files are used: the go-basic.obo file, which is a simplified version of the GO database that is guaranteed to be acyclic,
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
53 and the metagenomics slim GO, which is a subset of the full GO that is useful for microbiome research. More details are available at
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
54 http://geneontology.org/docs/download-ontology/
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
55
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
56 3. ENZYME database with Enzyme Classification (EC) numbers. This database classifies enzymes and organizes the
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
57 relationships between them.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
58
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
59 This module downloads the most recent releases of the specified databases and stores them in a single file, which can then
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
60 be accessed by the rest of the metaQuantome modules. For reference,
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
61 the taxonomy database is the largest (~500 Mb), while the GO and EC databases are smaller: ~34 Mb and ~10Mb, respectively.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
62
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
63 Also, note that the databases will be stored in the history so that the date of download can be referenced later.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
64 Thus, the databases will not be modified, except for the NCBI database, which is updated every time ``metaQuantome: expand`` is run (this
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
65 is a limitation of the Python package ete3, used within metaQuantome).
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
66
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
67 Questions, Comments, Problems, Kudos
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
68 ------------------------------------
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
69
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
70 Please file any issues at https://github.com/galaxyproteomics/tools-galaxyp/issues.
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
71 ]]></help>
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
72 <expand macro="citations" />
fe70ad1a3247 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metaquantome commit d45eb2747cc58e1120b3935f10ab47c4e0f8f44a
galaxyp
parents:
diff changeset
73 </tool>