Skip to content

error with add_annotation_from_dat.py #3

@Wanliwill

Description

@Wanliwill

Hi,
When I run :python add_annotation_from_dat.py expanded_dup.blastp.best uniprot_plants.dat
there is such an error:
Traceback (most recent call last):
File "add_annotation_from_dat.py", line 22, in
GO_RECORD = re.findall(r"GO; (GO:\d+); ([F|P|C]):.?; (.):",record)
File "/pub/anaconda3/envs/py36/lib/python3.6/re.py", line 222, in findall
return _compile(pattern, flags).findall(string)
TypeError: cannot use a string pattern on a bytes-like object

I do not know what is wrong, please help, thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions