0
|
1 <tool id="fasta_input" name="Fasta interactive input" version="1.0.0">
|
|
2 <description> Enter fasta file to text window </description>
|
|
3 <command>
|
|
4 echo "${fasta_text}" > ${fasta_file} &&
|
|
5 sed -i 's/__gt__/>/g' ${fasta_file} &&
|
|
6 sed -i 's/__cn__/\n/g' ${fasta_file}
|
|
7 </command>
|
|
8
|
|
9 <inputs>
|
|
10 <param type="text" name="fasta_text" area="True" size="50x150" label="Paste sequences in fasta format" />
|
|
11 </inputs>
|
|
12
|
|
13
|
|
14 <outputs>
|
|
15 <data format="fasta" name="fasta_file" label="fasta sequence manually edited" />
|
|
16 </outputs>
|
|
17
|
|
18 <help>
|
|
19 This is helper tool to enter fasta sequences manualy
|
|
20 </help>
|
|
21 </tool>
|