megalodon
megalodon copied to clipboard
Guppy server initialization failed
Hi,
I am really sorry because I have seen many issues about problems with initialization of the guppy server, but I am not able to solve it.
As it is described in the README, I used this code:
megalodon \
fast5_files/fast5_pass/barcode01/ \
--guppy-params "-d ./rerio/basecall_models/" \
--guppy-config res_dna_r941_min_modbases_5mC_CpG_v001.cfg \
--outputs basecalls mappings mod_mappings mods \
--reference /home/aitor/Datas/Genomes/hg38/hg38.fa \
--mod-motif m CG 0 \
--devices 0 \
--processes 20
--guppy-server-path /home/aitor/methylation_tools/guppy/ont-guppy/bin/guppy_basecall_server
This is the error:
[[12:34:52] Running Megalodon version 2.5.0
******************** WARNING: "mods" output requested, so "per_read_mods" will be added to outputs. ********************
[12:34:52] Loading guppy basecalling backend
****************************************************************************************************
ERROR: Guppy server initialization failed. See guppy logs in [--output-directory] for more details.
Try running the guppy server initialization command found in log.txt in order to pinpoint the source of this issue.
****************************************************************************************************
log.tex:
[12:28:39] Running Megalodon version 2.5.0
DBG 12:28:39 : Command: """/home//.local/bin/megalodon ./fast5_files/fast5_pass/barcode01/ --guppy-config dna_r9.4.1_450bps_fast.cfg --remora-modified-bases dna_r9.4.1_e8 fast 0.0.0 5hmc_5mc CG 0 --outputs basecalls mappings mod_mappings mods --reference reference.fa --devices 0 1 --processes 20 --guppy-server-path /home/aitor/methylation_tools/guppy/ont-guppy/bin/guppy_basecall_server --overwrite""" --- MainProcess-MainThread megalodon.py:1787
******************** WARNING: "mods" output requested, so "per_read_mods" will be added to outputs. ********************
[12:28:39] Loading guppy basecalling backend
DBG 12:28:39 : Guppy version: "6.4.2" --- MainProcess-MainThread backends.py:938
DBG 12:28:39 : Pyguppy version: "6.4.2" --- MainProcess-MainThread backends.py:939
DBG 12:28:39 : guppy server init command: "/home/marcos/aitor/methylation_tools/guppy/ont-guppy/bin/guppy_basecall_server -p auto -l megalodon_results/guppy_log -c dna_r9.4.1_450bps_fast.cfg --quiet -x cuda:0 cuda:1" --- MainProcess-MainThread backends.py:1016
DBG 12:28:39 : Found guppy log file: megalodon_results/guppy_log/guppy_basecall_server_log-2023-01-02_12-28-39.log --- MainProcess-MainThread backends.py:1032
****************************************************************************************************
ERROR: Guppy server initialization failed. See guppy logs in [--output-directory] for more details.
Try running the guppy server initialization command found in log.txt in order to pinpoint the source of this issue.
****************************************************************************************************
guppy.log:
2023-01-02 12:36:22.219559 [guppy/message] ONT Guppy basecall server software version 6.4.2+97a7f06, client-server API version 13.1.0, minimap2 version 2.24-r1122
log path: megalodon_results/guppy_log
chunk size: 2000
chunks per runner: 160
max queued reads: 2000
num basecallers: 4
num socket threads: 2
max returned events: 256000
gpu device: cuda:0
kernel path:
runners per device: 8
Use of this software is permitted solely under the terms of the end user license agreement (EULA).
By running, copying or accessing this software, you are demonstrating your acceptance of the EULA.
The EULA may be found in /home/aitor/methylation_tools/guppy/ont-guppy/bin
2023-01-02 12:36:22.219750 [guppy/info] crashpad_handler successfully launched.
2023-01-02 12:36:22.220533 [guppy/info] Listening on port ipc:///tmp/824e-ef45-e0a9-a025.
I also tried with:
megalodon \
fast5_files/fast5_pass/barcode01/ \
--guppy-config dna_r9.4.1_450bps_fast.cfg \
--remora-modified-bases dna_r9.4.1_e8 fast 0.0.0 5hmc_5mc CG 0 \
--outputs basecalls mappings mod_mappings mods \
--reference /home/aitor/Datas/Genomes/hg38/hg38.fa \
--mod-motif m CG 0 \
--devices 0 \
--processes 20
--guppy-server-path /home/aitor/methylation_tools/guppy/ont-guppy/bin/guppy_basecall_server
with the same error.
Thanks.
Aitor Zabala