view sylphtax_plugin.xml @ 30:26ee5e11ecbe draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/multiqc commit d4b9696c6c533ca1841c22b52bb3e73833e2e0d4
author iuc
date Thu, 15 Jan 2026 20:39:44 +0000
parents
children
line wrap: on
line source

<macros>
    <token name="@SYLPHTAX_COMMAND@"><![CDATA[
        #for $file in $repeat.software_cond.input
            @ESCAPE_IDENTIFIER@
            #set file_path = os.path.join($software_dir, str($identifier) + '.sylphmpa')
            ln -s '$file' '$file_path' &&
        #end for
    ]]></token>
    <xml name="sylphtax_form">
        <param name="input" type="data" format="tabular" multiple="true" label="Output of Sylph-tax" help="It should be the sylphmpa report from Sylph-tax"/>
    </xml>
    <xml name="sylphtax_test">
        <test expect_num_outputs="3">
            <repeat name="results">
                <conditional name="software_cond">
                    <param name="software" value="sylphtax"/>
                    <param name="input" value="sylphtax.sylphmpa"/>
                </conditional>
            </repeat>
            <param name="title" value="Title of the report"/>
            <param name="comment" value="Commment for the report"/>
            <param name="flat" value="true"/>
            <param name="export" value="true"/>
            <output name="html_report">
                <assert_contents>
                    <has_text text="Title of the report"/>
                    <has_text text="Commment for the report"/>
                    <has_text text="Sylph-tax"/>
                </assert_contents>
            </output>
            <output_collection name="plots" type="list" count="8"/>
        </test>
    </xml>
</macros>