Immediate, obvious bug fix to avoid blowing up on unmapped reads

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4788 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
depristo 2010-12-04 20:43:39 +00:00
parent a5b3aac864
commit 97c94176c0
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,8 @@ public class BAQ {
if ( DEBUG ) System.out.printf("BAQ %s read %s%n", calculationType, read.getReadName());
if ( calculationType == Mode.NONE ) { // we don't want to do anything
; // just fall though
} else if ( read.getReadUnmappedFlag() ) {
; // just fall through
} else if ( calculationType == Mode.USE_TAG_ONLY ) {
calcBAQFromTag(read, true, true);
} else {