-
Notifications
You must be signed in to change notification settings - Fork 2
APR PR master v0p3p8 #40
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
Open
alexpreynolds
wants to merge
6
commits into
higlass:master
Choose a base branch
from
alexpreynolds:apr-PR-master-v0p3p8
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c23009a
Initial commit
alexpreynolds dd7c467
22 Nov 2024 patches (memory leak patches, exception handling for null…
alexpreynolds 91b0a81
22 Nov 2024 patches (remove comments and set option default)
alexpreynolds bdf6457
28 Jan 2025 patches (Edited showTooltip default; removed dist from pr…
alexpreynolds 1cda7ef
3 Feb 2025 patches (regenerate and reincorporate package-lock.json)
alexpreynolds ad56c48
2 Apr 2025 patches (apr-PR-master-v0p3p8 with dist)
alexpreynolds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /*! | ||
| * The buffer module from node.js, for the browser. | ||
| * | ||
| * @author Feross Aboukhadijeh <http://feross.org> | ||
| * @license MIT | ||
| */ | ||
|
|
||
| /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
|
||
| /** | ||
| * @license | ||
| * Copyright 2009 The Closure Library Authors | ||
| * Copyright 2020 Daniel Wirtz / The long.js Authors. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /*! | ||
| * The buffer module from node.js, for the browser. | ||
| * | ||
| * @author Feross Aboukhadijeh <http://feross.org> | ||
| * @license MIT | ||
| */ | ||
|
|
||
| /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
|
||
| /** | ||
| * @license | ||
| * Copyright 2009 The Closure Library Authors | ||
| * Copyright 2020 Daniel Wirtz / The long.js Authors. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,199 @@ | ||
| <!doctype html> <head> <meta charset=utf-8> <meta name=viewport content="width=device-width,initial-scale=1"> <title>HiGlass Transcripts</title> <style type=text/css>.canvasjs-chart-credit{display:none}</style> <link rel=stylesheet href=https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css> <link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/hglib.css> <link rel=stylesheet href=hglib.css> <script src=https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.2.3/pixi.min.js></script> <script crossorigin src=https://cdn.jsdelivr.net/npm/react@16/umd/react.development.js></script> <script crossorigin src=https://cdn.jsdelivr.net/npm/react-dom@16/umd/react-dom.development.js></script> <script crossorigin src=https://cdn.jsdelivr.net/npm/[email protected]/dist/hglib.min.js></script> <script src=https://cdnjs.cloudflare.com/ajax/libs/react-bootstrap/0.32.1/react-bootstrap.min.js></script> </head> <body> Higlass transcripts track <div style=""></div> <div style=margin:auto> <div style="width:800px;border:1px solid #000" id=development-demo> </div> </div> And some other text <div style=height:1500px></div> <script type="text/javascript" src="/higlass-transcripts.js"></script></body> <script src=hglib.js></script> <script crossorigin src=https://cdn.jsdelivr.net/npm/higlass-sequence/dist/higlass-sequence.js></script> <script> var viewConfig = | ||
| { | ||
| "editable": true, | ||
| "zoomFixed": false, | ||
| "trackSourceServers": [ | ||
| "http://higlass.io/api/v1" | ||
| ], | ||
| "exportViewUrl": "/api/v1/viewconfs/", | ||
| "views": [ | ||
| { | ||
| "tracks": { | ||
| "top": [ | ||
|
|
||
| { | ||
| "server": "http://higlass.io/api/v1", | ||
| "tilesetUid": "NyITQvZsS_mOFNlz5C2LJg", | ||
| "uid": "Lb1oLu6rSiaIFcdrouucQg", | ||
| "type": "horizontal-chromosome-labels", | ||
| "options": { | ||
| "color": "#808080", | ||
| "stroke": "#ffffff", | ||
| "fontSize": 12, | ||
| "fontIsLeftAligned": false, | ||
| "showMousePosition": false, | ||
| "mousePositionColor": "#000000" | ||
| }, | ||
| "width": 768, | ||
| "height": 30 | ||
| }, | ||
| { | ||
| "server": "http://higlass.io/api/v1", | ||
| "tilesetUid": "P0PLbQMwTYGy-5uPIQid7A", | ||
| "uid": "TQAcqjtiSTyrm-p1Gfcvzg", | ||
| "type": "horizontal-gene-annotations", | ||
| "options": { | ||
| "fontSize": 10, | ||
| "labelColor": "black", | ||
| "labelBackgroundColor": "#ffffff", | ||
| "labelPosition": "hidden", | ||
| "labelLeftMargin": 0, | ||
| "labelRightMargin": 0, | ||
| "labelTopMargin": 0, | ||
| "labelBottomMargin": 0, | ||
| "minHeight": 24, | ||
| "plusStrandColor": "blue", | ||
| "minusStrandColor": "red", | ||
| "trackBorderWidth": 0, | ||
| "trackBorderColor": "black", | ||
| "showMousePosition": false, | ||
| "mousePositionColor": "#000000", | ||
| "geneAnnotationHeight": 16, | ||
| "geneLabelPosition": "outside", | ||
| "geneStrandSpacing": 4, | ||
| "name": "Gene Annotations (hg38)" | ||
| }, | ||
| "width": 768, | ||
| "height": 90 | ||
| }, | ||
| { | ||
| "uid": "fastaex", | ||
| "type": "horizontal-sequence", | ||
| "data": { | ||
| "type": "fasta", | ||
| "fastaUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.fa", | ||
| "faiUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.fa.fai", | ||
| "chromSizesUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.chrom.sizes" | ||
| }, | ||
| "options": { | ||
| "colorAggregationMode": "none", | ||
| "labelPosition": "topLeft", | ||
| "labelColor": "black", | ||
| "labelTextOpacity": 0.4, | ||
| "valueScaling": "linear", | ||
| "trackBorderWidth": 0, | ||
| "trackBorderColor": "white", | ||
| "name": "hg38", | ||
| "backgroundColor": "white", | ||
| "barBorder": true, | ||
| "barBorderColor": "white", | ||
| "sortLargestOnTop": true, | ||
| "extendedPreloading": false, | ||
| "colorScale": [ // A T G C N other | ||
| "#007FFF", | ||
| "#e8e500", | ||
| "#008000", | ||
| "#FF0038", | ||
| "#800080", | ||
| "#DCDCDC" | ||
| ] | ||
| }, | ||
| "width": 768, | ||
| "height": 25 | ||
| }, | ||
| { | ||
| "server": "https://cgap-higlass.com/api/v1", | ||
| "tilesetUid": "transcripts_hg38", | ||
| "uid": "transcript_annotation", | ||
| "type": "horizontal-transcripts", | ||
| "options": { | ||
| "fontSize": 9, | ||
| "labelFontColor": "#222222", | ||
| "labelBackgroundPlusStrandColor": "#ececec", | ||
| "minHeight": 24, | ||
| "plusStrandColor": "#bdbfff", | ||
| "minusStrandColor": "#fabec2", | ||
| "utrColor": "#C0EAAF", | ||
| "mousePositionColor": "#000000", | ||
| "transcriptHeight": 12, | ||
| "transcriptSpacing": 2, | ||
| "name": "Gene transcripts", | ||
| "fontFamily": "Helvetica", | ||
| "maxTexts": 100, | ||
| "showToggleTranscriptsButton": true, | ||
| //"trackHeightAdjustment": "automatic", | ||
| "startCollapsed": false, | ||
| "sequenceData": { | ||
| "type": "fasta", | ||
| "fastaUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.fa", | ||
| "faiUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.fa.fai", | ||
| "chromSizesUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.mod.chrom.sizes" | ||
| } | ||
| }, | ||
| "width": 894, | ||
| "height": 106 | ||
| }, | ||
|
|
||
| { | ||
| "server": "http://higlass.io/api/v1", | ||
| "uid": "emptytrack", | ||
| "type": "empty", | ||
| "options": { | ||
| "color": "#808080", | ||
| "stroke": "#ffffff", | ||
| "fontSize": 14, | ||
| "fontIsLeftAligned": false, | ||
| "showMousePosition": false, | ||
| "mousePositionColor": "#000000" | ||
| }, | ||
| "width": 768, | ||
| "height": 100 | ||
| } | ||
| ], | ||
| "left": [], | ||
| "center": [], | ||
| "right": [], | ||
| "bottom": [], | ||
| "whole": [], | ||
| "gallery": [] | ||
| }, | ||
| "initialXDomain": [ | ||
| // 2148820.8089092625, | ||
| // 2148904.489478085 | ||
| // 114780590.55746861, | ||
| // 114780613.7433006 | ||
| // 3020000, | ||
| // 3024000 | ||
| 3021674.52669861, | ||
| 3021731.7217806783 | ||
| // 3021672.8733434854, | ||
| // 3021717.752634499 | ||
| // 451246665.4697236, | ||
| // 451268523.8166885 | ||
| // 2343474001.661236, | ||
| // 2343474540.4300046 | ||
| ], | ||
| "initialYDomain": [ | ||
| -2681156982.8645544, | ||
| -2681155573.4848976 | ||
| ], | ||
| "layout": { | ||
| "w": 12, | ||
| "h": 12, | ||
| "x": 0, | ||
| "y": 0 | ||
| }, | ||
| "uid": "AD_rIRKzRQKx3N8rbT9G4w" | ||
| } | ||
| ], | ||
| "zoomLocks": { | ||
| "locksByViewUid": {}, | ||
| "locksDict": {} | ||
| }, | ||
| "locationLocks": { | ||
| "locksByViewUid": {}, | ||
| "locksDict": {} | ||
| }, | ||
| "valueScaleLocks": { | ||
| "locksByViewUid": {}, | ||
| "locksDict": {} | ||
| } | ||
| } | ||
|
|
||
|
|
||
| // window.higlassApi; | ||
| const hgApi = window.hglib.viewer( | ||
| document.getElementById('development-demo'), | ||
| viewConfig, | ||
| {bounded: false} | ||
| ); </script> <script>!function(e,a,t,n,g,c,o){e.GoogleAnalyticsObject=g,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,c=a.createElement(t),o=a.getElementsByTagName(t)[0],c.async=1,c.src="https://www.google-analytics.com/analytics.js",o.parentNode.insertBefore(c,o)}(window,document,"script",0,"ga"),ga("create","UA-77756807-1","auto"),ga("send","pageview")</script> |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.