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
157 stars 41 forks source link

Molecular viewer enhancements #547

Open NShaforostov opened 2 years ago

NShaforostov commented 2 years ago

Background

We should expand the Molecular viewer functionality by the following features:

Approach

View mode

We should add the ability to change the view (display) mode for the displaying model. For that:

Selected display mode should be applied as well to other structure or chain of the model if it is selected. By default (if the model is just opened or re-opened), the "Cartoon" display mode should be set. Possible display modes should be taken from here.

Color scheme

We should add the ability to change the color scheme for the displaying model. For that:

Selected color scheme should be applied as well to other structure or chain of the model if it is selected. By default (if the model is just opened or re-opened), the "Structure" color scheme should be set. Possible display modes should be taken from here.

Advanced regimen

We should add the ability to edit the model in the advanced regimen - support all abilities that miew.app allows to perform. In terms of GUI, it should look like:

Saving in the session

If user saves the session while the Molecular viewer panel is opened - the full state of the opened model should be saved in the session:

So, if user will open such session - the Molecular viewer panel should be opened with the full same model image as it was saved.

NShaforostov commented 2 years ago

Docs were added via #566 and located here and here.