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

need better diagnostic output for malformed bam #404

Closed
rbuels opened this issue Jan 3, 2014 · 2 comments
Closed

need better diagnostic output for malformed bam #404

rbuels opened this issue Jan 3, 2014 · 2 comments
Labels
bug this is a problem that needs to be fixed waiting for user waiting for a user's response, can close after enough time has elapsed

Comments

@rbuels
Copy link
Collaborator

rbuels commented Jan 3, 2014

On 01/03/2014 05:47 AM, Keiran Raine wrote:

Hi Robert,

I've discovered after much digging that one of the tools we are using
generates uncompressed BAM files by default. Although I'm going to
correct them it's probably a good idea to:

  • Update the error message to something to help diagnose the problem:
    o currently: 'ReferenceError: end is not defined'.
  • Add support with warning to console that data is uncompressed.

Regards,

Keiran Raine
Principal Bioinformatician
Cancer Genome Project
Wellcome Trust Sanger Institute

kr2@sanger.ac.uk mailto:kr2@sanger.ac.uk
Tel:+44 (0)1223 834244 Ext: 7703
Office: H104

-- The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

Gmod-ajax mailing list
Gmod-ajax@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmod-ajax

@rbuels
Copy link
Collaborator Author

rbuels commented Jan 6, 2014

Hi Keiran,

I just did some testing on the volvox example bam file like:

gunzip -c volvox-sorted.bam > foo
mv foo volvox-sorted.bam

And the error message that JBrowse gives on that is "Not a BAM file", which I think is kind of reasonable.

Do you have a sample of your uncompressed BAM output (with a .bai) that I can try to reproduce this with?

@rbuels
Copy link
Collaborator Author

rbuels commented Jan 6, 2014

On 01/06/2014 11:04 AM, Keiran Raine wrote:

samtools view -u compress.bam > uncompressed.bam.

Exceptionally sparse data but this coord will give you some data: Y:9990200.

@rbuels rbuels closed this as completed in 06b7533 Jan 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug this is a problem that needs to be fixed waiting for user waiting for a user's response, can close after enough time has elapsed
Projects
None yet
Development

No branches or pull requests

1 participant