view MergeFiles.xml @ 9:abe608eb4aa4 draft

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

<tool id="MergeScaffold" name="Merge Scaffold">
  <description></description>
  <command interpreter="python">MergeFilesWrapper.py $input1 $input2 $input3 $baitfile $merged \$INSTALL_RUN_PATH/</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>