view pycoqc_plugin.xml @ 24:f7e2f1eb3a16 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
author iuc
date Mon, 02 Sep 2024 14:22:54 +0000
parents
children
line wrap: on
line source

<macros>
    <token name="@PYCOQC_COMMAND@"><![CDATA[
        #set $pattern = "\"pycoqc\":"
        @LN_FILES@
    ]]></token>
    <xml name="pycoqc_form">
        <param name="input" type="data" format="txt,json" multiple="true" label="Output of PycoQC"/>
    </xml>
    <!-- add here your test files and tests, the more stringent the better -->
    <xml name="pycoqc_test">
        <test expect_num_outputs="2">
            <repeat name="results">
                <conditional name="software_cond">
                    <param name="software" value="pycoqc"/>
                    <param name="input" value="pycoqc.json"/>
                </conditional>
            </repeat>
            <param name="title" value="Title of the report"/>
            <param name="comment" value="Commment for the report"/>
            <!-- <param name="flat" 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="General Statistics"/>
                    <has_text text="pycoqc_count_plot"/>
                    <has_text text="pycoqc_read_len_plot"/>
                    <has_text text="pycoqc_read_qual_plot"/>
                </assert_contents>
            </output>
            <output name="stats" ftype="tabular">
                <assert_contents>
                    <has_text text="pycoQC_mqc_generalstats_pycoqc_passed_median_read_length"/>
                    <has_text text="pycoqc_json"/>
                </assert_contents>
            </output>
        </test>
    </xml>
</macros>