igv-utils's People
igv-utils's Issues
translateGoogleCloudURl modifies & breaks signed URLs
we're using the igv.js
package to render IGV plots in our app. Our data is secured in google cloud storage and is accessed by our app generating a signed URL for the files in each track. However, when the igv library fetches data from these files, the URLs are transformed from the original, signed url to a different url schema which breaks the signing, and thus we get an authentication error.
Looking through the code, it appears igv-utils
transforms any URL it determines is a google URL into a different format (see translateGoogleCloudURl
here):
// igv-util url schema
https://storage.googleapis.com/storage/v1/b/${bucket}/o/${object}${paramString}
// expected schema - should not be modified
https://storage.googleapis.com/my-private-bucket/some/file/path/bigwig/datafile.bigWig?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=some-credential-string&X-Goog-Date=20220413T031210Z&X-Goog-Expires=299&X-Goog-SignedHeaders=host&X-Goog-Signature=SOME_VALID_SIGNATURE_STRING
Is there a workaround to getting signed URLs working with the igv library?
small issue in package.json
In package.json, I think this line: "module": "src/index.txt",
should be "module": "src/index.js",
Wrong version in package.json
We are using igv and recently we started having issues during building packages, as there is a conflict before version 1.2.7 and 1.2.6. The recent igv-utils
is still marked as 1.2.6 in package.json instead 1.2.7. Because of that the yarn
or npm
are having issues to update to newest version.
{ "name": "igv-utils", "version": "1.2.6", "description": "Misc code shared by igvteam projects", "module": "src/index.js", "files": [ "src/**" ],
v1.3.0 references non-existent variable
in v1.3.0 the method isgzipped() in bgzf.js references the variable ba
which is not defined.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.