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

Difference between results of installed tbprofiler pipeline and online version #389

Open
RehmanZaira opened this issue Aug 20, 2024 · 1 comment

Comments

@RehmanZaira
Copy link

Hi,
I am analyzing the same data through installed tbprofiler and the online version. I got the Delamanid resistance when using the online version. The version of tbprofier that I am using is 5.0.1.
I am trying to update the tbprofiler but got an error
(env_tbprofiler) ngs@ngs-srv:~$ tb-profiler update_tbdb
[10:43:09] ERROR Traceback (most recent call last): utils.py:391
File
"/home/ngs/miniconda3/envs/env_tbprofiler/bin/t
b-profiler", line 562, in
args.func(args)
File
"/home/ngs/miniconda3/envs/env_tbprofiler/bin/t
b-profiler", line 205, in main_create_db
pp.create_db(args,extra_files=extra_files)
File
"/home/ngs/miniconda3/envs/env_tbprofiler/lib/p
ython3.10/site-packages/pathogenprofiler/db.py"
, line 417, in create_db
hgvs_variants = [r for r in
csv.DictReader(open(args.csv))]
FileNotFoundError: [Errno 2] No such file or
directory: 'tbdb.csv'
Cleaning up after failed run

Traceback (most recent call last):
File "/home/ngs/miniconda3/envs/env_tbprofiler/bin/tb-profiler", line 562, in
args.func(args)
File "/home/ngs/miniconda3/envs/env_tbprofiler/bin/tb-profiler", line 183, in main_update_tbdb
pp.run_cmd(f"tb-profiler create_db --prefix {args.prefix} {tmp} --load")
File "/home/ngs/miniconda3/envs/env_tbprofiler/lib/python3.10/site-packages/pathogenprofiler/utils.py", line 392, in run_cmd
raise ValueError("Command Failed:\n%s\nstderr:\n%s" % (cmd,result.stderr.decode()))
ValueError: Command Failed:
/bin/bash -c set -o pipefail; tb-profiler create_db --prefix tbdb --load
stderr:
Traceback (most recent call last):
File "/home/ngs/miniconda3/envs/env_tbprofiler/bin/tb-profiler", line 562, in
args.func(args)
File "/home/ngs/miniconda3/envs/env_tbprofiler/bin/tb-profiler", line 205, in main_create_db
pp.create_db(args,extra_files=extra_files)
File "/home/ngs/miniconda3/envs/env_tbprofiler/lib/python3.10/site-packages/pathogenprofiler/db.py", line 417, in create_db
hgvs_variants = [r for r in csv.DictReader(open(args.csv))]
FileNotFoundError: [Errno 2] No such file or directory: 'tbdb.csv'
Cleaning up after failed run

Cleaning up after failed run
ERROR tb-profiler:58

                ################################# ERROR                     
                #######################################                     
                                                                            
                This run has failed. Please check all                       
                arguments and make sure all input files                     
                exist. If no solution is found, please open                 
                up an issue at                                              
                https://github.com/jodyphelan/TBProfiler/issu               
                es/new and paste or attach the                              
                contents of the error log (tbdb.errlog.txt)                 
                                                                            
                #############################################               
                ##################################                          

Kindly guide me how to fix that issue.

@RehmanZaira
Copy link
Author

Hi Jody,
I am waiting for your response.

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

1 participant