view blast2html.xml @ 84:3338571b44cd draft

first attempt at running on python 2.6
author Jan Kanis <jan.code@jankanis.nl>
date Mon, 23 Jun 2014 17:11:58 +0200
parents e3dd39906eef
children 4340432b7191
line wrap: on
line source

<tool id="blast2html" name="blast2html" version="0.0.9">
    
    <description>Convert BLAST XML to HTML</description>
    
    <requirements>
      <requirement name="package" version="0.1">blast2html_venv</requirement>
    </requirements>
    
    <command interpreter="python2">blast2html.py -i "${input}" -o "${output}"</command>

    <stdio>
      <!-- Any exit code other than 0 is an error -->
      <exit_code range="1:" />
      <exit_code range=":-1" />
    </stdio>
    
    <inputs>
        <param format="blastxml" name="input" type="data" label="Source file"/>
    </inputs>
    
    <outputs>
        <data format="html" name="output" />
    </outputs>
    
    <tests>
        <test>
            <param name="input" value="blast xml example1.xml"/>
            <output name="out_file1" file="blast xml example1.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example2.xml"/>
            <output name="out_file1" file="blast xml example2.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example3.xml"/>
            <output name="out_file1" file="blast xml example3.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example4.xml"/>
            <output name="out_file1" file="blast xml example4.html"/>
        </test>
    </tests>
    
    <help>
        This tool converts the default BLAST XML result into a HTML document
    </help>
    
</tool>