aboutsummaryrefslogtreecommitdiff
path: root/generate_kmers.py
diff options
context:
space:
mode:
Diffstat (limited to 'generate_kmers.py')
-rwxr-xr-xgenerate_kmers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/generate_kmers.py b/generate_kmers.py
index 4cd9aca..5460c03 100755
--- a/generate_kmers.py
+++ b/generate_kmers.py
@@ -2,6 +2,4 @@
import itertools
import sys
-kmer_array ='\n'.join(''.join(x) for x in itertools.product('acgt', repeat=int(sys.argv[1])))
-
-print kmer_array
+print'\n'.join(''.join(x) for x in itertools.product('acgt', repeat=int(sys.argv[1])))