From f394c8e5d59c55af1ebd530d7e19fdce0ced3ce3 Mon Sep 17 00:00:00 2001 From: Dave Tang Date: Mon, 25 Mar 2024 16:05:34 +0900 Subject: [PATCH] Coverage in windows --- learning_bam_file.Rmd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/learning_bam_file.Rmd b/learning_bam_file.Rmd index 5592f1a..e708021 100644 --- a/learning_bam_file.Rmd +++ b/learning_bam_file.Rmd @@ -554,6 +554,13 @@ gunzip -c ERR188273.per-base.bed.gz | head cat ERR188273.mosdepth.summary.txt ``` +Coverage in using a 500 bp window. + +```{bash engine.opts='-l'} +mosdepth -n --fast-mode --by 500 ERR188275_500 eg/ERR188273_chrX.bam +gunzip -c ERR188275_500.regions.bed.gz | head +``` + ## Stargazers over time [![Stargazers over time](https://starchart.cc/davetang/learning_bam_file.svg)](https://starchart.cc/davetang/learning_bam_file)