comparison data_manager/data_manager_eggnog.xml @ 2:a74d61dbd155 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper commit f431329cd1c7f8a6014207a4ebfd9ffaa67e5497-dirty
author jjohnson
date Mon, 04 Nov 2019 16:38:44 -0500
parents
children 9d94fe7ce8b9
comparison
equal deleted inserted replaced
1:7de7487a7e8d 2:a74d61dbd155
1 <tool id="data_manager_eggnog" name="EggNOG DB Download" version="@VERSION@" tool_type="manage_data">
2 <description>Download a new database</description>
3 <macros>
4 <token name="@VERSION@">4.5.1</token>
5 </macros>
6 <requirements>
7 <requirement type="package" version="@VERSION@">eggnog-mapper</requirement>
8 </requirements>
9 <version_command>emapper.py --version</version_command>
10 <command detect_errors="exit_code"><![CDATA[
11 #import json, os
12 #set params = json.loads(open(str($out_file)).read())
13 #set install_path = $params['output_data'][0]['extra_files_path'].encode('ascii', 'replace')
14 #if $dbs:
15 #set $eggnogdbs = ' '.join($dbs.split(','))
16 #else
17 #set $eggnogdbs = 'none'
18 #endif
19 #if $test == 'false'
20 mkdir -p '${target_directory}' &&
21 download_eggnog_data.py
22 $diamond_database -y -q --data_dir $install_path $eggnogdbs
23 ' '.join(dbs.split(',')) &&
24 #end if
25 python '${__tool_directory__}/data_manager_eggnog.py --config_file $out_file --install_path $target_directory --dbs '$dbs'
26 ]]></command>
27 <inputs>
28 <param name="test" type="hidden" value="false" />
29 <param name="target_path" type="text" label="Download Destination (full path)" />
30 <param name="diamond_database" type="boolean" truevalue="" falsevalue="-D" checked="true" label="Install the diamond database"/>
31 <param argument="dbs" type="select" multiple="true" label="eggNOG HMM databases to download. If none are selected only diamond can be used'">
32 <option value="arch" selected="true">eggnog_4.5.1 arch</option>
33 <option value="bact" selected="true">eggnog_4.5.1 bact</option>
34 <option value="euk" selected="true">eggnog_4.5.1 euk</option>
35 <option value="NOG" selected="true">All organisms (NOG)</option>
36 <option value="aciNOG">Acidobacteria (aciNOG)</option>
37 <option value="acidNOG">Acidobacteriia (acidNOG)</option>
38 <option value="acoNOG">Aconoidasida (acoNOG)</option>
39 <option value="actNOG">Actinobacteria (actNOG)</option>
40 <option value="agaNOG">Agaricales (agaNOG)</option>
41 <option value="agarNOG">Agaricomycetes (agarNOG)</option>
42 <option value="apiNOG">Apicomplexa (apiNOG)</option>
43 <option value="aproNOG">Proteobacteria_alpha (aproNOG)</option>
44 <option value="aquNOG">Aquificae (aquNOG)</option>
45 <option value="arNOG">Archaea (arNOG)</option>
46 <option value="arcNOG">Archaeoglobi (arcNOG)</option>
47 <option value="artNOG">Arthropoda (artNOG)</option>
48 <option value="arthNOG">Arthrodermataceae (arthNOG)</option>
49 <option value="ascNOG">Ascomycota (ascNOG)</option>
50 <option value="aveNOG">Aves (aveNOG)</option>
51 <option value="bacNOG">Bacilli (bacNOG)</option>
52 <option value="bactNOG">Bacteria (bactNOG)</option>
53 <option value="bacteNOG">Bacteroidia (bacteNOG)</option>
54 <option value="basNOG">Basidiomycota (basNOG)</option>
55 <option value="bctoNOG">Bacteroidetes (bctoNOG)</option>
56 <option value="biNOG">Bilateria (biNOG)</option>
57 <option value="bproNOG">Proteobacteria_beta (bproNOG)</option>
58 <option value="braNOG">Brassicales (braNOG)</option>
59 <option value="carNOG">Carnivora (carNOG)</option>
60 <option value="chaNOG">Chaetomiaceae (chaNOG)</option>
61 <option value="chlNOG">Chlorobi (chlNOG)</option>
62 <option value="chlaNOG">Chlamydiae (chlaNOG)</option>
63 <option value="chloNOG">Chloroflexi (chloNOG)</option>
64 <option value="chlorNOG">Chloroflexi (chlorNOG)</option>
65 <option value="chloroNOG">Chlorophyta (chloroNOG)</option>
66 <option value="chorNOG">Chordata (chorNOG)</option>
67 <option value="chrNOG">Chromadorea (chrNOG)</option>
68 <option value="cloNOG">Clostridia (cloNOG)</option>
69 <option value="cocNOG">Coccidia (cocNOG)</option>
70 <option value="creNOG">Crenarchaeota (creNOG)</option>
71 <option value="cryNOG">Cryptosporidiidae (cryNOG)</option>
72 <option value="cyaNOG">Cyanobacteria (cyaNOG)</option>
73 <option value="cytNOG">Cytophagia (cytNOG)</option>
74 <option value="debNOG">Debaryomycetaceae (debNOG)</option>
75 <option value="defNOG">Deferribacteres (defNOG)</option>
76 <option value="dehNOG">Dehalococcoidetes (dehNOG)</option>
77 <option value="deiNOG">Deinococcusthermus (deiNOG)</option>
78 <option value="delNOG">delta/epsilon (delNOG)</option>
79 <option value="dipNOG">Diptera (dipNOG)</option>
80 <option value="dotNOG">Dothideomycetes (dotNOG)</option>
81 <option value="dproNOG">Proteobacteria_delta (dproNOG)</option>
82 <option value="droNOG">Drosophilidae (droNOG)</option>
83 <option value="eproNOG">Proteobacteria_epsilon (eproNOG)</option>
84 <option value="eryNOG">Erysipelotrichi (eryNOG)</option>
85 <option value="euNOG">Eukaryotes (euNOG)</option>
86 <option value="eurNOG">Euryarchaeota (eurNOG)</option>
87 <option value="euroNOG">Eurotiomycetes (euroNOG)</option>
88 <option value="eurotNOG">Eurotiales (eurotNOG)</option>
89 <option value="fiNOG">Fishes (fiNOG)</option>
90 <option value="firmNOG">Firmicutes (firmNOG)</option>
91 <option value="flaNOG">Flavobacteriia (flaNOG)</option>
92 <option value="fuNOG">Fungi (fuNOG)</option>
93 <option value="fusoNOG">Fusobacteria (fusoNOG)</option>
94 <option value="gproNOG">Proteobacteria_gamma (gproNOG)</option>
95 <option value="haeNOG">Haemosporida (haeNOG)</option>
96 <option value="halNOG">Halobacteria (halNOG)</option>
97 <option value="homNOG">Hominidae (homNOG)</option>
98 <option value="hymNOG">Hymenoptera (hymNOG)</option>
99 <option value="hypNOG">Hypocreales (hypNOG)</option>
100 <option value="inNOG">Insects (inNOG)</option>
101 <option value="kinNOG">Kinetoplastida (kinNOG)</option>
102 <option value="lepNOG">Lepidoptera (lepNOG)</option>
103 <option value="lilNOG">Liliopsida (lilNOG)</option>
104 <option value="maNOG">Mammals (maNOG)</option>
105 <option value="magNOG">Magnaporthales (magNOG)</option>
106 <option value="meNOG">Animals (meNOG)</option>
107 <option value="metNOG">Methanobacteria (metNOG)</option>
108 <option value="methNOG">Methanococci (methNOG)</option>
109 <option value="methaNOG">Methanomicrobia (methaNOG)</option>
110 <option value="necNOG">Nectriaceae (necNOG)</option>
111 <option value="negNOG">Negativicutes (negNOG)</option>
112 <option value="nemNOG">Nematodes (nemNOG)</option>
113 <option value="onyNOG">Onygenales (onyNOG)</option>
114 <option value="opiNOG">Opisthokonts (opiNOG)</option>
115 <option value="perNOG">Peronosporales (perNOG)</option>
116 <option value="plaNOG">Planctomycetes (plaNOG)</option>
117 <option value="pleNOG">Pleosporales (pleNOG)</option>
118 <option value="poaNOG">Poales (poaNOG)</option>
119 <option value="prNOG">Primates (prNOG)</option>
120 <option value="proNOG">Proteobacteria (proNOG)</option>
121 <option value="rhaNOG">Rhabditida (rhaNOG)</option>
122 <option value="roNOG">Rodents (roNOG)</option>
123 <option value="sacNOG">Saccharomycetaceae (sacNOG)</option>
124 <option value="saccNOG">Saccharomycetes (saccNOG)</option>
125 <option value="sorNOG">Sordariales (sorNOG)</option>
126 <option value="sordNOG">Sordariomycetes (sordNOG)</option>
127 <option value="sphNOG">Sphingobacteriia (sphNOG)</option>
128 <option value="spiNOG">Spirochaetes (spiNOG)</option>
129 <option value="spriNOG">Supraprimates (spriNOG)</option>
130 <option value="strNOG">Streptophyta (strNOG)</option>
131 <option value="synNOG">Synergistetes (synNOG)</option>
132 <option value="tenNOG">Tenericutes (tenNOG)</option>
133 <option value="thaNOG">Thaumarchaeota (thaNOG)</option>
134 <option value="theNOG">Thermoplasmata (theNOG)</option>
135 <option value="therNOG">Thermotogae (therNOG)</option>
136 <option value="thermNOG">Thermococci (thermNOG)</option>
137 <option value="treNOG">Tremellales (treNOG)</option>
138 <option value="veNOG">Vertebrates (veNOG)</option>
139 <option value="verNOG">Verrucomicrobia (verNOG)</option>
140 <option value="verrNOG">Verrucomicrobiae (verrNOG)</option>
141 <option value="virNOG">Viridiplantae (virNOG)</option>
142 </param>
143 </inputs>
144 <outputs>
145 <data name="out_file" format="data_manager_json" label="${tool.name}"/>
146 </outputs>
147 <tests>
148 <test>
149 <param name="test" value="true"/>
150 <param name="diamond_database" value="false"/>
151 <output name="out_file">
152 <assert_contents>
153 <has_text text="eggnog_mapper_db" />
154 </assert_contents>
155 </output>
156 </test>
157 </tests>
158 <help><![CDATA[
159 This tool downloads eggnog data using download_eggnog_data.py
160 and populates the data tables: eggnog_mapper_db and eggnog_mapper_hmm_dbs.
161 ]]></help>
162 <citations>
163 <citation type="doi">10.1093/nar/gkv1248</citation>
164 </citations>
165 </tool>