Mercurial > repos > iuc > ngsutils_bam_filter
changeset 6:2e957d4c4b95 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ngsutils commit 585b25e35a97c9a44d7c1ccb013a9e7db6b5319a
author | iuc |
---|---|
date | Wed, 30 Jan 2019 05:29:38 -0500 |
parents | 49bf71fbc574 |
children | |
files | filter.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/filter.py Tue Oct 30 19:13:52 2018 -0400 +++ b/filter.py Wed Jan 30 05:29:38 2019 -0500 @@ -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):