You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I just cloned the repo and ran the script. It then complained about something that is already in the list:
update-gene2product.py Gene2Products.new-names-passed.txt
Product too long: SWI/SNF-related matrix-associated actin-dependent regulator of chromatin subfamily E member 1-related
Traceback (most recent call last):
File "./update-gene2product.py", line 38, in <module>
product = raw_input("Product for %s: " % name)
NameError: name 'raw_input' is not defined
Removing that particular line fixes it. Is there a hard product length limit for NCBI?
Cheers
The text was updated successfully, but these errors were encountered:
There is a limit to product length hence the message,
but that’s a Python error in the code relying on a mis specified function I
think.
This should just report the problem line but not crash. We can fix that
logic / missing function but either way you want to limit the length of
products.
I typically look at uniprot for comparable product descriptions if I need
to curate. The eggnog derived products are often not a good suggestion.
On Thu, May 4, 2023 at 1:49 AM Johannes Debler ***@***.***> wrote:
Hi,
I just cloned the repo and ran the script. It then complained about
something that is already in the list:
update-gene2product.py Gene2Products.new-names-passed.txt
Product too long: SWI/SNF-related matrix-associated actin-dependent regulator of chromatin subfamily E member 1-related
Traceback (most recent call last):
File "./update-gene2product.py", line 38, in <module>
product = raw_input("Product for %s: " % name)
NameError: name 'raw_input' is not defined
Removing that particular line fixes it. Is there a hard product length
limit for NCBI?
Cheers
—
Reply to this email directly, view it on GitHub
<#23>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAL5O5UITJKQB4OKQPN3TTXENUQ7ANCNFSM6AAAAAAXVPEBQM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Sent from Gmail Mobile
Jason Stajich - ***@***.***
Hi,
I just cloned the repo and ran the script. It then complained about something that is already in the list:
Removing that particular line fixes it. Is there a hard product length limit for NCBI?
Cheers
The text was updated successfully, but these errors were encountered: