view utils_filter-by-energy.xml @ 6:4d16cf9414cf draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/segmentation_fold commit 3a3c1d069e0a079d8ea7c0b4ac856ef24141b1aa
author erasmus-medical-center
date Fri, 24 Feb 2017 04:18:22 -0500
parents b7cf9b172cfe
children
line wrap: on
line source

<tool id="smf_utils_filter-by-energy" name="filter-by-energy" version="@VERSION@-1">
    <description>Split entries over two files based on the estimated energy</description>
    
    <macros>
        <import>macros.xml</import>
    </macros>
    
    <expand macro="requirements" />
    <expand macro="version_command" />
    
    <command detect_errors="aggressive"><![CDATA[
        segmentation-fold-utils
            filter-by-energy
                --energy ${energy}
                '$dbn_input_file'
                '$dbn_output_file_larger_or_equal'
                '$dbn_output_file_smaller'
    ]]></command>

    <inputs>
        <param name="dbn_input_file"
               type="data"
               format="dbn,txt"
               label="Input DBN file"
               help="The 'fasta'-headers should contain the genomic position being used to find overlapping reads in the BAM file"/>
        <param name="energy"
               type="float"
               value="0.0"
               argument="--energy"
               label="Energy value"
               help="Entries with transitions with energy smaller than energy (&lt; e) or without transitions will be put into DBN_OUTPUT_FILE_LARGER_OR_EQUAL and those larger or equal (&gt;= e) to DBN_OUTPUT_FILE_SMALLER" />
    </inputs>

    <outputs>
        <data name="dbn_output_file_larger_or_equal"
              format="dbn"
              label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - energy larger/equal than selected"/>
        <data name="dbn_output_file_smaller"
              format="dbn"
              label="${tool.name} on ${dbn_input_file.hid}: ${dbn_input_file.name} - energy smaller than selected"/>
    </outputs>
    
    <tests>
        <test>
            <param name="dbn_input_file" value="DBNFile.test_03.in.dbn" ftype="dbn"/>
            <param name="energy" value='0.0'/>

            <output name="dbn_output_file_larger_or_equal" file="DBNFile.test_03.out.l.dbn" />
            <output name="dbn_output_file_smaller" file="DBNFile.test_03.out.s.dbn" />
        </test>
    </tests>
    
    <help><![CDATA[
Filter based on whether the entries in the DBN file are already annotated or not
    ]]></help>
    
    <expand macro="citations" />
</tool>