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

Function complement

Assembly/VertexData.h:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16static inline SeqFlag complement(SeqFlag flag)
17{
18 unsigned out = 0;
19 if (flag & SF_MARK_SENSE)
20 out |= SF_MARK_ANTISENSE;
21 if (flag & SF_MARK_ANTISENSE)
22 out |= SF_MARK_SENSE;
23 if (flag & SF_DELETE)
24 out |= SF_DELETE;
25 return SeqFlag(out);
26}
27
28/** Vertex properties of a de Bruijn Graph vertex. */
29template <typename S, typename Set>

Callers 3

operator*Method · 0.85
setFlagMethod · 0.85
operator~Method · 0.85

Calls 1

SeqFlagEnum · 0.85

Tested by

no test coverage detected