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

Function fragmentSize

ParseAligns/ParseAligns.cpp:130–138  ·  view source on GitHub ↗

* Return the size of the fragment demarcated by the specified * alignments. */

Source from the content-addressed store, hash-verified

128 * alignments.
129 */
130static int
131fragmentSize(const Alignment& a0, const Alignment& a1)
132{
133 assert(a0.contig == a1.contig);
134 assert(a0.isRC != a1.isRC);
135 const Alignment& f = a0.isRC ? a1 : a0;
136 const Alignment& r = a0.isRC ? a0 : a1;
137 return r - f;
138}
139
140typedef pair<ContigNode, DistanceEst> Estimate;
141typedef vector<Estimate> Estimates;

Callers 1

handleAlignmentPairFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected