| 363 | } |
| 364 | |
| 365 | uint8_t Kmer::leftShiftByte(char* pSeq, |
| 366 | unsigned byteNum, unsigned index, uint8_t base) |
| 367 | { |
| 368 | // save the first base |
| 369 | uint8_t outBase = (pSeq[byteNum] >> 6) & 0x3; |
| 370 | |
| 371 | // shift left one position |
| 372 | pSeq[byteNum] <<= 2; |
| 373 | |
| 374 | // Set the new base |
| 375 | setBaseCode(pSeq, byteNum, index, base); |
| 376 | |
| 377 | return outBase; |
| 378 | } |
| 379 | |
| 380 | uint8_t Kmer::rightShiftByte(char* pSeq, |
| 381 | unsigned byteNum, unsigned index, uint8_t base) |
nothing calls this directly
no test coverage detected