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

Function getSequence

FilterGraph/FilterGraph.cc:554–561  ·  view source on GitHub ↗

Return the sequence of vertex u. */

Source from the content-addressed store, hash-verified

552
553/** Return the sequence of vertex u. */
554static string
555getSequence(const Graph& g, vertex_descriptor u)
556{
557 size_t i = get(vertex_contig_index, g, u);
558 assert(i < g_contigs.size());
559 string seq(g_contigs[i]);
560 return get(vertex_sense, g, u) ? reverseComplement(seq) : seq;
561}
562
563/** Return whether the specified edge is inconsistent. */
564struct is_edge_inconsistent

Callers 1

operator()Method · 0.70

Calls 3

getFunction · 0.50
reverseComplementFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected