view blast2html.xml @ 52:d6c7b5de2833

minor fix
author Jan Kanis <jan.code@jankanis.nl>
date Wed, 21 May 2014 18:39:51 +0200
parents b15a20c2372a
children 4217bb9cf1d3
line wrap: on
line source

<tool id="blast2html" name="blast2html" version="0.0.7">
    
    <description>Convert BLAST XML to HTML</description>
    
    <requirements>
      <requirement type="package" version="v0.0.18">blast_datatypes</requirement>
      <requirement name="package" version="1.3.0">python_six</requirement>
      <requirement name="package" version="1.2.1">argparse</requirement>
      <requirement name="package" version="2.2.3">lxml</requirement>
      <requirement name="package" version="2.7.2">jinja2</requirement>
    </requirements>
    
    <command interpreter="python">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="blast" 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>