Open AroobAlhumaidy opened 1 year ago
this is another error:
---- Processing: global_temp_workspace/analysis/sample.sorted.bam ----
Total # Mapped Reads: 6044117
Total # Unmapped Reads: 4325
Total # Reads: 6048442
Generating a depth file, this may take a while.
Traceback (most recent call last):
File "/home/data/weeSAM/weeSAM", line 797, in <module>
process_bam(bam_list)
File "/home/data/weeSAM/weeSAM", line 289, in process_bam
avg_dict[i] = statistics.mean(min_dict[i])
KeyError: 'NC_045512.2'
Hello everyone,
I'm building my snakemake including weeSAM, and facing an issue: This is the snakefile rule:
This is the error I'm getting when I run the pipeline, However, when I re-run the pipeline it works. I don't know the reason for the instability:
"docker run --rm -v $(pwd):/home/data -w /home/data alhumaidyaroob/weesam:latest python3 weeSAM/weeSAM --bam {input} --out {output}"
python codeBase/weeSAM.py --bam {input} --out {output}
Can you help?
Thanks,
Best, Aroob