comparison eggnog_mapper_search.xml @ 13:844fa988236b draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper commit 468bd31b8858adbba2854f118e4cbe31f4cd68cb
author galaxyp
date Mon, 04 Sep 2023 12:47:09 +0000
parents
children d9c3016f7283
comparison
equal deleted inserted replaced
12:9d1fbff733cf 13:844fa988236b
1 <tool id="eggnog_mapper_search" name="eggNOG Mapper" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>search phase</description>
3 <macros>
4 <import>eggnog_macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="version_command"/>
8 <command detect_errors="aggressive"><![CDATA[
9 emapper.py
10 @DB_TOKEN@
11 @ORTHO_SEARCH_TOKEN@
12
13 $output_options.no_file_comments
14 --output='results'
15 --cpu "\${GALAXY_SLOTS:-4}"
16 --scratch_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR}
17 --temp_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR}
18 ]]></command>
19 <inputs>
20 <expand macro="db_macro"/>
21 <expand macro="ortho_search_macro"/>
22 <expand macro="output_options_macro"/>
23 </inputs>
24 <outputs>
25 <expand macro="ortho_search_output_macro"/>
26 </outputs>
27 <tests>
28 <!-- test producing only seed orthologs-->
29 <test expect_num_outputs="1">
30 <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/>
31 <conditional name="ortho_method">
32 <param name="input" value="Nmar_0135.fa" ftype="fasta"/>
33 </conditional>
34 <section name="output_options">
35 <param name="no_file_comments" value="true"/>
36 </section>
37 <expand macro="seed_orthologs_assertion"/>
38 <expand macro="stdout_assertion"/>
39 </test>
40
41 <!-- test setting a diamond option-->
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="m" value="diamond" />
46 <param name="input" value="Nmar_0135.fa" ftype="fasta"/>
47 <param name="sensmode" value="fast" />
48 </conditional>
49 <section name="output_options">
50 <param name="no_file_comments" value="true"/>
51 </section>
52 <expand macro="seed_orthologs_assertion"/>
53 <expand macro="stdout_assertion">
54 <has_text text="--sensmode fast"/>
55 </expand>
56 </test>
57 </tests>
58 <help><![CDATA[
59
60 eggnog-mapper
61 =============
62 Overview
63 --------
64
65 ``eggnog-mapper`` is a tool for fast functional annotation of novel sequences (genes or proteins) using precomputed eggNOG-based orthology assignments.
66 Obvious examples include the annotation of novel genomes, transcriptomes or even metagenomic gene catalogs.
67 The use of orthology predictions for functional annotation is considered more precise than traditional homology searches,
68 as it avoids transferring annotations from paralogs (duplicate genes with a higher chance of being involved in functional divergence).
69
70 EggNOG-mapper is also available as a public online resource: `<http://beta-eggnogdb.embl.de/#/app/emapper>`_.
71
72 Outputs
73 -------
74
75 @HELP_SEARCH_OUTPUTS@
76
77 **Recommentation for large input data**
78
79 EggNOG-mapper consists of two phases
80
81 1. finding seed orthologous sequences (compute intensive)
82 2. expanding annotations (IO intensive)
83
84 by default (i.e. if *Method to search seed orthologs* is not *Skip search stage...* and *Annotate seed orthologs* is *Yes*)
85 both phases are executed within one tool run.
86
87 For large input FASTA datasets in can be favourable to split this in two separate
88 tool runs as follows:
89
90 1. Split the FASTA (e.g. 1M seqs per data set)
91 2. Run the search phase only (set *Annotate seed orthologs* to *No*) on the separate FASTA files.
92 3. Run the annotation phase (set *Method to search seed orthologs* to *Skip search stage...*)
93
94 See [also](https://github.com/eggnogdb/eggnog-mapper/wiki/eggNOG-mapper-v2.1.5-to-v2.1.8#Setting_up_large_annotation_jobs)
95
96 Another alternative is to use cached annotations (produced in a run with --md5 enabled).
97
98
99 ]]></help>
100 <expand macro="citations"/>
101 </tool>