Repository 'ngsutils_bam_filter'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/ngsutils_bam_filter

Changeset 6:2e957d4c4b95 (2019-01-30)
Previous changeset 5:49bf71fbc574 (2018-10-30)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ngsutils commit 585b25e35a97c9a44d7c1ccb013a9e7db6b5319a
modified:
filter.py
b
diff -r 49bf71fbc574 -r 2e957d4c4b95 filter.py
--- a/filter.py Tue Oct 30 19:13:52 2018 -0400
+++ b/filter.py Wed Jan 30 05:29:38 2019 -0500
b
@@ -336,7 +336,7 @@
     def filter(self, bam, read):
         if not read.is_unmapped:
             if bam.getrname(read.tid) == self.ref:
-                    return False
+                return False
         return True
 
     def __repr__(self):
@@ -353,7 +353,7 @@
     def filter(self, bam, read):
         if not read.is_unmapped:
             if bam.getrname(read.tid) == self.ref:
-                    return True
+                return True
         return False
 
     def __repr__(self):