diff options
author | mutantturkey <mutantturke@gmail.com> | 2013-03-16 15:16:27 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2013-03-16 15:16:27 -0400 |
commit | a3fa9325a9b02390151eb3b0ae1e41fb0816d7fd (patch) | |
tree | e6cdba8b2e5a5f9e7ec5898f8a4e524124db9ac9 | |
parent | 7ae39dc8d0cb12a2db7477fb91782f29c273d151 (diff) |
we don't need a kmer file anymore :-)
-rwxr-xr-x | src/python/quikr.py | 6 |
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. |