7
|
1 <tool id="fastabox" name="FASTA from text" version="1.0.1">
|
5
|
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>
|
8
|
27 <configfile name="fasta_file">$url_paste</configfile>
|
6
|
28 </configfiles>
|
|
29
|
5
|
30 <requirements>
|
|
31 </requirements>
|
|
32
|
6
|
33 <help><![CDATA[
|
5
|
34 **What it does**
|
|
35
|
|
36 Simply creates a FASTA dataset from a text input field. This is useful for a workflow where a tool needs a FASTA input,
|
|
37 and the user should not be required to get the dataset into their history by something more complicated
|
|
38 than direct input.
|
|
39
|
|
40
|
|
41 #####
|
|
42 Input
|
|
43 #####
|
|
44
|
|
45 Required is a FASTA formatted text containing protein or nucleotide sequences.
|
|
46
|
|
47
|
|
48 ######
|
|
49 Output
|
|
50 ######
|
|
51
|
|
52 A FASTA file.
|
6
|
53 ]]>
|
5
|
54 </help>
|
|
55 </tool>
|