aboutsummaryrefslogtreecommitdiff
path: root/kmer_counts_per_sequence.c
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-02-27 14:06:02 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-02-27 14:06:02 -0500
commit5d7e67a846ec104da2d7bdb988672fbd02ddda28 (patch)
tree0231c0165145fe2d5bc28812b5045f4c54f3577e /kmer_counts_per_sequence.c
parent9beee3e285febb8b777ff16b314bf0d399c2300c (diff)
use sparse always if we use --mer
Diffstat (limited to 'kmer_counts_per_sequence.c')
-rw-r--r--kmer_counts_per_sequence.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kmer_counts_per_sequence.c b/kmer_counts_per_sequence.c
index 946b491..d5b1927 100644
--- a/kmer_counts_per_sequence.c
+++ b/kmer_counts_per_sequence.c
@@ -180,17 +180,10 @@ int main(int argc, char **argv) {
if(specific_mers) {
- if(sparse) {
for(k = 0; k < num_desired_indicies; k++) {
if(counts[desired_indicies[k]] != 0)
fprintf(stdout, "%llu\t%zu\t%llu\n", sequence, desired_indicies[k], counts[desired_indicies[k]]);
}
- }
- else {
- for(k = 0; k < num_desired_indicies; k++) {
- fprintf(stdout, "%llu\t%zu\t%llu\n", sequence, desired_indicies[k], counts[desired_indicies[k]]);
- }
- }
}
else if(sparse) {
for(k = 0; k < width; k++) {