diff computeMatrix.xml @ 52:411c871f4cfd

Uploaded
author bgruening
date Sat, 03 Aug 2013 09:48:44 -0400
parents 6a2a7374450b
children
line wrap: on
line diff
--- a/computeMatrix.xml	Fri Aug 02 13:53:20 2013 -0400
+++ b/computeMatrix.xml	Sat Aug 03 09:48:44 2013 -0400
@@ -44,6 +44,7 @@
     --averageTypeBins '$advancedOpt.averageTypeBins'
     $advancedOpt.missingDataAsZero
     $advancedOpt.skipZeros
+    $advancedOpt.binSize
     
     #if $advancedOpt.minThreshold:
     --minThreshold $advancedOpt.minThreshold
@@ -124,7 +125,7 @@
         <param name="binSize" type="integer" value="100" min="1" optional="true" label="Length, in base pairs, of the non-overlapping bin for averaging the score over the regions length" />
         
         <param name="sortRegions" type="select" label="Sort regions"
-	       help="Whether the output file should present the regions sorted.">
+           help="Whether the output file should present the regions sorted.">
           <option value="no" selected="true">no ordering</option>
           <option value="descend">descending order</option>
           <option value="ascend">ascending order</option>
@@ -172,6 +173,19 @@
       <filter>(output['showOutputSettings'] == 'yes' and output['saveSortedRegions'] == True)</filter>
     </data>  
   </outputs>
+    <!--
+    computeMatrix -S test.bw -R test2.bed -a 100 -b 100 -bs 1 
+    -->
+    <tests>
+        <test>
+            <param name="regionsFile" value="test2.bed" ftype="bed" />
+            <param name="scoreFile" value="test.bw" ftype="bigwig" />
+            <param name="advancedOpt.binSize" value="1" />
+            <param name="mode.beforeRegionStartLength" value="100" />
+            <param name="mode.afterRegionStartLength" value="100" />
+            <output name="outFileName" file="master.mat.gz" ftype="bgzip" compare="sim_size" delta="100" />
+        </test>
+    </tests>
   <help>
 **What it does**