view macros_tests.xml @ 2:014a21767ac4 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit 076837a2e9c2b6ececcea4aa286ea7a412387a96"
author iuc
date Tue, 17 Sep 2019 16:54:57 -0400
parents
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>