view data_manager/twobit_builder.xml @ 4:fced964b054a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_twobit_builder commit ba82deebf385e4b2d4c55a43f34f0553478e6059
author iuc
date Fri, 09 Jun 2017 05:30:02 -0400
parents e697ffc1197e
children ced9f4a48806
line wrap: on
line source

<tool id="twobit_builder_data_manager" name="TwoBit" tool_type="manage_data" version="0.0.2">
    <requirements>
        <requirement type="package" version="324">ucsc-fatotwobit</requirement>
    </requirements>
    <description>builder</description>
    <command detect_errors="exit_code"><![CDATA[
        python '$__tool_directory__/twobit_builder.py'
        '${out_file}'
        --fasta_filename '${all_fasta_source.fields.path}'
        --fasta_dbkey '${all_fasta_source.fields.dbkey}'
        --fasta_description '${all_fasta_source.fields.name}'
    ]]></command>
    <inputs>
        <param name="all_fasta_source" type="select" label="Source FASTA Sequence">
            <options from_data_table="all_fasta"/>
        </param>
        <param name="sequence_name" type="text" value="" label="Name of sequence" />
        <param name="sequence_id" type="text" value="" label="ID for sequence" />
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json"/>
    </outputs>

    <tests>
        <test>
            <param name="all_fasta_source" value="sacCer2"/>
            <param name="sequence_name" value=""/>
            <output name="sequence_id" file="data_manager_two_bit_out_1.dat"/>
        </test>
    </tests>

    <help>
.. class:: infomark

**Notice:** If you leave name, description, or id blank, it will be generated automatically.
    </help>
</tool>