igvteam / igv.js

Embeddable genomic visualization component based on the Integrative Genomics Viewer
MIT License
643 stars 230 forks source link

Possible bug on Exon/Intron render #1688

Closed antonioaltamura closed 1 year ago

antonioaltamura commented 1 year ago

Hello, I'm reporting a possible bug in the rendering of this track.

According to the first render, the position 7,371,015-7,377,019 is a CAMTA1 exon area. When you zoom out and then zoom in again, the area is being rendered as an intron.

https://jsfiddle.net/alfredopacino/7cgLkpxd/1/

See recordings https://github.com/igvteam/igv.js/assets/6325475/205d3593-99d0-40a4-90d1-6f23b721d969

jrobinso commented 1 year ago

Yes there is something wrong here. As a work-around for now set the visibilityWindow for that track to -1. This loads all the features for a chromosome. I suspect what's happening is its not loading all the features belonging to that transcript on the initial view and the model is not constructed correctly. When you zoom out the other features (CDS, exon, etc) are loaded and the model is fixed.

jrobinso commented 1 year ago

This is fixed for next release. Thanks for the JSFiddle, makes things easier.

antonioaltamura commented 1 year ago

Thanks! When will the next release come out?

jrobinso commented 1 year ago

Its a big one, probably mid October. In the meantime you can use visibilityWindow: -1, or use the development build at https://igv.org/web/snapshot/dist/.

On Wed, Sep 20, 2023 at 2:53 AM antonioaltamura @.***> wrote:

Thanks! When will the next release come out?

— Reply to this email directly, view it on GitHub https://github.com/igvteam/igv.js/issues/1688#issuecomment-1727378679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHD2HH5YPBRK4CIVIFH2B3X3K4KVANCNFSM6AAAAAA44SD2NQ . You are receiving this because you modified the open/close state.Message ID: @.***>