view dapars.xml @ 4:73b932244237 draft

planemo upload for repository https://github.com/mvdbeek/dapars commit c2344ee1b8c6371007b7484b02d17fb056eb2427-dirty
author mvdbeek
date Wed, 28 Oct 2015 06:22:18 -0400
parents 47b0044bc7f8
children a5d8b08af089
line wrap: on
line source

<tool id="dapars" name="dapars" version="0.1.5">
    <description>infer de-novo alternative polyadenylation from rna-seq</description>
    <requirements>
        <requirement type="package" version="1.9">numpy</requirement>
        <requirement type="package" version="2.22">bedtools</requirement>
    </requirements>
    <stdio>
        <exit_code range="1:" />
    </stdio>
    <command interpreter="python"><![CDATA[
        dapars.py -c
        #for $c in $controls:
            "$c"
        #end for
        -t
        #for $t in $treatments:
            "$t"
        #end for
        -u "$utr" 
        -o "$apa_sites"
        -cpu \${GALAXY_SLOTS:-4}
        --coverage_threshold "$coverage_threshold"
        --search_start "$search_start"
        #if $make_breakpoint:
            -b "$breakpoint_bed"
        #end if
    ]]></command>
    <inputs>
        <param type="data" name="utr" format="gtf" label="GFF file containing 3prime UTRs" help="featureType of the UTRs
        must be UTR, and the attribute group must have geneid in first position."/>
        <param type="data" name="controls" format="bam,sam" multiple="True" label="Control alignment files" help="Select control alignment files" />
        <param type="data" name="treatments" format="bam,sam" multiple="True" label="Treatment alignment files" help="Select treatment alignment files" />
        <param type="integer" name="search_start" value="100" optional="False" min="1" label="Search start" help="Search start in nucleotides downstream of the start of the UTR. Necessary to correct for proximal drops in coverage. Select 200 for humans. Genomes with short UTRs may require more prpximal search start points."/>
        <param type="float" name="coverage_threshold" value="20" optional="False" label="Coverage threshold" help="Skip the analysis of UTRs whose mean coverage is below the Coverage Threshold in any of the alignment files."/>
        <param name="make_breakpoint" type="boolean" checked="False" label="Output bedfile with breakpoint positions?"/>
    </inputs>
    <outputs>
        <data name="apa_sites" format="tabular" />
        <data name="breakpoint_bed" format="bed6">
            <filter>(make_breakpoint == True)</filter>
        </data>
    </outputs>
    <help><![CDATA[
        TODO: Fill in help.
    ]]></help>
    <citations>
        <citation type="doi">10.1038/ncomms6274</citation>
    </citations>
</tool>