https://github.com/biocomputingup/ngx-mol-viewers

Angular wrapper for Mol* structure viewer, made simple

https://github.com/biocomputingup/ngx-mol-viewers

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Angular wrapper for Mol* structure viewer, made simple

Basic Info
  • Host: GitHub
  • Owner: BioComputingUP
  • License: mit
  • Language: HTML
  • Default Branch: main
  • Size: 20.5 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 0
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

ngx-mol-viewers

Introduction

The ngx-mol-viewers is an Angular library consisting in a collection components for the visualization and manipulation of biological data. Each component has been developed as an Angular standalone component. This means, it can be easily installed and imported in the most widespread versions of the framework.

The library was initially developed to share some core components between the applications developed at the BioCompUP Laboratory, at the University of Padua. Among those, there are MobiDB, RepeatsDB and RING. Some of the components in the library were inspired by others already developed within the same laboratory, like the ProSeqViewer and theFeatureViewerTypescript. Some others are based on well-known components already used in bioinformatics, like Molstar.

In both cases, the library makes the components compliant with Angular lifecycle, by satisfying the Angular standalone components specifications. This, removes the burden of handling the Angular lifecycle within every Angular application.

Each component has its own NPM repository and can be installed without the others, as they just share the same data structures and requirements.

Components

ngx-structure-viewer

The ngx-structure-viewer allows to visualize and manipulate three-dimensional protein structures. It wraps a Molstar instance within and Angular standalone component.

Go to component's NPM repository

Go to component's README

ngx-sequence-viewer

The ngx-sequence-viewer provides visualization and manipulation for single sequences and multiple sequence alignments. It deliberately takes inspiration on the ProSeqViewer.

Go to component's NPM repository

Go to component's README

ngx-features-viewer

The ngx-features-viewer extends the features provided by the fate FeatureViewerTypeScript. It has been completely re-engineered and optimized to provide the best adaptability and performance.

Go to component's NPM repository

Go to component's README

Developer notes

The project contains an Angular application, complete with routes, to present the project and showcase each component. The appluiication is named demo-showcase.

While the other components listed above require to be imported in an Angular application, the demo-showcase can be served instead. It is used in development mode to reflect changes and develop the other components.

The application must be built in production mode in order to be served in GitHub Pages.

Development server

Run ng serve demo-showcase for a development server. Navigate to http://localhost:4200. The application will automatically reload if you change any of the source files.

Production build

Run ng build -c=production --output-path docs --base-href https://biocomputingup.github.io/ngx-mol-viewers/ demo-showcase to build the demo-showcase application for it to be served from GitHub Pages.

Then, one needs to copy the built index.html into the 404.html file. To do so, just cd into the output docs folder and cp index.html 404.html.

When pushing the results in the main branch, GitHub will automatically publish an updated version of the appl;ication at [https://biocomputingup.github.io/ngx-mol-viewers/].

Publishing components

Run ng build -c=production ngx-structure-viewer to build the Angular component ngx-structure-viewer in IVY mode.

Built component will be compatible with almost all Angular applications, independently of its version. More on this at https://angular.io/guide/creating-libraries.

In order to public the previously build ngx-structure-viewer in its NPM repository, execute the following: shell cd dist/ngx-structure-viewer npm publish

NOTE before building, ensure that the version number increased, otherwise NPM will prevent publication.

Owner

  • Name: BioComputing Group, University of Padova
  • Login: BioComputingUP
  • Kind: organization
  • Email: biocomp@bio.unipd.it
  • Location: Italy

GitHub Events

Total
  • Watch event: 1
  • Push event: 6
  • Create event: 2
Last Year
  • Watch event: 1
  • Push event: 6
  • Create event: 2

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 273
  • Total Committers: 2
  • Avg Commits per committer: 136.5
  • Development Distribution Score (DDS): 0.183
Past Year
  • Commits: 26
  • Committers: 2
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.462
Top Committers
Name Email Commits
Damiano Clementel d****l@g****m 223
AlessioDelConte a****6@g****m 50

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 5
  • Total pull requests: 1
  • Average time to close issues: 4 days
  • Average time to close pull requests: 10 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.2
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 1
  • Average time to close issues: 4 days
  • Average time to close pull requests: 10 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.2
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • damiclem (1)
Pull Request Authors
Top Labels
Issue Labels
enhancement (1) help wanted (1)
Pull Request Labels

Dependencies

package-lock.json npm
  • 1267 dependencies
package.json npm
  • @angular-devkit/build-angular ^17.3.1 development
  • @angular-eslint/builder 17.3.0 development
  • @angular-eslint/eslint-plugin 17.3.0 development
  • @angular-eslint/eslint-plugin-template 17.3.0 development
  • @angular-eslint/schematics 17.3.0 development
  • @angular-eslint/template-parser 17.3.0 development
  • @angular/cli ^17.3.1 development
  • @angular/compiler-cli ^17.3.1 development
  • @types/jasmine ~5.1.4 development
  • @typescript-eslint/eslint-plugin 6.21.0 development
  • @typescript-eslint/parser 6.21.0 development
  • angular-cli-ghpages ^1.0.7 development
  • eslint ^8.57.0 development
  • jasmine-core ~5.1.2 development
  • karma ~6.4.3 development
  • karma-chrome-launcher ~3.2.0 development
  • karma-coverage ~2.2.1 development
  • karma-jasmine ~5.1.0 development
  • karma-jasmine-html-reporter ~2.1.0 development
  • ng-packagr ^17.3.0 development
  • typescript ~5.4.3 development
  • @angular/animations ^17.3.1
  • @angular/common ^17.3.1
  • @angular/compiler ^17.3.1
  • @angular/core ^17.3.1
  • @angular/forms ^17.3.1
  • @angular/platform-browser ^17.3.1
  • @angular/platform-browser-dynamic ^17.3.1
  • @angular/router ^17.3.1
  • @types/d3 ^7.4.3
  • bootstrap ^5.3.3
  • bootstrap-icons ^1.11.3
  • d3 ^7.9.0
  • molstar ^4.0.1
  • rxjs ~7.8.1
  • tslib ^2.6.2
  • zone.js ~0.14.4
projects/ngx-features-viewer/package.json npm
  • tslib ^2.3.0
projects/ngx-structure-viewer/package.json npm
  • tslib ^2.3.0