view utils_find-boxes.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_find-boxes" name="find-boxes" version="@VERSION@-1">
    <description>Finds all occurances of two given boxes (sequence motifs) within a FASTA file</description>
    
    <macros>
        <import>macros.xml</import>
    </macros>
    
    <expand macro="requirements" />
    <expand macro="version_command" />
    
    <command detect_errors="aggressive"><![CDATA[
        segmentation-fold-utils
            find-boxes
                --box1 '${box1}'
                --box2 '${box2}'
                $forward
                $reverse
                '${fasta_input}'
                '${bed_output}'
    ]]></command>

    <inputs>
        <param name="fasta_input"
               type="data"
               format="fasta"
               argument="-f"
               label="Fasta file with RNA-sequece" />

        <param name="box1"
               type="text"
               value="NRUGAUG"
               argument="--box1"
               label="Sequence of box1 (default = C-box: 'NRUGAUG')"
               help="Sequence encoding can be found at the following url: https://en.wikipedia.org/wiki/FASTA_format#Sequence_representations" />

        <param name="box2"
               type="text"
               value="CUGA"
               argument="--box2"
               label="Sequence of box2 (default = D-box: 'CUGA')"
               help="Sequence encoding can be found at the following url: https://en.wikipedia.org/wiki/FASTA_format#Sequence_representations" />

        <param name="forward"
               type="boolean"
               truevalue="--forward"
               falsevalue="--no-forward"
               checked="true"
               label="Search in the forward direction of the reference sequence" />

        <param name="reverse"
               type="boolean"
               truevalue="--reverse"
               falsevalue="--no-reverse"
               checked="true"
               label="Search in the reverse complement of the reference sequence" />
    </inputs>

    <outputs>
        <data format="bed"
              name="bed_output"
              label="${tool.name} on ${str($fasta_input.hid) + ': ' + $fasta_input.name}" />
    </outputs>

    <tests>
        <test>
            <param name="fasta_input" value="FindBoxes.genome.fa" ftype="fasta" />
            <param name="box1" value="NRUGAUG" />
            <param name="box2" value="CUGA" />
            <param name="forward" value="--forward" />
            <param name="reverse" value="--reverse" />
            
            <output name="bed_output" file="FindBoxes.test_02.bed" />
        </test>
    </tests>
    
    <help><![CDATA[
Scans a FASTA reference for BOX motifs (like C- and D-box) and reports them in a BED file
    ]]></help>
    
    <expand macro="citations" />
</tool>