1>>> short_genome = get_random_string(length=32, allowed_chars='ACTG')
2>>> short_genome
3u'CCCAAAAGTACGTCCGGCATTTGTCCACCCCT'
4
1>>> from django.utils.crypto import get_random_string
2>>> unique_id = get_random_string(length=32)
3>>> unique_id
4u'rRXVe68NO7m3mHoBS488KdHaqQPD6Ofv'
5