Implemented support for reference genomes compressed with the BGZIP a… #1452
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…lgorithm. Implementation was derived from the GMOD-bgzf package, and reimplemented to make use of the igvxhr interface. To make use of the compression, simply add the compressedIndexURL parameter to the reference object that is provided to igv.js. Important note: the current implementation only works when the reference genome is indexed! Compressed by non-indexed genomes are currently not supported.
As indicated in issue #864 I've mostly made use of the work from the @GMOD team (https://github.com/GMOD/).
As both projects (IGV.js and GMOD) are released under the MIT license, I think licensing wise this copying/deriving of code should be fine.
I've tried following the coding style from the original file (e.g. no semicolons etc.), and in the end I didn't need to use any additional packages, so building the project using Rollup should work fine.
If there's any issues related to this patch, feel free to contact me: mibel@psb.ugent.be