Mercurial > repos > galaxyp > eggnog_mapper
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="	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>< | |
| 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> |
