haddock3-webapp

Web app which is front-end for bartender and wraps workflow builder with haddock3 catalog

https://github.com/i-vresse/haddock3-webapp

Science Score: 67.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Web app which is front-end for bartender and wraps workflow builder with haddock3 catalog

Basic Info
  • Host: GitHub
  • Owner: i-VRESSE
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: main
  • Size: 31.2 MB
Statistics
  • Stars: 2
  • Watchers: 4
  • Forks: 0
  • Open Issues: 18
  • Releases: 14
Created over 3 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Web application for haddock3

Research Software Directory Badge DOI fair-software.eu Node.js CI

Haddock3 (High Ambiguity Driven protein-protein DOCKing) is a an information-driven flexible docking approach for the modeling of biomolecular complexes. This software wraps the the haddock3 command line tool in a web application. The web application makes it easy to make a configuration file, run it and show the results.

Uses

mermaid sequenceDiagram Web app->>+Web app: Login Web app->>+Builder: Construct workflow config Web app->>+Haddock3 restraints web service: Calculate restraints Builder->>+Bartender: Submit job Bartender->>+haddock3 CLI: Run Web app->>+Bartender: State of job Web app->>+Bartender: Result of job

Or in portal mode:

mermaid sequenceDiagram Web app->>+Portal: Login Web app->>+Builder: Construct workflow config Web app->>+Haddock3 restraints web service: Calculate restraints Builder->>+Bartender: Submit job Bartender->>+haddock3 CLI: Run Web app->>+Bartender: State of job Web app->>+Bartender: Result of job

Deployment

Deployments with containers are explained in deploy/README.md. The easiest deployment is with a single worker at deploy/arq/README.mnd.

Setup

The web app is written in Node.js to install dependencies run:

shell npm install

Configuration of the web application is done via .env file or environment variables. For configuration of authentication & authorization see docs/auth.md. For configuration of job submission see docs/bartender.md#configuration. For configuration of how to rewrite the submitted workflow file see docs/rewrite.md. For instructions to run within the BonvinLab computational stuctural biology portal see docs/portal.

Use .env.example as a template:

```shell cp .env.example .env

Edit .env file

```

Create rsa key pair for signing & verifying JWT tokens for bartender web service with:

shell openssl genpkey -algorithm RSA -out private_key.pem \ -pkeyopt rsa_keygen_bits:2048 openssl rsa -pubout -in private_key.pem -out public_key.pem

Bartender web service

The bartender web service should be running if you want to submit jobs. See docs/bartender.md how to set it up.

Haddock3 restraints web service

The scenario forms uses the haddock3 restraints web service. to calculate restraints based on given active residues and structures.

For the web application to use this service, it needs to be running with

```shell

Activated Python environment with haddock3, fastapi and uvicorn installed

uvicorn --port 5000 haddock.clis.restraints.webservice:app ```

If not running on http://localhost:5000 then set the HADDOCK3_RESTRAINTS_URL environment variable.

See docs/scenarios.md for more information on how the web application uses the restraints web service.

Development

For development instructions see CONTRIBUTING.md.

Stack

The tech stack is explained in docs/stack.md.

Owner

  • Name: Interactive Virtual Research Environment for Scientific Software Execution
  • Login: i-VRESSE
  • Kind: organization

Project with Netherlands eScience Center and Bonvin Lab

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Haddock3 web application
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Stefan
    family-names: Verhoeven
    affiliation: Netherlands eScience Center
    orcid: "https://orcid.org/0000-0002-5821-2060"
  - given-names: Rodrigo
    family-names: Honorato
    affiliation: Utrecht University @ BonvinLab
    orcid: "https://orcid.org/0000-0001-5267-3002"
  - affiliation: "Netherlands eScience Center"
    family-names: Kalverla
    given-names: Peter
    orcid: "https://orcid.org/0000-0002-5025-7862"
  - given-names: Dusan
    family-names: Mijatovic
    email: d.mijatovic@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: "https://orcid.org/0000-0002-1898-4461"
license: Apache-2.0
identifiers:
  - type: doi
    value: 10.5281/zenodo.7990850
    description: Latest version of software

GitHub Events

Total
  • Create event: 12
  • Release event: 3
  • Issues event: 10
  • Watch event: 1
  • Delete event: 7
  • Issue comment event: 23
  • Push event: 26
  • Pull request review event: 3
  • Pull request event: 20
Last Year
  • Create event: 12
  • Release event: 3
  • Issues event: 10
  • Watch event: 1
  • Delete event: 7
  • Issue comment event: 23
  • Push event: 26
  • Pull request review event: 3
  • Pull request event: 20

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 24
  • Total pull requests: 34
  • Average time to close issues: 7 months
  • Average time to close pull requests: 10 days
  • Total issue authors: 3
  • Total pull request authors: 4
  • Average comments per issue: 0.63
  • Average comments per pull request: 0.21
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: about 24 hours
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sverhoeven (41)
  • VGPReys (3)
  • amjjbonvin (2)
  • rvhonorato (1)
  • Peter9192 (1)
Pull Request Authors
  • sverhoeven (63)
  • dmijatovic (5)
  • rvhonorato (1)
  • amjjbonvin (1)
Top Labels
Issue Labels
bug (2)
Pull Request Labels

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
Dockerfile docker
  • base latest build
  • node 18-bullseye-slim build
docker-compose.yml docker
  • bartender ${BARTENDER_VERSION
  • i-vresse/bartended-haddock3 latest
  • postgres 13.6-bullseye
package-lock.json npm
  • 1236 dependencies
package.json npm
  • @ltd/j-toml ^1.38.0 development
  • @openapitools/openapi-generator-cli ^2.5.2 development
  • @remix-run/dev ^1.16.1 development
  • @remix-run/eslint-config ^1.16.1 development
  • @tailwindcss/forms ^0.5.3 development
  • @tailwindcss/typography ^0.5.9 development
  • @testing-library/jest-dom ^5.16.5 development
  • @testing-library/react ^14.0.0 development
  • @types/cookie ^0.5.1 development
  • @types/eslint ^8.37.0 development
  • @types/js-yaml ^4.0.5 development
  • @types/jszip ^3.4.1 development
  • @types/react ^18.0.25 development
  • @types/react-dom ^18.0.8 development
  • @vitest/coverage-c8 ^0.31.2 development
  • daisyui ^2.51.0 development
  • eslint ^8.38.0 development
  • eslint-config-prettier ^8.8.0 development
  • happy-dom ^9.20.3 development
  • prettier ^2.8.7 development
  • prettier-plugin-tailwindcss ^0.2.7 development
  • tailwindcss ^3.2.7 development
  • typescript ~4.8.4 development
  • vite-tsconfig-paths ^4.0.5 development
  • vitest ^0.31.2 development
  • @i-vresse/wb-core ^1.2.0
  • @remix-run/node ^1.16.1
  • @remix-run/react ^1.16.1
  • @remix-run/serve ^1.16.1
  • isbot ^3.6.5
  • jose ^4.13.1
  • js-yaml ^4.1.0
  • jszip ^3.10.1
  • react ^18.2.0
  • react-dom ^18.2.0