summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-03-15 16:43:04 -0400
committerCalvin <calvin@EESI>2013-03-15 16:43:04 -0400
commit7ae39dc8d0cb12a2db7477fb91782f29c273d151 (patch)
tree96df531af7f3e97e00f8e3f7c8ad1eeadb308597
parentd4d37bb65d2df60abcbe3ee88851e61523e34fb4 (diff)
eliminated the need for Nmers.txt:-)
-rwxr-xr-xsrc/python/quikr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/quikr.py b/src/python/quikr.py
index 182fd74..225ea9b 100755
--- a/src/python/quikr.py
+++ b/src/python/quikr.py
@@ -62,7 +62,7 @@ def train_matrix(input_file_location, kmer):
print "could not find kmer file"
exit()
- input_file = Popen(["probabilities-by-read", str(kmer), input_file_location, kmer_file_name] , stdout=PIPE)
+ 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.
# also do some fancy rotations so that it works properly with quikr