MCPcopy Create free account
hub / github.com/BirolLab/abyss / flipAlignment

Function flipAlignment

ParseAligns/ParseAligns.cpp:302–306  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

300 * required by DistanceEst.
301 */
302static const Alignment
303flipAlignment(const Alignment& a, const string& id)
304{
305 return needsFlipping(id) ? a.flipQuery() : a;
306}
307
308static void
309handleAlignmentPair(const ReadAlignMap::value_type& curr, const ReadAlignMap::value_type& pair)

Callers 1

handleAlignmentPairFunction · 0.85

Calls 2

needsFlippingFunction · 0.85
flipQueryMethod · 0.80

Tested by

no test coverage detected