jodyphelan/NTM-Profiler

ntm-profiler running failed in docker container

Opened this issue · 5 comments

We can't run NTM-profiler 0.3.0 due to update_db failed.

when we tried to run NTM-profiler 0.2.0 inside docker container, we got the error. I have attached error text file in the tickets. Could you please let us know how to fix the issues?

Running command:
set -u pipefail; kmc -t1 -sf1 -sp1 -sr1 -k31 171cd1ce-30eb-4cff-b32f-2a8032c51490.list 171cd1ce-30eb-4cff-b32f-2a8032c51490 171cd1ce-30eb-4cff-b32f-2a8032c51490
Traceback (most recent call last):
File "/opt/conda/envs/ntm-profiler/bin/ntm-profiler", line 322, in
args.func(args)
File "/opt/conda/envs/ntm-profiler/bin/ntm-profiler", line 89, in main_profile
species_prediction = pp.speciate(args)
File "/opt/conda/envs/ntm-profiler/lib/python3.10/site-packages/pathogenprofiler/cli.py", line 64, in speciate
kmer_dump = fastq_class.get_kmer_counts(args.files_prefix,threads=args.threads)
File "/opt/conda/envs/ntm-profiler/lib/python3.10/site-packages/pathogenprofiler/fastq.py", line 127, in get_kmer_counts
run_cmd(f"kmc {bins} -t{threads} -sf{threads} -sp{threads} -sr{threads} -k{klen} @{tmp_file_list} {tmp_prefix} {tmp_prefix}")
File "/opt/conda/envs/ntm-profiler/lib/python3.10/site-packages/pathogenprofiler/utils.py", line 391, in run_cmd
raise ValueError("Command Failed:\n%s\nstderr:\n%s" % (cmd,stderr.decode()))
ValueError: Command Failed:
set -u pipefail; kmc -t1 -sf1 -sp1 -sr1 -k31 171cd1ce-30eb-4cff-b32f-2a8032c51490.list 171cd1ce-30eb-4cff-b32f-2a8032c51490 171cd1ce-30eb-4cff-b32f-2a8032c51490

61ae2b93-2dc9-4966-8101-f64c6158c40f.errlog.txt

Hi @yujun2017 ,

Do you have the error report for v0.3.0?

Jody:
I just want to update the issue we have found for latest ntm-profiler. The issue is only "ntm-profiler update_db" command.
As soon as we created db, we can run ntm-profiler without any issue.