* Return an alignment flipped as necessary to produce an alignment * pair whose expected orientation is forward-reverse. If the * expected orientation is forward-forward, then reverse the first * alignment, so that the alignment is forward-reverse, which is * required by DistanceEst. */
| 300 | * required by DistanceEst. |
| 301 | */ |
| 302 | static const Alignment |
| 303 | flipAlignment(const Alignment& a, const string& id) |
| 304 | { |
| 305 | return needsFlipping(id) ? a.flipQuery() : a; |
| 306 | } |
| 307 | |
| 308 | static void |
| 309 | handleAlignmentPair(const ReadAlignMap::value_type& curr, const ReadAlignMap::value_type& pair) |
no test coverage detected