-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error with add_annotation_from_dat.py #3
Comments
Hi, I also got a similar error message when I run "python3 add_annotation_from_dat.py BRA1306.matches.m6.best uniprot_invertebrates.dat" Traceback (most recent call last): Would you mind giving some suggestions? Thanks a lot! |
I don't know how to solve it either, and I eventually gave up using this script. |
Hi there @Wanliwill, I successfully got rid of the error by adding a line "record = record.decode(‘utf-8’)". Maybe you can have a try.
|
Great. I'll give it a try. Thank you so 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
The text was updated successfully, but these errors were encountered: