aboutsummaryrefslogtreecommitdiff
path: root/kmer_utils.h
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-09-10 23:43:56 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2013-09-10 23:43:56 -0400
commit5b53a787e4d1cefa5660c891791cd0df4a8fd89c (patch)
tree005983f5d068409c9be44e614b4c1722cde37dd5 /kmer_utils.h
Initial commit of some kmer utilities.
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
Diffstat (limited to 'kmer_utils.h')
-rw-r--r--kmer_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmer_utils.h b/kmer_utils.h
new file mode 100644
index 0000000..a93216e
--- /dev/null
+++ b/kmer_utils.h
@@ -0,0 +1 @@
+long convert_kmer_to_index(char *str, long kmer, long error_pos);