-
Notifications
You must be signed in to change notification settings - Fork 387
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
Loading CRAM files failed with release 2.16.0 #1286
Comments
It's hard to say what the problem is with screenshots, and this is the first report of this we have had. All crams that I have tried load without error. Could you share your igv.log file, it should have some diagnostic information. Its located in an "igv" folder under your home directory, and will have a name like. "igv0.log" or similiar. There could be several, we just need the log for the time you experienced the issue. You can zip and attach here, or if you'd rather not have it public email to igvteam (at) broadinstitute.org |
Dear @jrobinso, Sure, screenshots were just to illustrate, in case you already had this issue. So, here is the log file (IGV 2.16.0):
Here are also the CRAM and CRAI files I used (just a test sample for devel): Thanks for your help! |
I just test release 2.16.0 on a Windows system. It seems that the same issue append. |
Another test with Samtools shoxs that the CRAM file can be view:
Do you think there is a problem with the format? With tags on this file? When I create a BAM file from the CRAM file, it can be loaded in IGV:
|
Thanks for the sample data, we will look into it. |
@antonylebechec Thank you so much for the helpful bug report and the test data. It's a simple bug in the underlying htsjdk library. I just built and tested a patch that should fix it. I'll have to release a new htsjdk and then incorporate that into IGV. |
Thanks a lot IGV Team!!! |
* Fix an NPE in CRAMRecordReadFeatures.restoreReadBases() when reading crams with embedded references. * Fix for igvteam/igv#1286
Dear IGVTeam,
Dealing with CRAM files, I used to open them with IGV (release 2.12.13). However, IGV release 2.16.0 doesn't open correctly CRAM files.
These CRAM files were generated using samtools (1.15.1) and these parameters: "version=3.0,level=9,no_ref" (version 3.0, compression level 9 and include references, i.e. all bases, no need reference genome)
and are indexed in crai
OS: Mac (intel)
IGV: MacApp 2.16.0 (with Java)
I tried also releases 2.13.2, 2.14.0, 2.15.4, and they failed too.
Do you have more information about this issue?
IGV [2.16.0]
IGV [2.12.13]
The text was updated successfully, but these errors were encountered: