aboutsummaryrefslogtreecommitdiff
path: root/generate_kmers.py
blob: 4cd9aca0218489d630bdb8d15bbc02f2338f9d86 (plain)
1
2
3
4
5
6
7
#!/usr/bin/python
import itertools
import sys

kmer_array ='\n'.join(''.join(x) for x in itertools.product('acgt', repeat=int(sys.argv[1])))

print kmer_array