Skip to content

running error of create_fasta.py #418

Description

@zzsunday

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 #

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs more infoIssue cannot be resolved until we get more information

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions