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

Function getMargin

RResolver/RAlgorithmsShort.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85//}
86
87static int
88getMargin(const int windowSize, const int tests, const int repeatSize, const int minMargin)
89{
90 (void)minMargin;
91 assert(windowLongEnough(windowSize, tests, repeatSize, minMargin));
92 const int requiredSeqSize = windowSize + tests - 1;
93 const int margin = (requiredSeqSize - repeatSize + 1) / 2;
94 assert(margin >= minMargin);
95 return margin;
96}
97
98static bool
99determineShortReadStats(const std::vector<std::string>& readFilenames)

Callers 2

testCombinationFunction · 0.85

Calls 1

windowLongEnoughFunction · 0.85

Tested by

no test coverage detected