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

Function isCycle

MergePaths/MergePaths.cpp:503–507  ·  view source on GitHub ↗

Return whether this path is a cycle. */

Source from the content-addressed store, hash-verified

501
502/** Return whether this path is a cycle. */
503static bool
504isCycle(const Lengths& lengths, const ContigPath& path)
505{
506 return !align(lengths, path, path, path.front()).empty();
507}
508
509/** Identify paths subsumed by the specified path.
510 * @param overlaps [out] paths that are found to overlap

Callers 1

identifySubsumedPathsFunction · 0.70

Calls 3

alignFunction · 0.70
emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected