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

[Errno 2] No such file or directory: 'genes.txt' #46

Open
ryobon-dev opened this issue Sep 2, 2022 · 2 comments
Open

[Errno 2] No such file or directory: 'genes.txt' #46

ryobon-dev opened this issue Sep 2, 2022 · 2 comments

Comments

@ryobon-dev
Copy link

I downloaded tbdb-master and run python parse_db.py.

However, the following error messages appeared. Could you please let me know how I can fix the issue ?

(base) kansensho@DESKTOP-QBEDU0F:/mnt/e/Desktop/tool/tbdb-master$ ls
LICENCE genome.fasta scripts tbdb.csv variables.json
README.md genome.gff spoligotype_list.csv tbdb.other_annotations.csv
barcode.bed parse_db.py spoligotype_spacers.txt tbdb.watchlist.csv
(base) kansensho@DESKTOP-QBEDU0F:/mnt/e/Desktop/tool/tbdb-master$ python parse_db.py
Traceback (most recent call last):
File "/mnt/e/Desktop/tool/tbdb-master/parse_db.py", line 281, in
args.func(args)
File "/mnt/e/Desktop/tool/tbdb-master/parse_db.py", line 202, in main
gene_info = load_gene_info("genes.txt")
File "/mnt/e/Desktop/tool/tbdb-master/parse_db.py", line 187, in load_gene_info
for l in open(filename):
FileNotFoundError: [Errno 2] No such file or directory: 'genes.txt'

@mbhall88
Copy link

I also raised this in #45

@jodyphelan
Copy link
Owner

Thanks @mbhall88, I've now updated the documentation to remove references the parse_db.py script. @ryobon-dev Please refer to https://github.com/jodyphelan/TBProfiler for instructions on how to create the database files for tb-profiler

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

3 participants