Module sbwt::dbg

source ·
Expand description

de Bruijn graph operations using SbwtIndex.

Structs§

  • A struct supporting de Bruijn graph operations on the spectrum of k-mers encoded in an SbwtIndex. The graph is node-centric, meaning that the nodes are the distinct k-mers in the index (not including the dummy k-mers) and there is an edge from x to y iff x[1..k) = y[0..k-1). Edge (x,y) is labeled with the last character of y. Reverse complements are not modeled. The struct takes 2n bits of extra space on top of the SBWT, where n is the number of sets in the SBWT.
  • A node in the de Bruijn graph.
  • An iterator over the nodes of the de Bruijn graph.