Skip to content

Commit 27e1317

Browse files
committed
fix a bug that single-end reads are not stored
1 parent 592c8e0 commit 27e1317

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cluster.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,13 @@ Pair* Cluster::consensusMerge() {
167167
} else {
168168
BamUtil::copyQName(right, left);
169169
}
170+
}
171+
if(left) {
170172
p->setLeft(left);
171173
p->mMergeLeftDiff = leftDiff;
174+
}
175+
176+
if(right) {
172177
p->setRight(right);
173178
p->mMergeRightDiff = rightDiff;
174179
}

0 commit comments

Comments
 (0)