-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi
I got the following error while trying to convert sequences to kraken input format
Traceback (most recent call last):
File "/home/jason/Documents/Databases/UpdateKrakenDatabases.py", line 118, in
get_fasta_in_kraken_format('human_genome.fa')
File "/home/jason/Documents/Databases/UpdateKrakenDatabases.py", line 107, in get_fasta_in_kraken_format
outseq=">"+seq_id+"|"+taxid+"\n"+str(seq)+"\n"
File "/home/jason/anaconda3/lib/python3.9/site-packages/Bio/Seq.py", line 369, in str
return self._data.decode("ASCII")
File "/home/jason/anaconda3/lib/python3.9/site-packages/Bio/Seq.py", line 156, in decode
return bytes(self).decode(encoding)
File "/home/jason/anaconda3/lib/python3.9/site-packages/Bio/Seq.py", line 2911, in bytes
raise UndefinedSequenceError("Sequence content is undefined")
Bio.Seq.UndefinedSequenceError: Sequence content is undefined
I would apprecciate any help since I'm stuck trying to build the database