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

ntm-profiler running failed in docker container #33

Open
yujun2017 opened this issue Dec 14, 2023 · 5 comments
Open

ntm-profiler running failed in docker container #33

yujun2017 opened this issue Dec 14, 2023 · 5 comments

Comments

@yujun2017
Copy link

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

@jodyphelan
Copy link
Owner

Hi @yujun2017 ,

Do you have the error report for v0.3.0?

@yujun2017
Copy link
Author

yujun2017 commented Dec 15, 2023 via email

@yujun2017
Copy link
Author

yujun2017 commented Dec 15, 2023 via email

@yujun2017
Copy link
Author

yujun2017 commented Jan 5, 2024 via email

@yujun2017
Copy link
Author

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.

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

No branches or pull requests

2 participants