Botched some boolean logic.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@658 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
23e9e29964
commit
0bca588629
|
|
@ -31,7 +31,7 @@ public class ReadErrorRateWalker extends ReadWalker<boolean[], int[]> {
|
|||
* @return true if the read can be processed, false if it should be ignored
|
||||
*/
|
||||
public boolean filter(char[] ref, SAMRecord read) {
|
||||
return (read.getCigar().numCigarElements() == 1 && read.getReadLength() > ref.length);
|
||||
return (read.getCigar().numCigarElements() == 1 && read.getReadLength() <= ref.length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue