# HG changeset patch
# User iuc
# Date 1632844729 0
# Node ID 540155c5abeeec3739905c6dd50921227227e79e
# Parent  b7ab754899d5f340335e5f40f2c7fc634b548fba
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
diff -r b7ab754899d5 -r 540155c5abee macros.xml
--- a/macros.xml	Sun Jul 28 14:46:16 2019 -0400
+++ b/macros.xml	Tue Sep 28 15:58:49 2021 +0000
@@ -5,10 +5,16 @@
             
         
     
-    1.9
-    #set $flags = sum(map(int, str($filter).split(',')))
+    1.13
+    20.05
+    
     
     
+
+    
+        
+            
+                @HELP@
+                
+                
+                
+            
+            
+            
+                
+            
+            
+                
+                    
+                        
+                    
+                    
+                
+            
+        
+    
+    
+        
+            
+                @HELP@
+                
+                
+            
+            
+                
+            
+            
+                
+                    
+                        
+                        
+                    
+                
+            
+        
+    
+
+
     
     
-        
+       
     
-    
-        
-        
-        
-        
-        
-        
-        
-        
-        
-        
-        
-        
+    
+        
+        
+        
+        
+        
+        
+        
+        
+        
+        
+        
+        
     
 
-    
     
+
     calculate read depth for a set of genomic intervals
     
         macros.xml
@@ -14,44 +14,89 @@
                 -Q $mapq
             #end if
             $countdel
+            #set $filter = $additional_options.required_flags
+            @FLAGS@
+            -g $flags
+            #set $filter = $additional_options.skipped_flags
+            @FLAGS@
+            -G $flags
+            #if $depth_thresh:
+                -d $depth_thresh
+            #end if
             '${input_bed}'
-            #for $i in range(len( $input_bams )):
+            #for $i in range(len($input_bams)):
                 '${i}'
             #end for
             > '${output}'
     ]]>
     
-        
+        
         
         
         
+        
+
+        
     
     
         
     
     
+        
         
             
             
             
         
+        
         
             
             
             
         
+        
         
             
             
             
             
         
+        
         
             
             
             
             
         
+        
+        
+            
+            
+            
+            
+        
+        
+        
+            
+            
+            
+            
+        
+        
+        
+            
+            
+            
+            
+        
     
     
 **What it does**
diff -r b7ab754899d5 -r 540155c5abee test-data/samtools_bedcov_out7.tab
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/samtools_bedcov_out7.tab	Tue Sep 28 15:58:49 2021 +0000
@@ -0,0 +1,3 @@
+eboVir3	500	1500	7919	229
+eboVir3	1500	2000	3009	9
+eboVir3	1500	3000	9986	122
diff -r b7ab754899d5 -r 540155c5abee test-data/samtools_depth_out5.tab
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/samtools_depth_out5.tab	Tue Sep 28 15:58:49 2021 +0000
@@ -0,0 +1,3 @@
+eboVir3	500	1500	7919
+eboVir3	1500	2000	3009
+eboVir3	1500	3000	9986
diff -r b7ab754899d5 -r 540155c5abee test-data/samtools_depth_out6.tab
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/samtools_depth_out6.tab	Tue Sep 28 15:58:49 2021 +0000
@@ -0,0 +1,3 @@
+eboVir3	500	1500	1884
+eboVir3	1500	2000	803
+eboVir3	1500	3000	2693