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

Function getLength

MergePaths/MergePaths.cpp:1102–1106  ·  view source on GitHub ↗

Return the length of the specified contig in k-mer. */

Source from the content-addressed store, hash-verified

1100
1101/** Return the length of the specified contig in k-mer. */
1102static unsigned
1103getLength(const Lengths& lengths, const ContigNode& u)
1104{
1105 return u.ambiguous() ? u.length() : lengths.at(u.id());
1106}
1107
1108/** Functor to add the number of k-mer in two contigs. */
1109struct AddLength

Callers 2

operator()Method · 0.70
alignCoordinatesFunction · 0.70

Calls 4

ambiguousMethod · 0.80
idMethod · 0.80
lengthMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected