view fasta_manual_input.xml @ 7:89c5ba120b21 draft

Uploaded
author petr-novak
date Mon, 02 Dec 2019 08:41:43 -0500
parents a4cd8608ef6b
children c2c69c6090f0
line wrap: on
line source

<tool id="fasta_input" name="Fasta interactive input" version="1.0.0">
  <description> Enter fasta file to text window </description>
  <command>
    echo "${fasta_text}" > ${fasta_file}  &amp;&amp;
    sed -i 's/__gt__/>/g' ${fasta_file}  &amp;&amp;
    sed -i 's/__cn__/\n/g' ${fasta_file}
  </command>

  <inputs>
    <param  type="text" name="fasta_text" area="True" size="50x150" label="Paste sequences in fasta format" />
  </inputs>


  <outputs>
    <data format="fasta" name="fasta_file" label="fasta sequence manually edited" />
  </outputs>

  <help>
    This is helper tool to enter fasta sequences manualy
  </help>
</tool>