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
Bam slicing issue: Unable to query by chromosome #73
Comments
more info: SamReader seems to have bugs. When I switched back to use SAMFileReader, the above API works. comments?? |
A few things:
|
Hey @chilinglam, thanks for reporting this! I can't seem to reproduce the problem, however. Can you please post your code verbatim? Thanks! |
Hi @mccowan, thank you for your help. What I did was simply:
The Later in the code, I iterates through all the records from
The intervals are of type |
Got it; I thought you were reading the file locally. I can reproduce your problem now - thanks! |
That's great to hear! I now use
The Thank you for your help to debug this. I would like to move away from the deprecated |
Opened #75 to address this issue. |
Hi again, #75 has been merged so this issue should be resolved. Please let me know if you continue to experience it! Thanks again @chilinglam for reporting! |
Hi @mccowan, I will try it right now! I assume this is available in sourceforge (http://sourceforge.net/projects/picard/files/)? I saw version 1.118. Also, if you have time, can you also please look at #76? Thank you once again for fix this bug so quickly! |
No, unfortunately; this fix has not been included in a release. You'd have to build picard manually from master of this repository. Alternatively, it should be ferried out as part of the next picard release on sourceforge. |
I see. I will wait for the next release that includes this fix. Thank you for letting me know. |
I tried to use the SamReader:
where intervals contain a single QueryInterval which is:
It will throw an exception as follows:
The BAM file size is about 15 GB downloaded from 1000 Genomes: ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/data/HG00595/alignment/HG00595.mapped.ILLUMINA.bwa.CHS.low_coverage.20120522.bam
Any help is appreciated.
The text was updated successfully, but these errors were encountered: