if (isPaired) {
assert(samread(in, b2) >= 0 && (b2->core.flag & 0x0001));
assert((b->core.flag & 0x0001) && (b2->core.flag & 0x0001));
- assert((b->core.flag & 0x0040) && (b2->core.flag & 0x0080) || (b->core.flag & 0x0080) && (b2->core.flag & 0x0040));
+ assert(((b->core.flag & 0x0040) && (b2->core.flag & 0x0080)) || ((b->core.flag & 0x0080) && (b2->core.flag & 0x0040)));
++cnt;
}
if (!notgood) {
- assert((b->core.tid == b2->core.tid) && (b->core.flag & 0x0040) && (b2->core.flag & 0x0080)); // for collapsing
+ if (isPaired) assert((b->core.tid == b2->core.tid) && (b->core.flag & 0x0040) && (b2->core.flag & 0x0080)); // for collapsing
const Transcript& transcript = transcripts.getTranscriptViaEid(b->core.tid + 1);