Skip to content

Instantly share code, notes, and snippets.

@chaliya96
Last active January 19, 2023 11:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaliya96/1d5b52f0c40a34a52d8b7925d761fdf8 to your computer and use it in GitHub Desktop.
Save chaliya96/1d5b52f0c40a34a52d8b7925d761fdf8 to your computer and use it in GitHub Desktop.

Google Summer of Code 2022 - Final Report

Project - Enhanced User Experience and Performance in Feature Viewer

Contributor Info

Project Abstract

Analyzing positional features/annotations in sequences is important in bioinformatics. Visualizing such data is quite a challenging task, considering the large amount of data to be displayed. The feature viewer is an open source javascript library developed to visualize biological data (referred to as features) mapped to a linear sequence (Paladin et al., 2020). For instance, it can be configured to visualize the location of protein domains or amino acid variations in a protein sequence. The feature viewer is being used in several popular bioinformatics resources such as neXtProt and COSMIC 3D.

Currently, the feature viewer supports limited configurability options in the features displayed, such as the color, shape and on-click behavior. This is too restrictive for some of the possible use cases of the feature viewer, where more flexibility is required in the display of features. One such instance is when different types of amino acid variants should be displayed in a color-specific manner in the same feature track.

The overall goal of this project is to improve the configurability of the feature viewer, such that it allows greater flexibility in the visualization of detailed biological data.

Implemented Features

Implement bar type charts for numerical values representation

Through this implementation, feature-viwer got a new chart type of BAR. The main reason for implementing this chart type is to represent numerical values such as frequency in a separate manner.

Pull Requests Status
calipho-sib/feature-viewer#67 Merged

Implement highlight options

When the developer needs to highlight a specific part of very long features with large amounts of data, this implementation can be used. The developer can add different colors, shapes or text according to the requirements.

Pull Requests Status
calipho-sib/feature-viewer#69 Merged
calipho-sib/feature-viewer#72 Merged

Implement on demand data loading and summary view

This feature can be used to load data to feature-viewer on demand. Before this for all the features defined, the feature viewer fetches data from the respective backend API in its initial load. For features with large size of data, this was taking very long time and there was no option to prevent this even the user does not want all the data. Using this feature now developers can set summary view in initial view and get the required data only when user requests.

Pull Requests Status
calipho-sib/feature-viewer#69 Merged

Implement download chart option

Through this implementation the users will be able to download the contents as svg format.

Pull Requests Status
calipho-sib/feature-viewer#76 Work In Progress

Documentation and Samples Improvement

Feature Viewer documentation is updated with realted to added new features, their properties and options. New examples also added with addtional information.

Pull Requests Status
calipho-sib/feature-viewer#75 Merged

New Releases

Additional Information

Acknowledgement

I will always be grateful to to my mentors - Kasun Samarasinghe, Lydie Lane, nextProt team and OBF for their guidance and constant supervision as well as for providing necessary information regarding the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment