JensUweUlrich / ReadBouncer

Fast and scalable nanopore adaptive sampling
GNU General Public License v3.0
33 stars 2 forks source link

Guppy connection error #66

Closed ylang0825 closed 1 year ago

ylang0825 commented 1 year ago

Hi, thanks for your great job! When I'm to use it, I also face the guppy connection problem when using guppy6.4.6 and MinKNOW core 5.4.3. When I run as root, the problem is sill there. By the way, I can run readfish with guppy6.4.6 as root, so I guess my Guppy is working well.

Below is the output:

IBF-build processed 51 sequences (12.8433 Mbp) in 0.812882 seconds (3.76438 Kseq/m, 947.983 Mbp/m)

My config is like this:

caller="Guppy" host="ipc:///tmp/.guppy" port=5555 config="dna_r9.4.1_450bps_fast"

I noticed that the developer has specific binary for guppy6.2. But I tried that and still failed. Could this be solved if there is a binary for guppy6.4?

Since Guppy failed, I also tried DeepNano. It seems that ReadBouncer is running but I did not see a purple bar in MinKNOW reflecting adaptive sampling. I use 16G memory and 8-core CPU. Could this be caused by CPU's insufficient power?

Below is the output and I can see ReadBouncer is running: IBF-build processed 51 sequences (12.8433 Mbp) in 0.779194 seconds (3.92714 Kseq/m, 988.969 Mbp/m)

I have another question. Could ReadBouncer run with half of the channels as the adaptive group and the left as the control group?

Thank you very much!

JensUweUlrich commented 1 year ago

I'm sorry for not getting back to you earlier. I'm occupied with other projects at the moment. However, I managed to provide binaries for ReadBouncer with Guppy 6.4 support, which you can find here. This should fix your problems on that side. I don't know why base-calling with DeepNano did not work. Usually, it's enough to use 3 or 4 base-calling threads. Could you let me know if you recognized any error messages in the log files?

Regarding your question, you can specify the channels parameter in the Minknow section of the config file to use only half of the channels. The following will tell ReadBouncer to apply adaptive sampling only to the first 256 channels of the flowcell.

[MinKNOW]
..
channels           = [1,256]

Best Jens