Skip to content
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

bamCoverage outputs empty bedgraph file #440

Closed
daquang opened this issue Oct 31, 2016 · 6 comments
Closed

bamCoverage outputs empty bedgraph file #440

daquang opened this issue Oct 31, 2016 · 6 comments

Comments

@daquang
Copy link

daquang commented Oct 31, 2016

My BAM file is 17GB. When I run bamCoverage on it with the following options, bamCoverage only outputs an empty bedgraph file:

--normalizeTo1x 2478297382 --numberOfProcessors 12 --ignoreForNormalization chrX chrM --Offset 1 --binSize 1 --blackListFileName blacklist.bed.gz --skipNonCoveredRegions

It seems to work fine for smaller BAMs.

@dpryan79
Copy link
Collaborator

My guess is that this is related to #438, since --Offset 1 with 1x normalization could yield a lot of values <0.1. Can you either try the develop branch or post the problematic BAM file somewhere?

@daquang
Copy link
Author

daquang commented Oct 31, 2016

Thanks for looking into it. You can find the bam and blacklist bed file here:

https://hpc.oit.uci.edu/~dxquang/

As you can probably tell from what I'm trying to do, I'm trying to get a normalized DNase I 5' cut coverage at single base resolution.

@dpryan79
Copy link
Collaborator

Thanks, I'm downloading that now and will have a look.

@dpryan79
Copy link
Collaborator

I've tried this on what will become the 2.4.0 release and at least there it produces reasonably sized output. I can reproduce this with version 2.3.6, so I guess we've fixed it in the interim :)

@dpryan79
Copy link
Collaborator

BTW, the 2.4.0 release should be out on Wednesday, though you can get it via the "develop" branch now if you need it right away.

@daquang
Copy link
Author

daquang commented Oct 31, 2016

Thank you so much for the fast response! Seems to be working well so far :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants