view macros_tests.xml @ 3:fd59d783248a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit f04fe62fb7dbad75e597da8cd674cfe36ed3d80a"
author iuc
date Mon, 02 Dec 2019 08:14:29 -0500
parents 014a21767ac4
children 740057a5126d
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="ticks">
                    <param name="show_ticks" value="yes" />

                    <repeat name="tick_group">
                        <param name="spacing" value="5000" />
                    </repeat>
                    <repeat name="tick_group">
                        <param name="spacing" value="20000" />
                        <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>