I have a C++ code which reads a fasta file (single line reads) and slides a window of l on the reads to generate the kmers. Like this:
>NC_000913.3-232080