view do-partition.xml @ 3:eacbaa76d6fc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit f30bc6f7e10409dfa0dd65688e60da8b59f12464
author iuc
date Mon, 14 Nov 2016 17:50:16 -0500
parents 09779cc94f94
children e562293ee5ec
line wrap: on
line source

<tool id="khmer_partition" name="Sequence partition all-in-one" version="@WRAPPER_VERSION@.0">
    <description>Load, partition, and annotate FAST[AQ] sequences</description>
    <macros>
        <token name="@BINARY@">do-partition.py</token>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version" />
    <command><![CDATA[
set -xu &&
#for $num, $input in enumerate($inputs)
    ln -s ${input} sequence-${num} &&
#end for
mkdir -p output && cd output &&
@BINARY@
@TABLEPARAMS@
@THREADS@
output
../sequence-*
]]>
    </command>
    <inputs>
        <expand macro="input_sequences_filenames" />
        <expand macro="tableinputs" />
    </inputs>
    <outputs>
        <data name="information" format="txt" from_work_dir="output.info" label="${tool.name} summary." />
        <collection name="annotated_sequence_files" type="list">
            <discover_datasets pattern="__name__" directory="output" />
        </collection>
    </outputs>
    <tests>
        <test>
            <param name="inputs" value="random-20-a.fa"/>
            <output_collection name="annotated_sequence_files" type="list">
                <element name="sequence-0.part" 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>