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

Function isSmallRepeat

RResolver/RAlgorithmsShort.cpp:678–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678static bool
679isSmallRepeat(const ContigNode& node)
680{
681 unsigned r = g_vanillaBloom->get_k();
682 return (
683 !get(vertex_removed, g_contigGraph, node) && !node.sense() &&
684 windowLongEnough(r, opt::minTests, getContigSize(node), MIN_MARGIN) &&
685 (in_degree(node, g_contigGraph) > 0 && out_degree(node, g_contigGraph) > 0) &&
686 (in_degree(node, g_contigGraph) > 1 || out_degree(node, g_contigGraph) > 1));
687}
688
689static Resolution
690resolveRepeats()

Callers 1

resolveRepeatsFunction · 0.85

Calls 6

windowLongEnoughFunction · 0.85
getContigSizeFunction · 0.85
senseMethod · 0.80
getFunction · 0.50
in_degreeFunction · 0.50
out_degreeFunction · 0.50

Tested by

no test coverage detected