aboutsummaryrefslogtreecommitdiff
path: root/kmer_total_count.c
AgeCommit message (Collapse)Author
2014-04-09MERGE sparse trunk into masterCalvin Morrison
2014-03-12update cli for reverse-compliment countingCalvin Morrison
2014-02-06whoops, count even if it's zeroCalvin Morrison
2014-02-01add --helpCalvin Morrison
2014-02-01backport stdin readingCalvin Morrison
2014-02-01use false instead of 0Calvin Morrison
2014-02-01add help functionCalvin Morrison
2014-01-31remove commasCalvin Morrison
2014-01-31add --help text for kmer_total_countCalvin Morrison
2013-11-23better allocation of memory, make sure to free other memoryCalvin Morrison
2013-11-11fix warningsCalvin Morrison
2013-11-11fix printfCalvin Morrison
2013-11-11added label and nonzero optionsCalvin Morrison
2013-11-07rename to counts per sequence, don't provide frequencies only countsCalvin Morrison
2013-10-23output individual kmers if requestedCalvin Morrison
2013-10-16reorder kmer_utils.h, actually take a kmer value as argv[2] for frequency, ↵Calvin Morrison
error check kmer
2013-10-16works with multiline sequences, abstracted most code to kmer_utils.cCalvin Morrison
2013-10-10 don't use the num_to_index function for more speeeeedCalvin Morrison
2013-10-10don't depend on math.h's POW by using a bitshift instead:Calvin Morrison
2013-10-04no more branchingCalvin Morrison
2013-10-02provide errno error detailsCalvin Morrison
2013-10-02formattingCalvin Morrison
2013-10-02use an external iterator so that we can skip over anything in range of an errorwCalvin Morrison
2013-10-02add check for line length. if read > kmer we are good to goCalvin Morrison
2013-10-01update headers, use const for better performance (.500ms on ~2gb file), ↵Calvin Morrison
update comments for functions
2013-09-28ideaCalvin Morrison
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-13don't use strlen(line) when we already have that in the read variableCalvin Morrison
2013-09-11use right typesCalvin Morrison
2013-09-11move declarations to top, make sure to use the appropriate typeCalvin 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