Closed schorlton-bugseq closed 4 months ago
Hi @schorlton-bugseq
Sorry for the delay in getting back to you on this. You can use --no_clean
to stop removal of th intermediate files. This might be a tricky one to debug as it could be a variety of issues that cause failure to make the vcf. Feel free to drop me an email (my email is in the database version dictionary), if you get stuck and I'd be happy to help.
Thanks. The --no_clean
helped. I think I finally got this, with two issues:
Thanks again for your consideration!
Thanks for debugging this! Definitely would be useful to add some sanity checks. Will get those in into the next version.
New challenge with this:
v5 example: (needed to gz it for GitHub so please uncompress): no_rg.bam.gz
docker run --rm -it quay.io/biocontainers/tb-profiler:5.0.1--pyhdfd78af_1
# finds variant
tb-profiler profile --bam no_rg.bam -p no_rg
# add read group
samtools addreplacerg -u -o rg.bam -r 'ID:rg SM:rg' no_rg.bam
# misses variant
tb-profiler profile --bam rg.bam -p rg
Thoughts on what could be causing this?
Thanks again for your help!
The bam header is a pit picky with whitespace. Try adding the RG with:
samtools addreplacerg -u -o rg.bam -r 'ID:rg\tSM:rg' no_rg.bam
The bam header is a pit picky with whitespace. Try adding the RG with:
samtools addreplacerg -u -o rg.bam -r 'ID:rg\tSM:rg' no_rg.bam
Brilliant - that worked - thanks!
PS feel free to close this issue if appropriate as I see there is already a commit mentioning it.
Great thanks for helping debug!
Thanks for all of your work on TBProfiler. Running;
This worked on v5, but now on v6.2.1 (installed from conda) getting the below error. My external_db as created with
update_db
and--match_ref
, using the RefSeq H37Rv (NC_000962.3). As it cleans up (and I can't figure out if one can disable this?), I can't inspect the VCFs. Any ideas?Thanks!