view flexbar_plugin.xml @ 27:7591bce96601 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 327834d2ea9b16f0f0264fa4e9b675a2277f2fee
author iuc
date Tue, 18 Feb 2025 23:18:25 +0000
parents a7e081ceb76a
children
line wrap: on
line source

<macros>
    <token name="@FLEXBAR_COMMAND@"><![CDATA[
        #set $pattern = "flexible barcode and adapter removal"
        @LN_FILES@
    ]]></token>
    <xml name="flexbar_form">
        <param name="input" type="data" format="txt,tabular,tsv,csv" label="Output of Flexbar" help="It should contain 'Flexbar - flexible barcode and adapter removal" multiple="true"/>
    </xml>
    <!-- add here your test files and tests, the more stringent the better -->
    <xml name="flexbar_test">
        <test expect_num_outputs="3">
            <repeat name="results">
                <conditional name="software_cond">
                    <param name="software" value="flexbar"/>
                    <param name="input" value="flexbar.txt"/>
                </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="flexbar_plot"/>
                </assert_contents>
            </output>
            <output name="stats">
                <assert_contents>
                    <has_text text="flexbar-removed_bases_pct"/>
                    <has_text text="result_right"/>
                    <has_n_lines n="2"/>
                    <has_n_columns n="2"/>
                </assert_contents>
            </output>
            <output_collection name="plots" type="list" count="1"/>
        </test>
    </xml>
</macros>