[][src]Function fmlrc::read_correction::bridge_kmers

pub fn bridge_kmers(
    bwt: &BitVectorBWT,
    seed_kmer: &[u8],
    target_kmer: &[u8],
    min_count: u64,
    branch_limit: usize,
    max_branch_len: usize
) -> Vec<Vec<u8>>

Traverses from one kmer to another using the BWT for querying counts

Arguments

  • bwt - the BWT that contains count data
  • seed_kmer - the integer form seed k-mer for the bridge
  • target_kmer - the integer form target k-mer for the bridge
  • min_count - the minimum count required for a path to be consider solid
  • branch_limit - the maximum number of branches to explore before giving up on all paths
  • max_branch_len - the maximum branch length allowed before giving up on a path

Examples

TODO: See unit tests for current examples.