Comments (5)
thank you. I made a new release that incorporates this change.
from mosdepth.
Hi, per-base output is only reported for non-zero depth. This is by design.
from mosdepth.
Hi and many thanks for the quick reply! Could you please elaborate a little further on your comment?
When I run mosdepth on the following dummy SAM file
@HD VN:1.6 SO:coordinate
@SQ SN:ref LN:47
seq 0 ref 10 60 38M * 0 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * NM:i:0 MD:Z:38 AS:i:38 XS:i:0
I get this as per-base output:
$ zcat depth.per-base.bed.gz
ref 0 9 0
ref 9 47 1
From your comment I wouldn't expect the first line to be there.
from mosdepth.
Hah, you got me. It's been a while since I really was deep into the mosdepth code.
Will you give this binary a try and let me know if it resolves your issue?
from mosdepth.
Nice, the binary gives the expected output (at least for the toy example above):
$ zcat depth_dev.per-base.bed.gz
ref 0 47 0
from mosdepth.
Related Issues (20)
- Fragment length filtering
- MAPQ 0 reads discarded even if --mapq 0 used HOT 2
- Insert size of 0 HOT 1
- sequencing depth after deduplication HOT 4
- Can I get the two result at the same time?
- Summary output with --use-median
- Write out mean/median mapq HOT 1
- Report all chromosomes/regions even though they have zero coverage HOT 2
- Warnings about invalid chromosome intervals .
- Support for CRAM v3.1 HOT 5
- [question]: mosdepth 0.3.7 via bioconda/docker
- addition of min and max counts to prefix.regions.bed.gz
- Soft and hard clipped bases HOT 7
- Long run time with large assembly and many contigs HOT 9
- `:` in region strings passed to `--chrom`
- Unspecific naming of region in summary file HOT 2
- D4 support in versions 0.3.7 and 0.3.8 HOT 1
- feat: per base in BED regions only? HOT 3
- Differences in WES Coverage Values (Mosdepth Versions 0.3.3 and 0.3.8) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosdepth.