-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
tb-profiler update_tbdb --match_ref
fails
#337
Comments
Ah I think you found a bug there. Try add the full path to your reference file and it should work. I'll patch this in the next release. |
Hi! When I supply the full path it does fix that particular error but I get an error downstream. The error is a keyError where the process is trying to look for the header of my reference and it is missing e.g. for a fasta:
gives the error:
This can be rectified by renaming the header to match the original tbprofiler reference ( Thank you! |
Just checking - are using this refrence genome: https://www.ncbi.nlm.nih.gov/nuccore/NC_000962.3? |
Yes it is, it is also the same number of BP as the original TBProfiler reference |
Hi @jodyphelan I get the same KeyError when trying to use the --match_ref flag |
Ok it looks like the issue arises when |
HI @jodyphelan I gave this a try but I run against the same error Thanks |
It still caused a (different error) when I ran it, but I was able to get it work. if my reference is in |
Oh yeah it requires the full path to the reference file in the release version but this is fixed in 1e4c872 |
Sorry yes you're right, I tried that originally and forgot when I tried it with the new update. It seems to be working now. Thanks 😄 |
Great! will close this now but if there are any more related issues feel free to reopen |
On v6.2.0, I run:
tb-profiler update_tbdb --match_ref myref.fna
I get:
It looks like it's looking for the ref in tbdb dir and not the parent where it is located.
Thanks for your help and tool!
The text was updated successfully, but these errors were encountered: