view do-partition.xml @ 9:8388fe31d604 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/khmer commit 238d0992c63de53623c4fc05eec8bd8d67001997
author iuc
date Thu, 03 Oct 2024 13:46:07 +0000
parents 5a0fa29951ae
children
line wrap: on
line source

<tool id="khmer_partition" name="khmer: Sequence partition all-in-one" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>Load, partition, and annotate sequences</description>
    <macros>
        <token name="@BINARY@">do-partition.py</token>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version" />
    <command><![CDATA[
set -u &&
@LINK_SEQUENCES@
mkdir -p output && cd output &&
@BINARY@
@TABLEPARAMS@
@THREADS@
output
@USE_SEQUENCES@
]]>
    </command>
    <inputs>
        <expand macro="input_sequences_filenames" />
        <expand macro="tableinputs" />
    </inputs>
    <outputs>
        <data name="information" format="txt" from_work_dir="output/output.info" label="${tool.name} on ${on_string}: summary" />
        <expand macro="output_sequences" extension="part"/>
    </outputs>
    <tests>
        <test>
            <param name="inputs" value="random-20-a.fa"/>
            <output name="information">
                <assert_contents>
                    <has_text text="1 subsets total"/>
                </assert_contents>
            </output>
            <output_collection name="sequences" type="list">
                <element name="random-20-a.fa" file="random-20-a.fa.part" />
            </output_collection>
        </test>
    </tests>
    <help><![CDATA[
Load in a set of sequences, partition them, merge the partitions, and
annotate the original sequences files with the partition information.

This script combines the functionality of `load-graph.py`,
`partition-graph.py`, `merge-partitions.py`, and
`annotate-partitions.py` into one script. This is convenient
but should probably not be used for large data sets, because
`do-partition.py` doesn't provide save/resume functionality.

]]>
    </help>
    <citations>
        <expand macro="software-citation" />
        <expand macro="graph-citation" />
    </citations>
</tool>