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

Setting up another guppy server #39

Closed
alexomics opened this issue Apr 20, 2020 · 5 comments
Closed

Setting up another guppy server #39

alexomics opened this issue Apr 20, 2020 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@alexomics
Copy link
Contributor

Alex and Matt,
If one has a linux box running new Minion-nc, AND new guppy (version 3.5.x) in a different directory (say home/local/bin), one could run basecalling "remote" using the local/bin copy in server mode as long as the toml file is properly configured (port other than 5555). Is that correct? I think that Alex had a diagram for some thing close to this in an earlier reply to someone setting up ru on a gridion. I want to set this up for a minion, and was wondering if running basecalling server on the same machine (but different installation directory) would work. Any advice on setting up basecalling server or toml file for this case?

Originally posted by @tchrisboles in #30 (comment)

@alexomics
Copy link
Contributor Author

@tchrisboles If I understand you correctly, yes.

You can setup another guppy_basecall_server on another port (we generally choose 5556) on the same computer and point ru at it. For example, in the TOML the caller_settings table will look like:

[caller_settings]
config_name = "dna_r9.4.1_450bps_fast"
host = "127.0.0.1"
port = 5556

To set up the server I would start a tmux or screen session and run something like so:

$ /path/to/guppy_basecall_server --config dna_r9.4.1_450bps_fast.cfg \
    --port 5556 --log_path . --ipc_threads 1 --max_queued_reads 2000 \
    --chunks_per_runner 48 --num_callers 1 -x cuda:all --gpu_runners_per_device 2

@tchrisboles
Copy link

Great - will try it today and tomorrow and report. Thanks

@alexomics alexomics added the question Further information is requested label Apr 20, 2020
@alexomics alexomics self-assigned this Apr 20, 2020
@tchrisboles
Copy link

tchrisboles commented May 5, 2020

Alex and Matt, I have made some progress on setting up my machine. Minknow seems to run your simulation fast5 bulk file. The unblock all test seems to work as your readme shows. However the enrich chr21,22 doesn't seem to work. The ru_summarise_fq report doesn't show the expected enhancement of mean read lengths for both chromosomes. Chr21 is slighly enhanced (but not as much as your example), and chr22 is not enhanced at all.
image
After 22 min of ru running using the simulation the size distributions look like:
image
image
The toml file was modified setting max_chunks to 12
image
I set up the guppy basecall server in a dedicated terminal window before starting Minknow like this:
image
Then started Minknow simulation run using your bulk fast5 file. Once the simulation started I opened a new terminal window and started ru_generators:
image
After 15 minutes, the mapping speeds were fairly constant, ranging between 0.08 and 0.15s.
image
My gpu is an RTX2080ti with 11Gb memory.
The workstation is an HP-Z8-G4 with dual Xeon processors (each 10 core), 128Gb ram, 1Tb ssd.

@tchrisboles
Copy link

Changing to guppy server 3.4.5 seems to solve this issue - see my post in question #44.

@tchrisboles
Copy link

Alex - in view of progress on question #44 - I think this one is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants