view abromics_galaxy_json_extractor_summarize.xml @ 3:b35f42891c7b draft default tip

planemo upload commit 8721cd95e02dd6b3a02e2eb549cd8ff6b1675ff8-dirty
author pimarin
date Sun, 23 Jul 2023 13:36:37 +0000
parents 5a7db3d820c5
children
line wrap: on
line source

<tool id="abromics_extractor_summarize" name="abromics_extractor_summarize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>
        Summarize results from abromicsextractor
    </description>
    <macros>
        <import>macro.xml</import>
    </macros>
    <expand macro='edam'/>
    <expand macro="requirements"/>
    <expand macro="version_command"/>
    <command detect_errors="aggressive"><![CDATA[     
        mkdir -p input_files &&
        #for $file in $summarize_data
            cp $file input_files &&
        #end for
        abromics_extract summarize input_files/* -o abromics_summary.json
        ]]>
    </command>
    <inputs>
        <param name="summarize_data" type="data" multiple="true" format="json" label="Results in Json format" help="Summarize results from abromicsextractor in json format"/>
    </inputs>
    <outputs>
        <data name="summary_json" format="json" from_work_dir="abromics_summary.json" label="${tool.name} on ${on_string}: Summarized file"/>
    </outputs>
    <tests>
        <test expect_num_outputs="1"> <!-- TEST_1 sumarize json results -->
            <param name="summarize_data" ftype="json" value="summarize/abricate_output.json,summarize/bracken_full_output.json,summarize/plasmidfinder_output.json"/>
            <output name="summary_json" ftype="json" value="summarize/summarize.json" compare="sim_size"/>
        </test>
    </tests>
    <help><![CDATA[**What it does**
        Summarize Json output file from abromics_galaxy_json_extractor to only one json file
    ]]></help>
    <expand macro="citations"/>
</tool>