-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metabolic pathways visualisation #731
Comments
* Metabolic pathways visualisation (#731): internal pathways skeleton * Metabolic pathways visualisation (#731): internal pathways api integration + layout fixes * Metabolic pathways visualisation (#731): context menu navigation * Metabolic pathways visualisation (#731): pathway tree search * Metabolic pathways visualisation (#731): xml loader remove
Bug was found: To reproduce:
Expected result: Actual result: Extra details: @rodichenko @mzueva @DmitriiKrasnov Fixed and verified |
Bug was found: To reproduce:
Expected result: Actual result: @rodichenko @mzueva @DmitriiKrasnov Fixed and verified |
Bug was found: To reproduce:
Expected result: Actual result: @rodichenko @mzueva @DmitriiKrasnov Fixed and verified |
Bug was found: To reproduce:
Expected result: Actual result: Extra details:
@rodichenko @mzueva @DmitriiKrasnov Fixed and verified |
Bug was found: To reproduce:
Expected result: Actual results: Extra details: Finds results for following pathways: Fixed and verified |
- #issuecomment-1080851310; - #issuecomment-1081402608; - #issuecomment-1081405879;
- #issuecomment-1080851310; - #issuecomment-1081402608; - #issuecomment-1081405879;
Bug was found: To reproduce:
Expected result: |
Bug was found: To reproduce:
Expected result: Actual result: |
Bug was found: To reproduce:
Expected result: Actual result: |
* Metabolic pathways visualisation (#731): species column and filter * Metabolic pathways visualisation (#731): #issuecomment-1082810606 * Metabolic pathways visualisation (#731): get species for filtering from track * GUI Pathways: localStorage key for columns change (migration), force fetching pathways on panel activated Co-authored-by: Mikhail Rodichenko <[email protected]>
Background
Metabolic pathways are series of chemical reactions that start with a substrate and finish with an end product.
These pathways are being displayed as certain kind of infographics, often called "maps".
Maps can be as public ones received from different sources like BioCyc database and as well as internal, produced by pathway modelling software.
NGB shall support visualization of both types of pathway maps.
Approach
Pathways panel
A new Pathways panel shall be added.
This panel shall be available:
In all described cases, a new Pathways panel should be opened that is placed as other side panels - at the right side of the page.
This panel should contain:
Example of view:
Databases sub-tab
After user has specified the search keyword and click the Search button or just opened the Pathways panel from the context menu when clicking any gene/feature, the search should be performed over external pathways databases by the keyword/gene or feature name.
Results of the search should be displayed in the "Databases" sub-tab, e.g.:
Search results should contain a list of found maps from external pathways database.
Each record should contain the following fields:
The "Map" column should contain hyperlinks - user can click any record in this list to open details of the specific metabolic pathways map.
The new form with map details should be opened in the same sub-tab instead previous list, e.g.:
This form shall contain:
Search over the pathway
User shall have the ability to search over pathway objects - via the search control at the additional capabilities panel:
Add annotation to the pathway
User shall have the ability to add annotation(s) to the displayed map.
This annotation should allow to colorize the map.
The following annotations shall be supported:
To add an annotation, user shall click the "Add+" control at the additional capabilities panel.
A pop-up shall appear, e.g.:
This pop-up shall contain:
If user selects any annotation from the dropdown list or load from the local TSV/CSV file, the view of that pop-up shall be changed:
continuous
(default) anddiscrete
colorizingcontinuous
colorizing, there should be the ability to set colors for max, min, average valuesdiscrete
colorizing, there should be the ability to set a color for each specific value or configure color(s) for values range(s)If user selects "Manual colors config" - no additional controls appear, in this case user should manually specify the colorization scheme and annotation name if needs, e.g.:
When the annotation was saved:
annotation_<index_number>
Manage the annotations:
Pathways sub-tab
Pathways sub-tab can be opened manually.
Here, the search over internal NGB pathways should be performed - by the keyword/gene or feature name.
Search should be performed over the following fields of pathway maps:
Results of the search should be displayed in the same sub-tab - similar to Databases sub-tab, but without map IDs and thumbnails, e.g.:
Each record should contain the following fields:
The "Map" column should contain hyperlinks - user can click any record in this list to open details of the specific metabolic pathways map.
The new form with map details should be opened in the same sub-tab instead previous list.
Content and functionality for internal maps details should be fully similar to external database maps, the single difference - the map image should be generated and drawn from pathway map file in SBGN-xml format, e.g.:
Internal pathways
BioCYC Pathways integration
Pathways annotation
Map colorizing shall be different according to the annotation source.
Annotation file
When user selects heatmap/TSV or CSV file as annotation, the matrix format of the annotation is expected.
In this case:
If the
continuous
scheme is selected, the algorithm of the colorizing should be the following:For example, if the annotation file looks like:
Then, the following example map with applied annotation shall be colorized in the way (if the gradient colors were selected correspondingly):
For example, if the annotation file looks like:
Then, the following example map with applied annotation shall be colorized in the way (if the gradient colors were selected correspondingly):
If the
discrete
scheme is selected, the algorithm of the colorizing should be the following:For example, if the annotation file looks like:
Then, the following example map with applied annotation shall be colorized in the way (if colors were selected correspondingly):
Manual colorization
Manual colorization annotation is expected in the following format:
The algorithm of the colorizing should be the following:
<background_color>
(if specified) should be used as background color<foreground_color>
(if specified) should be used as border color and text colorFor example, if the manual annotation config looks like:
Then, the following example map with applied annotation shall be colorized in the way:
Additional details
The text was updated successfully, but these errors were encountered: