question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVG export contains black layer in background of gene and chromosome tracks

See original GitHub issue

Commit:

  • Master branch of higlass
  • Compiled version of Danielle’s higlass-multivec
  • Compiled version of master branch of higlass-website
  • Master branch of higlass-server

Steps to reproduce

  1. Add hg38 gene annotations and chromosome tracks
  2. Scroll to any spot
  3. Export views as SVG

Observed behavior

  • Gene and chromosome tracks contain a layer with a black background

Here is a snapshot of what the SVG looks like in Adobe Illustrator CC 22.1:

hgadobeillustratorsvgtest

Notice the selected layer in the Layers palette and the selected rect (or g? — perhaps not as it is labeled as a Path element in Adobe…) element in the SVG.

To view this in a browser, here is a test URL:

http://explorer.altius.org/app/?config=ObkyhPvST7KdrO9J9PNk-g

This test viewconf contains viewport projections; however, closing those viewports to remove them does not change how the SVG is rendered (the track background layers are still rendered black in the SVG).

Expected behavior

  • Tracks contain the configured background (white or transparent, if default or not specified in JSON view object)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
flekschascommented, Oct 1, 2018

Should be released soonish. Unless @pkerpedjiev has some more things we could just publish v1.2.4 of the client. Regarding the whole suite, I think we’re just trying to harden the new v1.2 branch which comes with quite a few new additions but it shouldn’t take much longer.

1reaction
flekschascommented, Oct 1, 2018

I downloaded it from the link you provided so it’s unrelated to higlass.io but you’re right fill="transparent" is nonsense. I’ll try to fix it

Read more comments on GitHub >

github_iconTop Results From Across the Web

RIdeogram: drawing SVG graphics to visualize and map ...
RIdeogram is a R package to draw SVG (Scalable Vector Graphics) graphics to visualize and map genome-wide data on idiograms.
Read more >
Exported SVG from Illustrator appears black
I have created 45 SVG Icons in Illustrator that I would like to use in QGIS, however all exported icons appear completely black....
Read more >
Agilent GeneSpring
This guide is valid for 14.8 revisions of the. Agilent GeneSpring software. Software Revision. The material contained in this document is provided. “as...
Read more >
JBrowse 2: A modular genome browser with views of synteny ...
JBrowse 2 also includes other new features such as the ability to export tracks as publication-quality SVG files; sorting, filtering, ...
Read more >
Edinburgh Research Explorer - ArkMAP: integrating genomic maps ...
Background : The visualisation of genetic and genomic maps aligned within and between species and across data sources can be used to inform...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found