diff bamCoverage.xml @ 3:10e697ec9bfb draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2e8510e4f4015f51f7726de5697ba2de9b4e2f4c
author bgruening
date Wed, 09 Mar 2016 18:06:40 -0500
parents 36f655a04a57
children 115aa2cbf152
line wrap: on
line diff
--- a/bamCoverage.xml	Thu Feb 18 11:46:57 2016 -0500
+++ b/bamCoverage.xml	Wed Mar 09 18:06:40 2016 -0500
@@ -46,13 +46,17 @@
                 #if str($advancedOpt.ignoreForNormalization).strip() != '':
                     --ignoreForNormalization $advancedOpt.ignoreForNormalization
                 #end if
+
+                #if str($advancedOpt.filterRNAstrand) != 'no':
+                    --filterRNAstrand '$advancedOpt.filterRNAstrand'
+                #end if
             #end if
 ]]>
     </command>
 
     <inputs>
         <param name="bamInput" format="bam" type="data" label="BAM file"
-            help="The BAM file must be sorted."/>
+            help=""/>
 
         <param name="binSize" type="integer" value="50" min="1"
             label="Bin size in bases"
@@ -105,6 +109,14 @@
                     label="Determine nucleosome positions from MNase-seq data"
                     help="Only the 3 nucleotides at the center of each fragment are counted. The fragment ends are defined by the two mate reads. *NOTE*: Requires paired-end data." />
 
+                <param argument="filterRNAstrand" type="select" label="Only include reads originating from fragments from the forward or reverse strand." 
+                    help="By default (the no option), all reads are processed, regardless of the strand they originated from. For RNAseq, it can be useful to separately create bigWig files for the forward or reverse strands.
+                          Note that this tools assumes that a dUTP-based method was used, so fragments will be assigned to the reverse strand if the second read in a pair is reverse complemented.">
+                    <option value="no" selected="true">no</option>
+                    <option value="forward">forward</option>
+                    <option value="reverse">reverse</option>
+                </param>
+
             </when>
         </conditional>
     </inputs>
@@ -153,6 +165,14 @@
             <param name="binSize" value="10" />
             <output name="outFileName" file="bamCoverage_result4.bg" ftype="bedgraph" />
         </test>
+        <test>
+            <param name="bamInput" value="phiX.bam" ftype="bam" />
+            <param name="outFileFormat" value="bigwig" />
+            <param name="showAdvancedOpt" value="yes" />
+            <param name="filterRNAstrand" value="reverse" />
+            <param name="binSize" value="10" />
+            <output name="outFileName" file="bamCoverage_result5.bw" ftype="bigwig" />
+        </test>
     </tests>
     <help>
 <![CDATA[