Giter Club home page Giter Club logo

Comments (5)

brentp avatar brentp commented on July 30, 2024 1

thank you. I made a new release that incorporates this change.

from mosdepth.

brentp avatar brentp commented on July 30, 2024

Hi, per-base output is only reported for non-zero depth. This is by design.

from mosdepth.

julibeg avatar julibeg commented on July 30, 2024

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.

brentp avatar brentp commented on July 30, 2024

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?

mosdepth_dev.gz

from mosdepth.

julibeg avatar julibeg commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.