igvteam / igv-reports

Python application to generate self-contained pages embedding IGV visualizations, with no dependency on original input files.
MIT License
352 stars 53 forks source link

Alignment track whitespace #81

Closed ryanyord closed 1 year ago

ryanyord commented 1 year ago

Hello,

When creating a track and using the following:

[{"name": "174545_SA31", "type": "alignment", "format": "bam", "url": "/bams/174545_SA31.markdup.sorted.bam", "indexURL": "/bams/174545_SA31.markdup.sorted.bam.bai", "showAlignments": false}

showAlignments = false , yet in the output a whitespace appears were the alignment track visual would be like in the following image:

image

However, It would be ideal to have it load like this:

image

I can get to the 2nd image by ticking and unticking the alignment track, but would love for it to display without whitespace as default.

Thank you, and appreciate the tool!

ryanyord commented 1 year ago

Figured it out, resolved the issue by setting autoHeight = True

jrobinso commented 1 year ago

Thanks for the report. I'm going to reopen this because that shouldn't be necessary, I have been traveling and unable to get to it yet.

jrobinso commented 1 year ago

This should be fixed in the latest release