You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the tbdb repo when run tb-profiler create_db, I got two errors:
The first was
_
File "/usr/local/bin/tb-profiler", line 671, in
args.func(args)
File "/usr/local/bin/tb-profiler", line 231, in main_create_db
pp.create_db(args,extra_files=extra_files)
File "/usr/local/lib/python3.8/dist-packages/pathogenprofiler/db.py", line 599, in create_db
genes = load_gff(gff_file)
File "/usr/local/lib/python3.8/dist-packages/pathogenprofiler/utils.py", line 500, in load_gff
p1 = int(fields[3])
ValueError: invalid literal for int() with base 10: 'Archive'
_
and was solved by replacing " " with "_" in geneome.gff
The second was
set -u pipefail; snpEff ann Mycobacterium_tuberculosis_h37rv 80f5eed4-eb3d-4bfc-b5db-473f3236d9a0
Traceback (most recent call last):
File "/usr/local/bin/tb-profiler", line 671, in
args.func(args)
File "/usr/local/bin/tb-profiler", line 231, in main_create_db
pp.create_db(args,extra_files=extra_files)
File "/usr/local/lib/python3.8/dist-packages/pathogenprofiler/db.py", line 610, in create_db
mut = mutation_lookup[(row["Gene"],row["Mutation"])]
KeyError: ('tlyA', 'c.100delA')
Cleaning up after failed run
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/bin/tb-profiler", line 32, in cleanup
del args.conf['json_db']
AttributeError: 'Namespace' object has no attribute 'conf'
I can't resove it ,could you please give some help
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. Linux]
Python version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I muanually installed the tb-profiler by
pip3 install git+https://github.com/jodyphelan/TBProfiler.git
pip3 install git+https://github.com/jodyphelan/pathogen-profiler.git
and git clone https://github.com/jodyphelan/tbdb.git
In the tbdb repo when run tb-profiler create_db, I got two errors:
The first was
_
_
and was solved by replacing " " with "_" in geneome.gff
The second was
I can't resove it ,could you please give some help
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: