5
|
1 <tool id="fastabox" name="FASTA from text" version="1.0.0">
|
|
2 <description>Simple creation of FASTA file from text area field.</description>
|
|
3 <requirements>
|
|
4 <requirement type="set_environment">INTERPROSCAN_SCRIPT_PATH</requirement>
|
|
5 </requirements>
|
|
6
|
|
7 <command>
|
6
|
8 cp $fasta_file $output
|
5
|
9 </command>
|
|
10
|
|
11 <inputs>
|
|
12 <param name="dataset_label" type="text" size="60" label="Dataset label"/>
|
6
|
13 <param name="url_paste" type="text" area="True" size="20x60" label="FASTA formatted sequence(s)">
|
|
14 <sanitizer>
|
|
15 <valid initial="string.printable">
|
|
16 <remove value="'"/>
|
|
17 </valid>
|
|
18 </sanitizer>
|
|
19 </param>
|
5
|
20 </inputs>
|
|
21
|
|
22 <outputs>
|
|
23 <data format="fasta" name="output" label="${dataset_label}"/>
|
|
24 </outputs>
|
|
25
|
6
|
26 <configfiles>
|
|
27 <configfile name="fasta_file">
|
|
28 $url_paste
|
|
29 </configfile>
|
|
30 </configfiles>
|
|
31
|
5
|
32 <requirements>
|
|
33 </requirements>
|
|
34
|
6
|
35 <help><![CDATA[
|
5
|
36 **What it does**
|
|
37
|
|
38 Simply creates a FASTA dataset from a text input field. This is useful for a workflow where a tool needs a FASTA input,
|
|
39 and the user should not be required to get the dataset into their history by something more complicated
|
|
40 than direct input.
|
|
41
|
|
42
|
|
43 #####
|
|
44 Input
|
|
45 #####
|
|
46
|
|
47 Required is a FASTA formatted text containing protein or nucleotide sequences.
|
|
48
|
|
49
|
|
50 ######
|
|
51 Output
|
|
52 ######
|
|
53
|
|
54 A FASTA file.
|
6
|
55 ]]>
|
5
|
56 </help>
|
|
57 </tool>
|