is_kmer_allowed: Is k-mer allowed

Description Arguments Value

Description

Checks whether all elements of the given k-mer are contained in the alphabet set

Arguments

s

integer vector of encoded sequence characters

d

integer vector representing gaps between elements of k-mer

begin_index

integer representing the start index of k-mer in s

is_item_allowed

hash map that answers the question whether the element is in the alphabet

Value

logical value denoting whether k-mer is valid (contains valid characters that are in the alphabet)


piotr-ole/kmer documentation built on Nov. 14, 2019, 8:10 p.m.