view data_manager/twobit_builder.xml @ 2:9946bc39c834 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_twobit_builder commit 8652f36a3a3838dca989426961561e81432acf4f
author iuc
date Tue, 04 Apr 2017 18:16:29 -0400
parents df883cc67fbd
children 5c77d4091880
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>