From e8dfa85cd7e0428e53aac532c31f1ac1cc3cf1c1 Mon Sep 17 00:00:00 2001 From: Calvin Date: Thu, 7 Mar 2013 17:17:20 -0500 Subject: starting to modularize --- generate_kmers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'generate_kmers.py') diff --git a/generate_kmers.py b/generate_kmers.py index 9a338b7..38fdf0a 100755 --- a/generate_kmers.py +++ b/generate_kmers.py @@ -1,5 +1,5 @@ #!/usr/bin/python -import itertools +import quikr import sys -print '\n'.join(''.join(x) for x in itertools.product('acgt', repeat=int(sys.argv[1]))) +print quikr.generate_kmers(int(sys.argv[1])) -- cgit v1.2.3