-
Notifications
You must be signed in to change notification settings - Fork 49
Description
hi, thank u for create such fancy tool!
recently , i have encountered a error with using create_fasta.py scirpt, below is my error report:
Traceback (most recent call last):
File "/public/home/bh2022044/00_softwares/vamb-master/src/create_fasta.py", line 28, in
for record in vamb.vambtools.byte_iterfasta(file, args.fastapath):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/public/home/bh2022044/00_softwares/micromamba/envs/avamb/lib/python3.12/site-packages/vamb/vambtools.py", line 470, in byte_iterfasta
raise TypeError(errormsg) from None
TypeError: First line does not contain bytes. Are you reading file in binary mode?
command:python ~/00_softwares/vamb-master/src/create_fasta.py ~/sunda/Single-wastewater/Meta/04_Binning/vamb/DZ09EF4/DZ09EF4.nextpolish_5000_c.fa res 100000 Bin
python version:3.12.9 #