aboutsummaryrefslogtreecommitdiff
path: root/kmer_utils.c
AgeCommit message (Collapse)Author
2013-09-14improve performance of convert_kmer_to_index by using a bitwise OR to ↵Calvin Morrison
convert our characters to lowercare: str[i] | Ox20, and reduce the number of switches as a result
2013-09-12don't use strtolCalvin Morrison
2013-09-11update convert_kmer_to_index for brevity and clarityCalvin Morrison
2013-09-11add headersCalvin Morrison
2013-09-10Initial commit of some kmer utilities.Calvin Morrison
there are two utilties included. one is kmer_frequency_per_sequence, which outputs a (m x n) matrix where m is the sequence, and n is the frequency of that nmer to occur in the given sequence. the other tool is kmer_total_count, which counts kmers for the total file, not just one sequence