view interproscan5/fastabox.xml @ 7:1a4c5ab108fc draft

Uploaded
author mkh
date Fri, 05 Feb 2016 13:08:08 -0500
parents 3cb68964c2a8
children f2153ec1ccfd
line wrap: on
line source

<tool id="fastabox" name="FASTA from text" version="1.0.1">
    <description>Simple creation of FASTA file from text area field.</description>
    <requirements>
        <requirement type="set_environment">INTERPROSCAN_SCRIPT_PATH</requirement>
    </requirements>

    <command>
        cp $fasta_file $output
    </command>

    <inputs>
        <param name="dataset_label" type="text" size="60" label="Dataset label"/>
        <param name="url_paste" type="text" area="True" size="20x60" label="FASTA formatted sequence(s)">
            <sanitizer>
                <valid initial="string.printable">
                    <remove value="&apos;"/>
                </valid>
            </sanitizer>
        </param>
    </inputs>

    <outputs>
        <data format="fasta" name="output" label="${dataset_label}"/>
    </outputs>

    <configfiles>
        <configfile name="fasta_file">
            $url_paste
        </configfile>
    </configfiles>

    <requirements>
    </requirements>

    <help><![CDATA[
**What it does**

Simply creates a FASTA dataset from a text input field. This is useful for a workflow where a tool needs a FASTA input,
        and the user should not be required to get the dataset into their history by something more complicated
        than direct input.


#####
Input
#####

Required is a FASTA formatted text containing protein or nucleotide sequences.


######
Output
######

A FASTA file.
]]>
    </help>
</tool>