view macros_tests.xml @ 11:31a35811dda6 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/circos commit b9ec351920dbc83fa14bd1f8cfdd0a6a19b89473"
author iuc
date Tue, 16 Nov 2021 09:20:08 +0000
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>