@squonk/react-sci-components
v2.0.0-dev.14
Published
Library of scientific components for use in Squonk Web Apps
Downloads
8
Readme
React components for scientific applications
This repository is a collection of re-usable React components that can be used to rapidly create what we term mini-apps, simple applications that are designed with a specific purpose in mind. The initial domain of interest is primarily computational chemistry and cheminformatics.
Components
The initial components are in the early design phase and will appear here soon.
We anticipate these categories of component:
- Charting using Plotly
- 3D molecular viewer using NGL Viewer
- Chemical sketcher using JSME (and maybe other sketchers)
- Molecule card view
- Molecular spreadsheet
Some of these components are inspired and partly derived from the Fragalysis and [Fragnet Search] applications, and most likely will be re-incorporated into those applications as components.
This repo will contain:
- Source code for each component
- Documentation and examples for using each component
- Examples of how to combine components
Example mini-apps
Our first mini-app is nearly ready.
Pose viewer
This allows a SDF file with docking poses and scores to be effectively analysed. The expectation is to be easily able to explore 10's of thousands of poses selecting those to examine in detail using a combination of scores in the SDF file. The selected poses can be compared in 3D in the context of the receptor binding site that is specified as a PDB format file.
There are 4 main re-usable components:
- A small component that allows to define how to process the input SDF file.
- A scatter plot component that allows the scores in the SDF file to be visualised and to select molecules of interest.
- A card view component that shows the molecules selected from the scatter plot as 2D structures along with their properties (scores)
- A re-usable NGL viewer component that allows to view the 3D poses of the molecules selected from the card view to be viewed in the context of the protein binding site.