summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-05-14 17:52:23 -0400
committerCalvin <calvin@EESI>2013-05-14 17:52:23 -0400
commitd29f2342984d408f69feec85114e9eb38b18ed66 (patch)
tree4d3a75aef6ba5d0dd3ae1e04c790a9e821a3ebf0
parent5df6980969d7fefd0ca90769bd3b566cb5210c01 (diff)
remove generate kmers from quikr
-rwxr-xr-xsrc/python/quikr.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/python/quikr.py b/src/python/quikr.py
index 1bd5667..98cc953 100755
--- a/src/python/quikr.py
+++ b/src/python/quikr.py
@@ -8,19 +8,7 @@ from subprocess import *
import gzip
import itertools
-def generate_kmers(kmer):
- """ generate all possible kmers permutations seperated by newlines
- >>> kmers = generate_kmers(1)
- >>> generate_kmers(2)
-
- param kmer: the desired Mer size
- type kmer: int
- return: Returns a string of kmers seperated by newlines
- rtype: string
- """
-
- return '\n'.join(''.join(x) for x in itertools.product('acgt', repeat=kmer))
def is_compressed(filename):
""" This function checks to see if the file is gzipped
@@ -48,7 +36,6 @@ def is_compressed(filename):
else:
f.close()
return False
-
def train_matrix(input_file_location, kmer):
"""