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
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