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

Wrong counts for BAMPairedFragmentCollection over regions read in from a bed file #9

Open
pamelarussell opened this issue Oct 22, 2015 · 2 comments

Comments

@pamelarussell
Copy link
Contributor

I wrote a program to get counts over intervals and they are totally wrong. Also, strandedness/unstrandedness of annotation doesn't change the count at all, which it should as the fragments are stranded. Specifically, I'm creating a BAMPairedFragmentCollection and getting counts over regions read in from a bed file.

@charcuterie
Copy link

I don't know how you're constructing these intervals, but if you're reading them in from a paired-end BAM file, keep in mind that this issue could be related to #1. (I discovered #1 when my counts didn't make physical sense.)

@pamelarussell
Copy link
Contributor Author

I'm reading the intervals in from a bed file. They're just simple intervals like chr3 1000000 2000000. I don't think it's related to #1, in which you saw lower counts than expected. I see counts around 3,000-4,000 for a wide variety of intervals; they should not all be in this range, and when I look in IGV, many of them only have a few reads mapped to them. It's almost as if there are ~3,000 fragments that cover the entire chromosome or something.

@pamelarussell pamelarussell changed the title Wrong counts Wrong counts for BAMPairedFragmentCollection over regions read in from a bed file Dec 2, 2015
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