nanoporetech / megalodon

Megalodon is a research command line tool to extract high accuracy modified base and sequence variant calls from raw nanopore reads by anchoring the information rich basecalling neural network output to a reference genome/transriptome.
Other
197 stars 30 forks source link

Connection error. [basecall_config_unavailable] #301

Closed GeoMicroSoares closed 2 years ago

GeoMicroSoares commented 2 years ago

Hi there,

Trying to run megalodon on my machine atm and getting a connection error. First time user so please let me know if I'm setting this up incorrectly.

Which returns Starting server on port: ipc:///tmp/622d-72d7-e516-0eb1

With this however, I'm getting the following error message:

[16:37:39] Running Megalodon version 2.5.0
[16:37:39] Loading guppy basecalling backend
[guppy/error] basecall_service::BasecallClient::worker_loop: Connection error. [basecall_config_unavailable] could not retrieve details for config from server: /opt/ont/guppy/data/dna_r9.4.1_450bps_sup
[guppy/error] basecall_service::BasecallClient::worker_loop: Connection error. [basecall_config_unavailable] could not retrieve details for config from server: /opt/ont/guppy/data/dna_r9.4.1_450bps_sup
...
****************************************************************************************************
        ERROR: Error connecting to Guppy server. Undefined error: "Basecalling config unavailable: <result.basecall_config_unavailable: 6>"
****************************************************************************************************

Does this make sense? With this output, I'm clueless as to what to do. I don't see any useful output that can tell me what to change, etc. Anything you see that I could improve on? Thanks in advance for the help and let me know what else I could provide to help you help me...! Cheers.

marcus1487 commented 2 years ago

Megalodon will startup the guppy server internally and spin up one connection to this server for each --processes workers. There is no need to start the guppy server externally (and this is in fact likely causing the observed issue since the specified port is already in use). The request to run the guppy server command in that issue is simply for debugging purposes and not required for a successful megalodon run.