epam / NGB

New Genome Browser (NGB) - a Web - based NGS data viewer with unique Structural Variations (SVs) visualization capabilities, high performance, scalability, and cloud data support
MIT License
161 stars 42 forks source link

[`BigWig` tracks] Ability to select the scale mode #333

Open NShaforostov opened 3 years ago

NShaforostov commented 3 years ago

Background NGB already supports Auto-Scale / Log Scale / Manual Scale functionality for the BigWig tracks. Now, the existing scaling capabilities shall be applied to the group of tracks (once the tracks selection feature described in #327 will be introduced).

Approach

maryvictol commented 3 years ago

'Group Auto-scale' option applies the same range for the selected BigWig and BAM tracks after refresh only. Steps to reproduce:

  1. Select several BidWig or BAM tracks with different scale
  2. Open Scale menu for selected group and select "Group Auto-scale' option

Actual result: Ranges for tracks remain immutable. image Refresh page. Ranges are changed. image

rodichenko commented 3 years ago

'Group Auto-scale' option applies the same range for the selected BigWig and BAM tracks after refresh only.

@maryvictol should be fixed with d1c3f567116cb5cdb0f56e52dcbea5329a1d9d13

maryvictol commented 3 years ago

@maryvictol should be fixed with d1c3f56

Verified on b.2.6.0.2069. It works correctly.

maryvictol commented 3 years ago

Track remains with scale Group Auto-scale when all other tracks from group are closed. Steps to reproduce:

  1. Open several BigWig tracks
  2. Select 2 BigWig (or 2 BAM) tracks >> Apply Group Auto-scale option
  3. Uncheck one of them in DataSet (only one track from group should remain)

Expected result: Scale for remaining track should be changed to Auto-scale

rodichenko commented 3 years ago

Track remains with scale Group Auto-scale when all other tracks from group are closed. Steps to reproduce:

  1. Open several BigWig tracks
  2. Select 2 BigWig (or 2 BAM) tracks >> Apply Group Auto-scale option
  3. Uncheck one of them in DataSet (only one track from group should remain)

Expected result: Scale for remaining track should be changed to Auto-scale

@maryvictol should be fixed with d57409d2a0d8735b0edd118cb5f7633d84c6c3f0

NShaforostov commented 3 years ago

Docs were added via #345 and located here.

maryvictol commented 3 years ago

@maryvictol should be fixed with d57409d

Verified on b. 2.6.0.2100