summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2013-03-16 15:16:27 -0400
committermutantturkey <mutantturke@gmail.com>2013-03-16 15:16:27 -0400
commita3fa9325a9b02390151eb3b0ae1e41fb0816d7fd (patch)
treee6cdba8b2e5a5f9e7ec5898f8a4e524124db9ac9
parent7ae39dc8d0cb12a2db7477fb91782f29c273d151 (diff)
we don't need a kmer file anymore :-)
-rwxr-xr-xsrc/python/quikr.py6
1 files changed, 0 insertions, 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.