view interproscan5/fastabox.xml @ 0:0da2847fc108 draft default tip

Uploaded
author si-datascience
date Thu, 24 May 2018 14:57:30 -0400
parents
children
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>