view blast2html.xml @ 37:36730fda2f54

add argparse dependency for python <2.7 and update version
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 15 May 2014 18:24:15 +0200
parents 0f015cb32b93
children 91008923c402
line wrap: on
line source

<tool id="blast2html" name="blast2html" version="0.0.3">
    
    <description>Convert BLAST XML to HTML</description>
    
    <requirements>
        <requirement type="python-module">jinja2</requirement>
        <requirement type="python-module">lxml</requirement>
        <requirement type="python-module">argparse</requirement>
    </requirements>
    
    <command interpreter="python">blast2html.py -i "${input}" -o "${output}"</command>
    
    <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>