From a3fa9325a9b02390151eb3b0ae1e41fb0816d7fd Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Sat, 16 Mar 2013 15:16:27 -0400 Subject: we don't need a kmer file anymore :-) --- src/python/quikr.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/python/quikr.py b/src/python/quikr.py index 225ea9b..cb33493 100755 --- a/src/python/quikr.py +++ b/src/python/quikr.py @@ -56,12 +56,6 @@ def train_matrix(input_file_location, kmer): Takes a input fasta file, and kmer, returns a custom trained matrix """ - kmer_file_name = str(kmer) + "mers.txt" - - if not os.path.isfile(kmer_file_name): - print "could not find kmer file" - exit() - input_file = Popen(["bash", "-c", "probabilities-by-read " + str(kmer) + " " + input_file_location + " <(generate_kmers 6)"], stdout=PIPE) # load and normalize the matrix by dividing each element by the sum of it's column. -- cgit v1.2.3