view MergeFiles.xml @ 14:ad5fcf21511c draft default tip

Uploaded
author bornea
date Wed, 03 Aug 2016 15:37:39 -0400
parents 7f22e53d5028
children
line wrap: on
line source

<tool id="MergeScaffold" name="Merge Scaffold">
  <description></description>
  <command interpreter="python">MergeFiles.py $input1 $input2 $input3 $baitfile $merged</command>
    <requirements>
    <requirement type="set_environment">INSTALL_RUN_PATH</requirement>
  </requirements>
  <inputs>
    <param format="txt" name="input1" type="data" label="Scaffold Output 1"/>
    <param format="txt" name="input2" type="data" label="Scaffold Output 2"/>
    <param format="txt" name="input3" type="data" label="Scaffold Output 3" optional = "true"/>
    <param format="txt" name="baitfile" type="data" label="baitfile"/>
  </inputs>
  <outputs>
    <data format="txt" name="merged" label="Merged Scaffold Report"/>    
  </outputs>
  <stdio>
    <regex match="Error|error"
     source="stdout"
           level="fatal"
           description="Unknown error"/>
    <regex match="Error|error"
     source="stderr"
           level="fatal"
           description="Unknown error"/>
    <regex match="Error: bad bait"
           source="stdout"
           level="fatal"
           description="Error: bad bait"/>
  </stdio> 
  <tests>
    <test>
      <param name="input" value="fa_gc_content_input.fa"/>
      <output name="out_file1" file="fa_gc_content_output.txt"/>
    </test>
  </tests>
  <help>
    This program will merge either 2 or 3 scaffold sample report files together.
  </help>
</tool>