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

FileNotFoundError: [Errno 2] No such file or directory: Database__SGB2GTDB.tsv'[BUG] #219

Closed
dywang0323 opened this issue Nov 1, 2023 · 1 comment

Comments

@dywang0323
Copy link

Hi,

I run the command like below:
sgb_to_gtdb_profile.py -i /ourdisk/hpc/nullspace/dywang/dont_archive/CHOICE/Genome/metaphlan/metaphlan_M/CHO59M.fq.txt -o /ourdisk/hpc/prebiotics/dywang/Projects/CHOICE/Metagenome/PREPROCESS/CHO59M.txt -d /ourdisk/hpc/prebiotics/dywang/Software/Database_meta

But frequently get the error like:
Traceback (most recent call last):
File "/home/dywang/.local/bin/sgb_to_gtdb_profile.py", line 8, in
sys.exit(main())
File "/home/dywang/.local/lib/python3.9/site-packages/metaphlan/utils/sgb_to_gtdb_profile.py", line 97, in main
get_gtdb_profile(args.input, args.output, database_controller.get_database_name())
File "/home/dywang/.local/lib/python3.9/site-packages/metaphlan/utils/sgb_to_gtdb_profile.py", line 55, in get_gtdb_profile
with open(os.path.join(os.path.dirname(os.path.abspath(file)), "{}_SGB2GTDB.tsv".format(database)), 'r') as read_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/dywang/.local/lib/python3.9/site-packages/metaphlan/utils/Database__SGB2GTDB.tsv'

Copy link

github-actions bot commented Nov 1, 2023

Thank you for creating this issue.
We currently field issues through our bioBakery Discourse Support Forum.
If you would please post the issue to discourse we would be happy to sync up with you to get it resolved.

@github-actions github-actions bot closed this as completed Nov 1, 2023
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