comparison eggnog_mapper_annotate.xml @ 12:a5d5e84eed93 draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit 0e3cff872b53efe21cbf4905ed0b072337192001
author galaxyp
date Mon, 19 Jan 2026 22:22:38 +0000
parents
children
comparison
equal deleted inserted replaced
11:1f2be4ae431f 12:a5d5e84eed93
1 <tool id="eggnog_mapper_annotate" name="eggNOG Mapper" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>annotation phase</description>
3 <macros>
4 <import>eggnog_macros.xml</import>
5 </macros>
6 <expand macro="biotools"/>
7 <expand macro="requirements"/>
8 <expand macro="version_command"/>
9 <command detect_errors="aggressive"><![CDATA[
10 @MERGE_ANNOTATIONS@
11
12 emapper.py
13 @DB_TOKEN@
14 -m no_search
15 @ORTHO_SEARCH_TOKEN@
16
17 @ANNOTATION_TOKEN@
18 $output_options.no_file_comments
19 $output_options.report_orthologs
20 $output_options.md5
21 --output='results'
22 --cpu "\${GALAXY_SLOTS:-1}"
23 --scratch_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR}
24 --temp_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR}
25 ]]></command>
26 <inputs>
27 <expand macro="db_macro"/>
28 <expand macro="ortho_annotate_macro"/>
29
30 <section name="annotation_options" title="Annotation options">
31 <expand macro="annotation_options_macro"/>
32 </section>
33
34 <expand macro="output_options_annotate_macro"/>
35 </inputs>
36 <outputs>
37 <expand macro="annotation_output_macro"/>
38 <expand macro="annotation_orthologs_output_macro"/>
39 </outputs>
40 <tests>
41 <!-- test producing annotations form seed orthologs -->
42 <test expect_num_outputs="1">
43 <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/> <!-- not passed in test, but required for test to work -->
44 <conditional name="ortho_method">
45 <param name="annotate_hits_table" value="DIA_nlim.emapper.seed_orthologs" ftype="tabular">
46 <!-- this has no effect at the moment since column_names can not be set in uploads <metadata name="column_names" value="@SEED_ORTHOLOG_COLUMNS@"/> -->
47 </param>
48 </conditional>
49 <conditional name="annotation_options">
50 </conditional>
51 <section name="output_options">
52 <param name="report_orthologs" value="false"/>
53 <param name="no_file_comments" value="true"/>
54 </section>
55 <expand macro="annotations_assertion"/>
56 <expand macro="stdout_assertion"/>
57 </test>
58
59 <!-- test using chached annotations from previous run -->
60 <test expect_num_outputs="2">
61 <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/> <!-- not passed in test, but required for test to work -->
62 <conditional name="ortho_method">
63 <param name="m" value="cache"/>
64 <param name="input" value="Nmar_0135.fa" ftype="fasta"/>
65 <param name="cache" value="DIA_nlim.emapper.annotations_cached" ftype="tabular"/>
66 </conditional>
67 <section name="output_options">
68 <param name="report_orthologs" value="true"/>
69 <param name="no_file_comments" value="true"/>
70 <param name="md5" value="true"/>
71 </section>
72 <expand macro="annotations_assertion" columns="22" add_metadata_columm_names=",md5" add_column_names="&#009;md5" add_column_re="\t[\d\w]+"/>
73 <output name="no_annotations" ftype="fasta">
74 <assert_contents>
75 <has_n_lines n="0"/>
76 </assert_contents>
77 </output>
78 <expand macro="stdout_assertion"/>
79 </test>
80
81 <!-- test setting tax scope-->
82 <test expect_num_outputs="2">
83 <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/> <!-- not passed in test, but required for test to work -->
84 <conditional name="ortho_method">
85 <param name="annotate_hits_table" value="DIA_nlim.emapper.seed_orthologs" ftype="tabular">
86 <!-- this has no effect at the moment since column_names can not be set in uploads <metadata name="column_names" value="@SEED_ORTHOLOG_COLUMNS@"/> -->
87 </param>
88 </conditional>
89 <section name="annotation_options">
90 <param name="tax_scope" value="651137" />
91 </section>
92 <section name="output_options">
93 <param name="report_orthologs" value="true"/>
94 <param name="no_file_comments" value="true"/>
95 </section>
96 <expand macro="annotations_assertion"/>
97 <expand macro="annotations_orthologs_assertion"/>
98 <expand macro="stdout_assertion">
99 <has_text text="--tax_scope=651137"/>
100 </expand>
101 </test>
102 </tests>
103 <help><![CDATA[
104
105 eggnog-mapper
106 =============
107 Overview
108 --------
109
110 ``eggnog-mapper`` is a tool for fast functional annotation of novel sequences (genes or proteins) using precomputed eggNOG-based orthology assignments.
111 Obvious examples include the annotation of novel genomes, transcriptomes or even metagenomic gene catalogs.
112 The use of orthology predictions for functional annotation is considered more precise than traditional homology searches,
113 as it avoids transferring annotations from paralogs (duplicate genes with a higher chance of being involved in functional divergence).
114
115 EggNOG-mapper is also available as a public online resource: `<http://beta-eggnogdb.embl.de/#/app/emapper>`_.
116
117 Outputs
118 -------
119
120 @HELP_ANNOTATION_OUTPUTS@
121
122 **Recommentation for large input data**
123
124 EggNOG-mapper consists of two phases
125
126 1. finding seed orthologous sequences (compute intensive)
127 2. expanding annotations (IO intensive)
128
129 by default (i.e. if *Method to search seed orthologs* is not *Skip search stage...* and *Annotate seed orthologs* is *Yes*)
130 both phases are executed within one tool run.
131
132 For large input FASTA datasets in can be favourable to split this in two separate
133 tool runs as follows:
134
135 1. Split the FASTA (e.g. 1M seqs per data set)
136 2. Run the search phase only (set *Annotate seed orthologs* to *No*) on the separate FASTA files.
137 3. Run the annotation phase (set *Method to search seed orthologs* to *Skip search stage...*)
138
139 See [also](https://github.com/eggnogdb/eggnog-mapper/wiki/eggNOG-mapper-v2.1.5-to-v2.1.8#Setting_up_large_annotation_jobs)
140
141 Another alternative is to use cached annotations (produced in a run with --md5 enabled).
142
143
144 ]]></help>
145 <expand macro="citations"/>
146 </tool>