From d29f2342984d408f69feec85114e9eb38b18ed66 Mon Sep 17 00:00:00 2001 From: Calvin Date: Tue, 14 May 2013 17:52:23 -0400 Subject: remove generate kmers from quikr --- src/python/quikr.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/python') 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): """ -- cgit v1.2.3