Compatible with Python3
Compatible with Python3

Modified to be compatible with Python2 and Python3. tempfile.write()
require a bytes-like object as parameter in Python3, while both string
and bytes can be used as parameter in Python2.

Before modification
148         tmp_seq.write(">seq1\n")
150         tmp_seq.write(sequence)
After modification
148         tmp_seq.write(">seq1\n".encode())
150         tmp_seq.write(sequence.encode())

michal-stuglik/django-blastplus,michal-stuglik/django-blastplus,michal-stuglik/django-blastplus