Closed aofarrel closed 1 year ago
Hi Ash,
This is a bug in that version. It is fixed in the master branch, I just need to make a conda release. After running the command and seeing the error, it should have clones a git repo called tbdb. What you should do is to go into that directory and manually run the create_db step:
cd tbdb
tb-profiler create_db --prefix tbdb --match_ref tb_seq.fasta --load
Let me know if that works for you.
It seems to be working now! Thank you so much!
(If you got a notification earlier with an error message in samtools index, that was an issue on my part, sorry!)
Great to hear it is working now!
Version: staphb/tbprofiler:4.4.2 docker image
I'm hoping to run tb_profiler on some bams, but ran into an error similar to this one. My fasta file starts with
>NC_000962.3
so I figured I need to runtb-profiler update_tbdb --match_ref
, but I can't seem to get that working. Seems like it cannot find the fasta file I'm passing into it?.git, .gitattributes, Dockerfile, and tb_profiler.wdl are my own files from my own repo.
The samtools and bwa commands mentioned here work, so this isn't a matter of the file not being mounted into the Docker image, but
tb-profiler update_tbdb --match_ref
is still not working. Different iterations like./tb_seq.fasta
or$(pwd)/tb_seq.fasta
don't seem to be working. Am I missing a step? Does my fasta need to go somewhere specific?