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
Guppy server returned invalid read: 'movement' #215
Hi, running Megalodon version: 2.3.4, with Guppy 5.0.7 as the basecall server on a WGS sample generated on a R9 PromethION flowcell.
Command I used:
megalodon \
/path/to/fast5/ \
--outputs basecalls mappings mod_mappings mods \
--reference /path/to/ref/hg38.no_alt.fa \
--mod-map-emulate-bisulfite \
--mod-map-base-conv C T --mod-map-base-conv m C \
--devices 1 --processes 30 \
--guppy-server-path ~/bin/ont-guppy_5.0.7/bin/guppy_basecall_server \
--output-directory sample-try4 \
--overwrite
Megalodon ran for ~3-4 hours then gave the following error repeated 20-30 times:
Process ReadWorker010:
Traceback (most recent call last):
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 301, in parse_pyguppy_called_read
move=read_datasets["movement"], 77.53reads/s, samples/s=1.12e+7]
KeyError: 'movement'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/net/eichler/vol26/7200/software/modules-sw/miniconda/4.9.2/Linux/CentOS7/x86_64/envs/python3/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/net/eichler/vol26/7200/software/modules-sw/miniconda/4.9.2/Linux/CentOS7/x86_64/envs/python3/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/megalodon.py", line 481, in _process_reads_worker
for bc_res in model_info.iter_basecalled_reads(
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 752, in iter_basecalled_reads
for bc_res in self.pyguppy_run_model(
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 1306, in pyguppy_run_model
for called_read, sig_info, seq_summ_info in self.pyguppy_basecall(
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 1155, in pyguppy_basecall
for comp_read, read_id in self.pyguppy_get_completed_reads(
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 1110, in pyguppy_get_completed_reads
parse_pyguppy_called_read(called_read),
File "/net/eichler/vol26/7200/software/modules-sw/megalodon/2.3.4/Linux/CentOS7/x86_64/megalodon_env/lib/python3.8/site-packages/megalodon/backends.py", line 307, in parse_pyguppy_called_read
raise mh.MegaError(f"Guppy server returned invalid read: {str(e)}")
megalodon.megalodon_helper.MegaError: Guppy server returned invalid read: 'movement'
The guppy_log file doesn't have any errors in it, just a series of timeout/disconnect messages:
Hi, running Megalodon version: 2.3.4, with Guppy 5.0.7 as the basecall server on a WGS sample generated on a R9 PromethION flowcell.
Command I used:
Megalodon ran for ~3-4 hours then gave the following error repeated 20-30 times:
The guppy_log file doesn't have any errors in it, just a series of timeout/disconnect messages:
The log.txt file in the megalodon output dir didn't give any errors either, just a series of extraction messages:
Let me know if any other data would be helpful. Thanks!