igvteam / igv

Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations
https://igv.org
MIT License
644 stars 386 forks source link

IGV 2.18.4 does not load Whole Transcriptome Bams via pre-signed urls #1608

Open fidibidi opened 1 day ago

fidibidi commented 1 day ago

Recently upgraded IGV from 2.17.4 to 2.18.4. With this update, we noticed that IGV session made with whole transcriptome bam files, would not load correctly.

They would load initially, but any subsequent moves to other regions would cause the loading to stop, and just show empty tracks.

This issue does not appear when using 2.17.4.

I've included a RNA bam file for you to use and see if you encounter this same issue. I was unable to to determine the cause of this issue.

initial load into 2.18 Screenshot 2024-10-30 at 1 07 36 PM

scrolling a little ways Screenshot 2024-10-30 at 1 07 51 PM

Reference files/data:

2.18.4 Log: INFO [Oct 30,2024 15:02] [Main] Startup IGV Version 2.18.4 10/03/2024 09:12 AM INFO [Oct 30,2024 15:02] [Main] Java 17.0.9 (build 17.0.9+9) 2023-10-17 INFO [Oct 30,2024 15:02] [Main] Java Vendor: Eclipse Adoptium https://adoptium.net/ INFO [Oct 30,2024 15:02] [Main] JVM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9
INFO [Oct 30,2024 15:02] [Main] OS: Windows 11 10.0 amd64 INFO [Oct 30,2024 15:02] [Main] IGV Directory: C:\Users\me\igv INFO [Oct 30,2024 15:02] [OAuthUtils] Loading Google oAuth properties INFO [Oct 30,2024 15:02] [CommandListener] Listening on port 60151 INFO [Oct 30,2024 15:02] [AmazonUtils] AWS default credentials found. AWS support enabled. INFO [Oct 30,2024 15:02] [GenomeManager] Loading genome: https://igv-genepattern-org.s3.amazonaws.com/genomes/hg38/hg38.json INFO [Oct 30,2024 15:03] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:05] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:05] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:05] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:05] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:05] [TrackLoader] Loading resource: {removed for privacy}

2.17.4 INFO [Oct 30,2024 15:09] [Main] Startup IGV Version 2.17.4 03/26/2024 12:38 PM INFO [Oct 30,2024 15:09] [Main] Java 17.0.9 (build 17.0.9+9) 2023-10-17 INFO [Oct 30,2024 15:09] [Main] Java Vendor: Eclipse Adoptium https://adoptium.net/ INFO [Oct 30,2024 15:09] [Main] JVM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9
INFO [Oct 30,2024 15:09] [Main] OS: Windows 11 10.0 amd64 INFO [Oct 30,2024 15:09] [Main] IGV Directory: C:\Users\me\igv INFO [Oct 30,2024 15:09] [AmazonUtils] AWS default credentials found. AWS support enabled. INFO [Oct 30,2024 15:09] [CommandListener] Listening on port 60151 INFO [Oct 30,2024 15:09] [GenomeManager] Loading genome: https://igv.org/genomes/json/hg38.json INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy} Expires=1730736710 INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy} Expires=1730736710 INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy} INFO [Oct 30,2024 15:09] [TrackLoader] Loading resource: {removed for privacy}

Bam: https://praxisgenomics-patient-prod.s3.us-east-1.amazonaws.com/share/share.bam?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIASEJWMTN76OTW345Z%2F20241030%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241030T194712Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=fa11244bd0f1419c50a2f757ba547d75f44ada871a79524fd221147737ccd926

Bai: https://praxisgenomics-patient-prod.s3.us-east-1.amazonaws.com/share/share.bam.bai?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIASEJWMTN76OTW345Z%2F20241030%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241030T194715Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2bb456778a8f2ab14df2860a10897d973530c97480d8c6c060c5835ca964ec5d

jrobinso commented 1 day ago

I can navigate around with that bam and see alignments, but I don't see any at the specific locus in your second screenshot (chrX:88,682,177-88,682,216). There doesn't seem to be anything there. This is true regardless of IGV version I use.

Could you give me more specific steps to reproduce?

fidibidi commented 15 hours ago

Hi Jim,

Thanks for looking into this, it does seem like the version is not the issue... at least sort of? This issue has been more complicated and confusing than I realized. For some additional context, here is a brief history of me trying to figure out whats been going on.

Initially started when Lab Director was unable to load xml sessions that contained Transcriptome pURL bam files; he was able to open WGS pURL bams no issue.

The screenshot below is me trying to open the pre-signed URL I shared with you; then navigating to gene ABCA1. I've waited for ~15 minutes before taking the image. Screenshot 2024-10-31 at 11 20 17 AM

On this computer, I tried to uninstall/reinstall, different versions, but they always resulted in this same outcome... nothing loading.

What was extra confusing is that we tested using IGV on computers in the lab, on the same network, and they were able to load the pURL RNA bam.

With this ongoing... we decided it was time anyway to upgrade the LabDirector computer, hoping this fresh install would potentially resolve any lingering configurations that might have been the cause of our woes.

YET STILL: on this brand new computer, when I try to load the RNA pURL using 2.18.4, it doesn't appear load.

It only loaded when I installed version 2.17.4, and tried again. 2 17 new computer

(You can see in the image above it loads, but there is a strange artifact on the alignment track? )

So to be honest, I'm still at a loss for why this issue is so chronic and seemingly only affecting our Lab Directors computers. The only thing that carried over from his old computer was the Microsoft 365 User... but I don't really know how to troubleshoot further...

jrobinso commented 14 hours ago

I'm afraid I don't have any good ideas. I see aws credentials are loaded. These shouldn't be needed for signed URLs. You might try renaming ~/.aws/credentials to ~/.aws/credentials.bak just as a test. I would be really surprised if that had any effect at all.

I'm not sure IGV on this computer is working properly for 2.17.4 either. This is what I see for gene ABCA1 with 2.18.4. It took around 7 seconds to fully load.

Screenshot 2024-10-31 at 12 04 42 PM