view MergeFiles.xml @ 7:33a9aff96cb3 draft

Uploaded
author bornea
date Wed, 03 Aug 2016 15:14:17 -0400
parents c1b96e4abf8d
children 7f22e53d5028
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>
    <requirement type="package" version="0.14.1">package_pandas_0_14</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>