Return an alignment of the reverse complement of the query to * the same target. */
| 57 | * the same target. |
| 58 | */ |
| 59 | Alignment flipQuery() const |
| 60 | { |
| 61 | Alignment rc(*this); |
| 62 | unsigned qend = read_start_pos + align_length; |
| 63 | assert(qend <= (unsigned)read_length); |
| 64 | rc.read_start_pos = read_length - qend; |
| 65 | rc.isRC = !isRC; |
| 66 | return rc; |
| 67 | } |
| 68 | |
| 69 | static int calculateReverseReadStart(int read_start_pos, |
| 70 | int read_length, int align_length) |
no outgoing calls
no test coverage detected