view blast2html.xml @ 119:591dc9c24824

tentative fix for Rikilt issue 10: don't sort hits ourselves but use blastxml ordering
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 31 Jul 2014 13:26:34 +0200
parents 8ae714069687
children 532aa200dbe9
line wrap: on
line source

<tool id="blast2html" name="blast2html" version="0.0.14">
    
    <description>Convert BLAST XML to HTML</description>
    
    <requirements>
      <requirement name="package" version="0.2">blast2html_venv</requirement>
    </requirements>
    
    <command interpreter="python">blast2html.py -i "${input}" -o "${output}" --db-config-dir "${GALAXY_DATA_INDEX_DIR}"</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="output" file="blast xml example1.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example2.xml"/>
            <output name="output" file="blast xml example2.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example3.xml"/>
            <output name="output" file="blast xml example3.html"/>
        </test>
        <test>
            <param name="input" value="blast xml example4.xml"/>
            <output name="output" file="blast xml example4.html"/>
        </test>
    </tests>
    
    <help>
        This tool converts the default BLAST XML result into a HTML document
    </help>
    
</tool>