view blast2html.xml @ 36:0f015cb32b93

add argparse dependency for python <2.7
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 15 May 2014 18:22:49 +0200
parents 2b23b4a4d88e
children 36730fda2f54
line wrap: on
line source

<tool id="blast2html" name="blast2html" version="0.0.2">
    
    <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>