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

Function markRemovedContigs

MergePaths/MergeContigs.cpp:375–385  ·  view source on GitHub ↗

Mark contigs for removal. An empty path indicates that a contig * should be removed. */

Source from the content-addressed store, hash-verified

373 * should be removed.
374 */
375static void
376markRemovedContigs(vector<bool>& marked, const vector<string>& pathIDs, const ContigPaths& paths)
377{
378 for (ContigPaths::const_iterator it = paths.begin(); it != paths.end(); ++it) {
379 if (it->empty()) {
380 size_t i = get(g_contigNames, pathIDs[it - paths.begin()]);
381 assert(i < marked.size());
382 marked[i] = true;
383 }
384 }
385}
386
387/** Output the updated overlap graph. */
388static void

Callers 1

mainFunction · 0.85

Calls 5

getFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected