danielecook / danielecook.com

Source files for danielecook.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/calculate-depth-and-breadth-of-coverage-from-a-bam-file/?utterances=da4199376189e72dba16d0784eCB%2FzCOvx%2B4NVrj5NRgELJEXPFMrWZceHKbd6HSSu7aIUZ%2BK64RlCBe%2FAiIY7GkZ%2BN9QApDbZ6CYGp9y%2B84fGEYQX%2BEZqaLFZFshltneu5PyivVJ0F50ccddrY%3D

utterances-bot opened this issue · comments

Calculate Depth and Breadth of Coverage From a bam File - Daniel E. Cook

https://www.danielecook.com/calculate-depth-and-breadth-of-coverage-from-a-bam-file/

Hello Daniel,
I wanted to try out your script, but I'm having a difficult time getting it working. My python has os, re, and subprocess, so I don't think that's the issue. I also have samtools loaded. Would you give an example of how to run this? What do you mean by "feed the function coverage a bam file"? Thank you in advance,
Steve

Steve - give mosdepth a try. It's going to be much faster for you and easier to work with.