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

Function removeAmbiguousContigs

PathOverlap/PathOverlap.cpp:362–369  ·  view source on GitHub ↗

Remove ambiguous contigs from the ends of the path. */

Source from the content-addressed store, hash-verified

360
361/** Remove ambiguous contigs from the ends of the path. */
362static void
363removeAmbiguousContigs(ContigPath& path)
364{
365 if (!path.empty() && path.back().ambiguous())
366 path.erase(path.end() - 1);
367 if (!path.empty() && path.front().ambiguous())
368 path.erase(path.begin());
369}
370
371/** Remove the overlapping portion of the specified contig. */
372static void

Callers 1

removeContigsFunction · 0.85

Calls 7

ambiguousMethod · 0.80
eraseMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45
endMethod · 0.45
frontMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected