-
-
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
KeyError:530 when running the pipeline #55
Comments
I had found some similar looking error messages and have uploaded a fix with the latest pathogen-profiler commit. Try updating this library and check if you still get the error. Jody |
Unfortunately, I am still getting the error (see below). This is on a different file than the original bug report. I am getting KeyError: 1290 I do have file that I can share with you for debugging purposes. What would be the best way to get it to you? It is not yet in a public repository. set -u pipefail; samtools view -bL /sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/share/tbprofiler/tbdb.bed S132.bam | samtools depth -aa --reference /sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/share/tbprofiler/tbdb.fasta - |
Hi Jody, I saw that you sent me a response to this with instructions on where to put the file but I can't seem to find it. Could you send it again? Thanks. |
Just sent it again. |
This issue is now fixed in the latest conda build (v2.6.1) |
Thanks a lot! We will update to version 2.6.1 and let you know if we run into any issues. |
Hi Jody,
Running command:
set -u pipefail; samtools view -bL /sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/share/tbprofiler/tbdb.bed bamDir/fileWerror.bam | samtools depth -aa --reference /sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/share/tbprofiler/tbdb.fasta -
Traceback (most recent call last):
File "/sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3//bin/tb-profiler", line 347, in
args.func(args)
File "/sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3//bin/tb-profiler", line 93, in main_profile
results = tbp.reformat(results,conf)
File "/sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/lib/python3.7/site-packages/tbprofiler/reformat.py", line 247, in reformat
results = reformat_annotations(results,conf)
File "/sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/lib/python3.7/site-packages/tbprofiler/reformat.py", line 217, in reformat_annotations
var["change"] = pp.reformat_mutations(var["change"],var["type"],var["locus_tag"],chr2gene_pos)
File "/sysapps/cluster/software/Anaconda3/5.3.0/envs/tbprofiler-2.6-python3/lib/python3.7/site-packages/pathogenprofiler/utils.py", line 53, in reformat_mutations
gene_start = gene_info[chr_pos] + 1
KeyError: 530
The text was updated successfully, but these errors were encountered: