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

Method complement

Assembly/SeqExt.h:98–106  ·  view source on GitHub ↗

Return the complementary adjacency. * If the assembly is in colour space, this is a no-op. */

Source from the content-addressed store, hash-verified

96 * If the assembly is in colour space, this is a no-op.
97 */
98 SeqExt complement() const
99 {
100 static const uint8_t complements[16] = {
101 0x0, 0x8, 0x4, 0xc, 0x2, 0xa, 0x6, 0xe,
102 0x1, 0x9, 0x5, 0xd, 0x3, 0xb, 0x7, 0xf
103 };
104 assert(m_record < 1 << NUM);
105 return opt::colourSpace ? *this : mask(complements[m_record]);
106 }
107
108 friend std::ostream& operator <<(std::ostream& out,
109 const SeqExt& o)

Callers 3

TESTFunction · 0.45
removeExtensionMethod · 0.45
getSeqDataMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36