view macros_tests.xml @ 7:4b519282a05b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit ef20b4968a6d00c49209de6b723f8b96d8bd128a"
author iuc
date Mon, 25 May 2020 10:52:02 -0400
parents 740057a5126d
children 290a11559985
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <xml name="test_cases">
        <tests>
            <test>
                <section name="reference_genome">
                    <conditional name="ref">
                        <param name="ref_source" value="history" />
                        <param name="genome_fasta" value="1/input.fa" />
                    </conditional>
                </section>

                <section name="outputs">
                    <param name="png" value="yes" />
                    <param name="svg" value="yes" />
                </section>

                <output name="output_png" file="0/out.png" compare="sim_size" delta="15000" ftype="png"/>
                <output name="output_svg" file="0/out.svg" compare="sim_size" delta="15000" ftype="svg"/>
            </test>
            <test>
                <section name="reference_genome">
                    <conditional name="ref">
                        <param name="ref_source" value="history" />
                        <param name="genome_fasta" value="1/input.fa" />
                    </conditional>
                </section>

                <section name="outputs">
                    <param name="svg" value="yes" />
                </section>

                <section name="ideogram">
                    <param name="units" value="kb" />
                </section>

                <section name="ticks">
                    <repeat name="tick_group">
                        <param name="spacing" value="1" />
                    </repeat>
                    <repeat name="tick_group">
                        <param name="spacing" value="5" />
                        <conditional name="ticks">
                            <param name="show_tick_labels" value="yes" />
                            <param name="format" value="%.1f" />
                        </conditional>
                    </repeat>
                </section>

                <section name="sec_tdd">
                    <repeat name="data">
                        <param name="r0" value="0.8" />
                        <param name="r1" value="0.9" />
                        <conditional name="plot_format">
                            <param name="plot_format_select" value="histogram" />
                            <param name="data_source" value="1/sine.tab" />
                        </conditional>
                    </repeat>
                    <repeat name="data">
                        <param name="r0" value="0.7" />
                        <param name="r1" value="0.8" />
                        <conditional name="plot_format">
                            <param name="plot_format_select" value="scatter" />
                            <param name="data_source" value="1/sine.tab" />
                        </conditional>
                    </repeat>
                    <repeat name="data">
                        <param name="r0" value="0.6" />
                        <param name="r1" value="0.7" />
                        <conditional name="plot_format">
                            <param name="plot_format_select" value="tile" />
                            <param name="data_source" value="1/tiles.bed" />
                        </conditional>
                    </repeat>
                </section>

                <section name="sec_links">
                    <repeat name="data">
                        <param name="radius" value="0.59" />
                        <param name="data_source" value="1/links.txt"/>
                        <conditional name="linktype">
                            <param name="ribbon" value="yes" />
                        </conditional>
                    </repeat>
                </section>

                <!-- Outputs -->
                <output name="output_png" file="1/out.png" compare="sim_size" delta="15000" ftype="png"/>
                <output name="output_svg" file="1/out.svg" compare="sim_size" delta="15000" ftype="svg"/>
            </test>
        </tests>
    </xml>
</macros>