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

Function isSingleEnd

ParseAligns/ParseAligns.cpp:665–670  ·  view source on GitHub ↗

Return true if the specified read ID is of a single-end read. */

Source from the content-addressed store, hash-verified

663
664/** Return true if the specified read ID is of a single-end read. */
665static bool
666isSingleEnd(const string& id)
667{
668 unsigned l = id.length();
669 return endsWith(id, ".fn") || (l > 6 && id.substr(l - 6, 5) == ".part");
670}
671
672/** Return the mate ID of the specified read ID. */
673static string

Callers 1

handleAlignmentFunction · 0.85

Calls 2

endsWithFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected