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

Can't open .igv files from pre-signed S3 links #922

Closed
alex-seitz opened this issue Mar 2, 2021 · 2 comments
Closed

Can't open .igv files from pre-signed S3 links #922

alex-seitz opened this issue Mar 2, 2021 · 2 comments
Milestone

Comments

@alex-seitz
Copy link

Hello,
I'm trying to set up a predefined igv session. There I use pre-signed S3 links.
It works great with vcf, bam, and bed files, but It doesn't want to open *.igv files. It always terminates with an "Unknown filetype:"

Errors were encountered loading the session:
https://...NA12878_29_bafs.igv?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=A4QV58EQ906C3FQDZ8KC%2F20210302%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210302T124036Z&X-Amz-SignedHeaders=host&X-Amz-Expires=28800&X-Amz-Signature=62edd75ee09c0aebc17da88fa83ec9cd2345dea23e746273f19e8fa6cd4a783b 
org.broad.igv.exceptions.DataLoadException: Failed to parse line 0: Unknown file type:

My session entry looks like this:
<Resource path="<link from above>" />
Is it possible to add the dataformat to the resource tag?

I read somewhere, that it might be possible to set the dataformat=.igv to the link, but this breaks the authorization.
Is it possible to add the dataformat information to the Resource tag somehow?

The file works fine, when I download it and open it from local storage. There it also works from a saved session file.

Tested on IGV version 2.9.2

Best,
Alex

@jrobinso
Copy link
Contributor

jrobinso commented Mar 2, 2021

@alex-seitz I will look into it. That should work as is, the extension of the path (before the parameters) is. ".igv".

@alex-seitz
Copy link
Author

@jrobinso thank you.
I realized that the same problem exists with opening .igv-files through the "link API" meaning the http://localhost:60151/load?file=....igv...

Maybe this helps with the diagnostic.

Best,
Alex

@jrobinso jrobinso added this to the 2.9.5 milestone Mar 19, 2021
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