view data_manager/twobit_builder.xml @ 7:94a50db37d1a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_twobit_builder commit 096286097ed5cdf189a1b68c3fc34d10f4142e54
author iuc
date Sun, 16 Apr 2023 08:31:43 +0000
parents 62359a151521
children
line wrap: on
line source

<tool id="twobit_builder_data_manager" name="TwoBit" tool_type="manage_data" version="0.0.4" profile="19.05">
    <requirements>
        <requirement type="package" version="377">ucsc-fatotwobit</requirement>
        <requirement type="package" version="3.7">python</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="out_file" file="data_manager_twobit.json"/>
        </test>
    </tests>

    <help>
.. class:: infomark

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