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

Function getCoverage

AdjList/AdjList.cpp:128–134  ·  view source on GitHub ↗

Parse and return the coverage from the specified FASTA comment. */

Source from the content-addressed store, hash-verified

126
127/** Parse and return the coverage from the specified FASTA comment. */
128static unsigned getCoverage(const string& comment)
129{
130 istringstream ss(comment);
131 unsigned length, coverage = 0;
132 ss >> length >> coverage;
133 return coverage;
134}
135
136/** Add the overlaps of vseq to the graph. */
137static void addOverlapsSA(Graph& g, const SuffixArray& sa,

Callers 1

readContigsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected