diff dapars.xml @ 0:bb84ee2f2137 draft

planemo upload for repository https://github.com/mvdbeek/dapars commit 868f8f2f7ac5d70c39b7d725ff087833b0f24f52-dirty
author mvdbeek
date Tue, 27 Oct 2015 10:14:33 -0400
parents
children 47b0044bc7f8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dapars.xml	Tue Oct 27 10:14:33 2015 -0400
@@ -0,0 +1,49 @@
+<tool id="dapars" name="dapars" version="0.1.4">
+    <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>