-
Notifications
You must be signed in to change notification settings - Fork 577
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
samtools coverage for WES using bed file #1662
Comments
I am not sure I understand your request. Could you expand on what you want and, more importantly, why you want it? Understanding your problem would help us know how to fix the issue. |
Hello, I have whole exome sequences, I have aligned them to hg38. I want to work out the % coverage across the reference genome at the points that the bed file states were sequenced. I may be wrong but samtools coverage seems to provide these results in your example samtools coverage -r chr1:1M-12M input.bam However, rather than just a part of the chromosome I would like to do this using the regions of the exome capture stated in the bed file. I may be misunderstanding the use of samtools coverage, so apologies if that is the case. I have used samtools depth to work out the average depth but would like some sort of coverage across the parts of the whole exome regions to go alongside. Sorry if I am wrong, and if this doesn't make sense. I am still learning. Thank you for your reply! Amy |
Now I understand. You are right, It should be possible to add a bed file option to |
There's also |
That's great, I'll have a go at bedcov, thank you! |
Hello, bedcov worked well - is there a way to get some similar stats that samtools coverage outputs like: Number of reads: from the bedcov output? Thanks, |
Hello, I think that what @amyhouseman proposed could be a really great improvement over running the command window by window. Thanks for your availability |
I actually ended up using qualimap for this rather than bedcov, it gave me more stats and output results that were useful |
Hello Everyone, |
Hi, is there any advance on that? thanks |
It is on my to-do but I have not got around to doing anything about it. |
Hello,
I was wondering if it's possible to add both bam and bed files as input for samtools coverage?
Thanks,
Amy
The text was updated successfully, but these errors were encountered: