view pcdl_plot_timeseries.xml @ 0:c8c9631bec71 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
author iuc
date Mon, 04 Aug 2025 19:00:59 +0000
parents
children
line wrap: on
line source

<tool id="pcdl_plot_timeseries" name="pcdl_plot_timeseries" version="3.0.1+galaxy0" profile="21.05">
    <macros>
        <import>pcdl_macros.xml</import>
    </macros>
    <requirements>
        <expand macro="requirement"/>
    </requirements>
    <command><![CDATA[
        #import re
        mkdir output_pc &&
        #for $file in $path:
            #set $filename = re.sub('[^\w\-\.\s]', '_', str($file.element_identifier))
            ln -s '$file' output_pc/$filename &&
        #end for

        pcdl_plot_timeseries output_pc '$focus_cat' '$focus_num' '$aggregate_num'
        --custom_data_type $custom_data_type
        --microenv $microenv
        --physiboss $physiboss
        --settingxml 'none'
        --verbose $verbose
        --frame $frame
        --z_slice '$z_slice'
        --logy $logy
        --ylim '$ylim'
        --secondary_y $secondary_y
        --subplots $subplots
        --sharex $sharex
        --sharey $sharey
        --linestyle $linestyle
        --linewidth '$linewidth'
        --cmap '$cmap'
        --color '$color'
        --grid $grid
        --legend $legend
        --yunit '$yunit'
        --title '$title'
        --figsizepx $figsizepx_x $figsizepx_y
        --ext $ext
        --figbgcolor '$figbgcolor'
    ]]></command>
    <inputs>
        <section name="essential" title="essential:" expanded="true">
            <expand macro="path"/>
            <expand macro="focus_cat"/>
            <expand macro="focus_num"/>
            <expand macro="aggregate_num"/>
            <expand macro="custom_data_type"/>
            <expand macro="frame"/>
            <expand macro="z_slice"/>
            <expand macro="logy"/>
            <expand macro="ylim"/>
            <expand macro="secondary_y"/>
            <expand macro="subplots"/>
            <expand macro="sharex"/>
            <expand macro="sharey"/>
            <expand macro="linestyle"/>
            <expand macro="linewidth"/>
            <expand macro="cmap"/>
            <expand macro="color"/>
            <expand macro="grid"/>
            <expand macro="legend"/>
            <expand macro="yunit"/>
            <expand macro="title"/>
            <expand macro="figsizepx_x"/>
            <expand macro="figsizepx_y"/>
            <expand macro="ext"/>
            <expand macro="figbgcolor"/>
        </section>
        <section name="advanced" title="advanced:" expanded="false">
            <expand macro="microenv"/>
            <expand macro="physiboss"/>
            <expand macro="verbose"/>
        </section>
    </inputs>
    <outputs>
        <collection name="timeseries_plot" type="list">
            <discover_datasets pattern="(?P&lt;designation&gt;timeseries_.+)\.jpeg" format="jpg" directory="output_pc" visible="false"/>
        </collection>
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <section name="essential">
                <param name="path">
                    <expand macro="output"/>
                </param>
            </section>
            <section name="advanced">
                <param name="verbose" value="true"/>
            </section>
            <output_collection name="timeseries_plot" count="1">
                <element name="timeseries_cell_total_count">
                    <assert_contents>
                        <has_text text="JFIF"/>
                    </assert_contents>
                </element>
            </output_collection>
        </test>
    </tests>
    <help><![CDATA[
This function to generate a timeseries plot and either returns a matplotlib figure or an image file (jpeg, png, tiff).

Homepage: https://github.com/elmbeech/physicelldataloader
    ]]></help>
    <citations>
        <expand macro="citation"/>
    </citations>
</tool>