Skip to content
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

Problem communicating with basecaller after MinKnow update #347

Closed
gc-content opened this issue Apr 16, 2024 · 10 comments
Closed

Problem communicating with basecaller after MinKnow update #347

gc-content opened this issue Apr 16, 2024 · 10 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@gc-content
Copy link

Hello!

After installing the new version of the MinKnow (Installed version: 24.02.10, MinKNOW core: 5.9.7, Dorado: 7.3.9), readfish seems to be unable to communicate with the caller. Below I attach the stdout of readfish validate.

readfish validate human_chr_selection.toml
2024-04-16 12:56:10,639 readfish command='validate'
2024-04-16 12:56:10,639 readfish log_file=None
2024-04-16 12:56:10,639 readfish log_format='%(asctime)s %(name)s %(message)s'
2024-04-16 12:56:10,639 readfish log_level='info'
2024-04-16 12:56:10,639 readfish no_check_plugins=False
2024-04-16 12:56:10,639 readfish no_describe=False
2024-04-16 12:56:10,639 readfish prom=False
2024-04-16 12:56:10,640 readfish toml='human_chr_selection.toml'
2024-04-16 12:56:10,640 readfish.validate eJydVk1v2zgQvetXEMqlwdqynU2BNkAO3i5aFGiboE1PQVagJcoiQpGKSCXO/vp9M5QUux/BtoYPEjl6M/PmzZBH4kvfNLJ7PBNXFx8/iMLZSm9FpY0SletEp6SZB90osZFeFdIYbbczoWynixqPZJQcifDgRFF3rnHeNcqLF3gRJ0shbSlOVseiwpYItRJ130grtsrCTGgrpPBAgbNObbWzGbCuau2HVyHb1mjgBSfgGi6ktcp4IYvOec+ID7WjWI17KIQyJktGCLWTTYstPMas+k6VManeWor9QYcaIYrPr7PTbCU2vbl9yjwoH2DEeO8oXl2IILutCnDfKeFbVehKA7LUnSqCeaR8KKLgGhNxhgXANUARIkUgQW9TvMCD9Gf7qzMP+DBTtsRTB+bIjCIZEpnBsO5OZsvZarmc/ZGmhMFLKdH2vqIKnFC6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TCIftgUQ58TWdbejcpJG7J5xTwpG7H+PENqXjagJCOSh6TLwKpyZIQ74YQaSgOEE26KV8z4UseFSN94tzcZ1+epMv8TtZZqsVyWp8X2Wv0xsq0LeXkjiAJmaTeLHKHU+Fw2qm9P2afVL4gdSj+Sjp+L7E8htKQCbsIUt4tP0M8HlEFnPA9W0fezbcwIIwCgcKb42+xuiriryN7TXO6v8dPelGB14FUgQf8/gx9DPY1Lr8LV0rBw8eScRN6JgMnvxkiXU4de7IyzQU9n7PJmHd1Fz7s4cg4fl3IUda9hG/E+MBKT9B/L4NohboGuejvsUTZMK3vvygN/fi/y0f8SL5BJn8B35tV7I=
2024-04-16 12:56:10,643 readfish.validate Loaded TOML config without error
2024-04-16 12:56:10,643 readfish.validate Initialising Caller
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
[ont/error] basecall_service::BasecallClient::worker_loop: Connection error. [bad_reply] Could not interpret message from server for request: LOAD_CONFIG. Reply: INVALID_PROTOCOL
2024-04-16 12:56:10,695 readfish.validate Caller could not be initialised, see below for details
2024-04-16 12:56:10,695 readfish.validate Server response not formatted correctly: <result.bad_reply: 14>
2024-04-16 12:56:10,696 readfish.validate Initialising Aligner
2024-04-16 12:56:16,942 readfish.validate Aligner initialised
2024-04-16 12:56:16,942 readfish.validate Skipping descriptions due to errors.

Thanks for help,
Piotr

Copy link

We found the following entries in the FAQ which you may find helpful:

Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.

This is an automated reply, generated by FAQtory

@Adoni5 Adoni5 self-assigned this Apr 17, 2024
@Adoni5 Adoni5 added bug Something isn't working good first issue Good for newcomers labels Apr 17, 2024
This was referenced Apr 17, 2024
@mattloose
Copy link
Contributor

Adding a comment for anyone else reading this - we are aware of this issue and a fix is in progress. It results from a change in the underlying method of calling the base caller.

@PolAlentorn
Copy link

Thank you for looking into it. I have exactly the same error. Any progress on how to address this error?
Many thanks,
Pol

@mattloose
Copy link
Contributor

Yes - we have a version that should be released in the next 24 hours or so which will resolve this.

@mattloose
Copy link
Contributor

Just to say we have just released the version that should fix this.

Please note that you will need to update your caller settings in your TOML file - https://github.com/LooseLab/readfish/releases/tag/2024.2.0

@mattloose
Copy link
Contributor

I shall close this for now but please reopen if this doesn't fix it.

@github-project-automation github-project-automation bot moved this from Backlog to Done in Readfish Development May 9, 2024
@jennieli421
Copy link

Tried the new version today. Even though the validation was fine, when I started the run I got an error saying "no module dorado found". I tried conda and pip install pydorado but then I got an error saying "dorado does not have an attribute Caller".

@mattloose
Copy link
Contributor

Please can you post the exact error that readfish has given?

@PolAlentorn
Copy link

I got this error in the validation of the toml file:
readfish validate human_chr_selection.toml
2024-05-14 15:38:40,537 readfish /home/admin/miniconda3/envs/readfish/bin/readfish validate human_chr_selection.toml
2024-05-14 15:38:40,537 readfish command='validate'
2024-05-14 15:38:40,537 readfish log_file=None
2024-05-14 15:38:40,537 readfish log_format='%(asctime)s %(name)s %(message)s'
2024-05-14 15:38:40,537 readfish log_level='info'
2024-05-14 15:38:40,537 readfish no_check_plugins=False
2024-05-14 15:38:40,537 readfish no_describe=False
2024-05-14 15:38:40,537 readfish prom=False
2024-05-14 15:38:40,537 readfish toml='human_chr_selection.toml'
2024-05-14 15:38:40,538 readfish.validate eJydVk1v2zgQvetXEMqlwdryR9Ni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Lt/mnzor+TujhZ9eidZYP6X5ll/1/TLF6PhnujypZ/Xm9e9Z00gq+WVLbKK+n1fn+5WnMkRKKHz3c+Xb+67lFbn51DVrpBiEHYo7yEtsqWle9ZXAURKeptYdj2/PBlgGx2p3nOh8wDljJ0kILhwmBxpB0Z0QPzdLjjjI2DnppvF4ioGGmSU1DfmATHT8JSqppQ82yCvt9FqZ4j7FDG+tKYQo05BC6rxpoehCoJUg1DSMRE7ACnPSJQnJ9Ij1H53SJMX4RB2j26Lu9D0RTgOdt56OOExlUdGmtzuiB7sNvweqNkFKJRRO2pwwmYkBOWSizdPgsA/4lH2JD0HnxMhgcBj4ENhg1YfkIH7SNWKibOkbNn6Dk39D4go59DX3X18AwmkVbxvDfaR0Y+V9uHX09wx6WmTJ7W1fnLu7hIYrCQ+3jpz0nibokLx3eMYWyAMLsukapkcR9ts9iXzkazz60OVJw7fPOCeEw7ffx4ktTafZCIRyUPSYjhUOVZCGfDGuSEFx2qzRS/meC16EsTZcP87YbTj352l/J1ikd1STr68pcT6NZCbxqpWbMDQOC5jS96vghiL2JBgZThobblBBcT3rZBI8ZEmYfD8CfBkx6NfjQrePPenvZJ4pgfMmbA2+huirirwNHTWM8v8dPUlF+rAKpAg+5PF96BewqVvDt3TR7D04JBE3IV0yePaTJdrgUHogL+Mc2Pu9mIQ2Yz/tjxuChOdfhRxo2Uf8Rn8HpPwA8VvlRy3Qxc5FSbNnyCTcA/ODdtyL/5d8xKvlM2TyH8oNX24=
2024-05-14 15:38:40,541 readfish.validate Loaded TOML config without error
2024-05-14 15:38:40,541 readfish.validate Initialising Caller
2024-05-14 15:38:40,761 readfish.validate Caller could not be initialised, see below for details
2024-05-14 15:38:40,761 readfish.validate module 'dorado' has no attribute 'Caller'
2024-05-14 15:38:40,761 readfish.validate Initialising Aligner
2024-05-14 15:38:46,142 readfish.validate Aligner initialised
2024-05-14 15:38:46,143 readfish.validate Skipping descriptions due to errors.

@mattloose
Copy link
Contributor

I've tried a clean install of readfish here and I cannot recreate your issue.

Please can you try reinstalling readfish in a clean environment - in addition can you please share the toml file you are using?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Archived in project
Development

No branches or pull requests

5 participants