view macro.xml @ 1:4e73ea176c34 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgcca commit ce05b5eb018ae1c4d580ab5ce1a33896c1aa8c5b"
author iuc
date Sun, 18 Jul 2021 18:03:12 +0000
parents 067d45e6caa9
children
line wrap: on
line source

<macros>

    <token name="@TOOL_VERSION@">3.0.2</token>

    <token name="@VERSION_SUFFIX@">1</token>

    <token name="@BLOCK_RULES@">1 corresponds to the first block, 2 corresponds to the second one, etc. This number should not be greater than the number of blocks selected.</token>

    <token name="@COMP_RULES@">This number should not be greater than the selected number of component (2, by default).</token>

    <xml name="output_tests" token_path="">
        <param name="output_selector" value="individuals,corcircle,top_variables,ave,design,individual_table,variable_table,rdata"/>
        <output name="individual_plot" file="@PATH@/individuals.pdf" ftype="pdf"/>
        <output name="top_variables" file="@PATH@/top_variables.pdf" ftype="pdf"/>
        <output name="corcircle" file="@PATH@/corcircle.pdf" ftype="pdf"/>
        <output name="ave" file="@PATH@/ave.pdf" ftype="pdf"/>
        <output name="design" file="@PATH@/design.pdf" ftype="pdf"/>
        <output name="rdata" file="@PATH@/rgcca.result.RData" compare="sim_size" delta="1000" ftype="rdata"/>
        <output name="variable_table">
            <assert_contents>
                <has_line_matching
                        expression='.*"correlation.component1"\s"correlation.component2".*\s"weight.component1"\s"weight.component2".*\s"blocks"'/>
                <has_line_matching
                        expression='^.+(\s\-?\d+.\d+){4,6}.+$'/>
            </assert_contents>
        </output>
    </xml>

    <xml name="output_tests_3blocks">
        <param name="blocks" value="agriculture.tsv,industry.tsv,politic.tsv" ftype = "tsv"/>
        <section name="analyse">
            <conditional name="tau">
                <param name="bool" value="false"/>
                <param name="value" value="0.75"/>
            </conditional>
            <param name="scheme" value="4"/>
        </section>
        <assert_command>
            <has_text text="--penalty 0.75"/>
            <has_text text="--scheme 4"/>
        </assert_command>
    </xml>

</macros>