Mercurial > repos > galaxyp > eggnog_mapper
diff 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 (18 months ago) |
parents | |
children | d9c3016f7283 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eggnog_mapper_search.xml Mon Sep 04 12:47:09 2023 +0000 @@ -0,0 +1,101 @@ +<tool id="eggnog_mapper_search" name="eggNOG Mapper" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> + <description>search phase</description> + <macros> + <import>eggnog_macros.xml</import> + </macros> + <expand macro="requirements"/> + <expand macro="version_command"/> + <command detect_errors="aggressive"><![CDATA[ + emapper.py + @DB_TOKEN@ + @ORTHO_SEARCH_TOKEN@ + + $output_options.no_file_comments + --output='results' + --cpu "\${GALAXY_SLOTS:-4}" + --scratch_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR} + --temp_dir \${TEMP:-\$_GALAXY_JOB_TMP_DIR} + ]]></command> + <inputs> + <expand macro="db_macro"/> + <expand macro="ortho_search_macro"/> + <expand macro="output_options_macro"/> + </inputs> + <outputs> + <expand macro="ortho_search_output_macro"/> + </outputs> + <tests> + <!-- test producing only seed orthologs--> + <test expect_num_outputs="1"> + <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/> + <conditional name="ortho_method"> + <param name="input" value="Nmar_0135.fa" ftype="fasta"/> + </conditional> + <section name="output_options"> + <param name="no_file_comments" value="true"/> + </section> + <expand macro="seed_orthologs_assertion"/> + <expand macro="stdout_assertion"/> + </test> + + <!-- test setting a diamond option--> + <test expect_num_outputs="1"> + <param name="eggnog_data" value="@EGGNOG_DB_VERSION@"/> <!-- not passed in test, but required for test to work --> + <conditional name="ortho_method"> + <param name="m" value="diamond" /> + <param name="input" value="Nmar_0135.fa" ftype="fasta"/> + <param name="sensmode" value="fast" /> + </conditional> + <section name="output_options"> + <param name="no_file_comments" value="true"/> + </section> + <expand macro="seed_orthologs_assertion"/> + <expand macro="stdout_assertion"> + <has_text text="--sensmode fast"/> + </expand> + </test> + </tests> + <help>< + +Another alternative is to use cached annotations (produced in a run with --md5 enabled). + + + ]]></help> + <expand macro="citations"/> +</tool>