view gff3_splitgff.xml @ 3:8bd03ba8510a draft

planemo upload commit edc74553919d09dcbe27fcadf144612c1ad3a2a2
author cpt
date Fri, 28 Apr 2023 01:35:25 +0000
parents
children 4b60e0b6a150
line wrap: on
line source

<tool id="edu.tamu.cpt2.gff3.splitGff" name="Split GFF3+Fasta into separate parts" version="22.0.0">
  <description/>
  <macros>
    <import>macros.xml</import>
    <import>cpt-macros.xml</import>
  </macros>
  <expand macro="requirements"/>
  <command detect_errors="aggressive"><![CDATA[
'python $__tool_directory__/gff3_splitgff.py'
'$input'

--gff '$gff_out'
--fasta '$fasta_out'
]]></command>
  <inputs>
    <param label="Combined GFF3/Fasta File" name="input" type="data" format="gff,gff3"/>
  </inputs>
  <outputs>
    <data format="gff3" label="GFF Portion of ${input.name}" name="gff_out"/>
    <data format="fasta" label="Fasta Portion of ${input.name}" name="fasta_out"/>
  </outputs>
  <tests>
    <test>
      <param name="input" value="Miro_SplitIn.gff3"/>
      <output name="gff" file="Miro_SplitOut.gff3"/>
      <output name="fasta" file="Miro_SplitOut.fa"/>
    </test>
  </tests>
  <help><![CDATA[
**What it does**

Splits apart the GFF3/Fasta data in a combined file into separate fasta and gff3 files.
      ]]></help>
  <expand macro="citations"/>
</tool>