aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-03-06 17:05:40 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-03-06 17:05:40 -0500
commit2c038ba630c14c7030186c64e9eb92761ddcba74 (patch)
treef4705db1e2603bdc831254eee60800eb10448fcf /Makefile
parent5d7e67a846ec104da2d7bdb988672fbd02ddda28 (diff)
add kmer_continuous_count
this tool will count continuously, instead of line by line. The way that this works out is something like this: test.fa > header 1 AAAAATTTTT > header 2 GGGGGAAAAA counting 6 mers, the program will count TTTGGG, TTGGGG, TGGGGG, like there was no header seperating them. This can be useful for certain tyeps of processing, like when the sequences are continuous from a genome. initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c929cfd..dc47796 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CFLAGS = -O3 -s -mtune=native -Wall -DVERSION=$(VERSION) -Wextra
DESTDIR = /usr/local/
-all: libkmer.o libkmer.so kmer_total_count kmer_counts_per_sequence
+all: libkmer.o libkmer.so kmer_total_count kmer_counts_per_sequence kmer_continuous_count
libkmer.o: kmer_utils.c
$(CC) -c kmer_utils.c -o libkmer.o $(CFLAGS) -fPIC
@@ -14,9 +14,11 @@ kmer_total_count: libkmer.o kmer_total_count.c kmer_utils.h
$(CC) libkmer.o kmer_total_count.c -o kmer_total_count $(CLIBS) $(CFLAGS)
kmer_counts_per_sequence: libkmer.o kmer_counts_per_sequence.c kmer_utils.h
$(CC) libkmer.o kmer_counts_per_sequence.c -o kmer_counts_per_sequence $(CLIBS) $(CFLAGS)
+kmer_continuous_count: libkmer.o kmer_continuous_count.c kmer_utils.h
+ $(CC) libkmer.o kmer_continuous_count.c -o kmer_continuous_count $(CLIBS) $(CFLAGS)
clean:
- rm -vf kmer_total_count kmer_counts_per_sequence libkmer.so libkmer.o
+ rm -vf kmer_total_count kmer_counts_per_sequence kmer_continuous_count libkmer.so libkmer.o
debug: CFLAGS = -ggdb -Wall -Wextra -DVERSION=$(VERSION)\"-debug\"
debug: all