Skip to content

Commit

Permalink
Actually decode unencoded reads.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Jul 15, 2019
1 parent a95437e commit 5614e1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/stores/sqCache.C
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@ sqCache::sqCache_getSequence(uint32 id,
_readData.sqReadData_decode2bit(_reads[id]._data + 8, chunkLen, seq, seqLen);

else if (((bptr[0] == 'U') && (bptr[1] == 'S') && (bptr[2] == 'Q') && (bptr[3] == 'R')) ||
((bptr[0] == 'U') && (bptr[1] == 'S') && (bptr[2] == 'Q') && (bptr[3] == 'C')))
assert(0);
((bptr[0] == 'U') && (bptr[1] == 'S') && (bptr[2] == 'Q') && (bptr[3] == 'C'))) {
memcpy(seq, _reads[id]._data + 8, seqLen);
seq[seqLen] = 0;
}

// If a trimmed read, we need to ... trim it.

Expand Down

0 comments on commit 5614e1d

Please sign in to comment.