Mirror of askcos2-core for Chemhacktica
  • Python 96%
  • Shell 3.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-08-30 17:58:01 -04:00
.gitlab/issue_templates Update bug.md 2024-07-16 18:30:25 +00:00
adapters typo; update solubility adapter 2024-06-10 14:20:39 -04:00
askcos2_celery tree search worker and generic task added 2024-04-08 13:28:40 -04:00
configs Adapt references 2024-08-30 17:58:01 -04:00
examples add example scripts for retro* 2024-04-08 09:14:43 -04:00
schemas rework model name validation to be dynamic and update samples for seeding 2024-06-28 16:15:51 -04:00
scripts Adapt references 2024-08-30 17:58:01 -04:00
tests tree search tests added 2024-05-26 15:29:55 -04:00
utils relax reaction id to accept str as well 2024-07-01 13:24:20 -04:00
wrappers Merge branch 'merge_retro_data' into 'main' 2024-07-17 17:35:27 +00:00
.dockerignore Added initial db set up and migrate a bunch of deployment stuffs from v1 askcos-deploy 2023-08-21 14:56:09 -04:00
.env.example Add frontend env vars 2024-06-21 14:27:41 +00:00
.flake8 Infra setup for services with no dependency, demo-ready 2023-06-20 12:35:00 +00:00
.gitignore add reaction filter by set (for retrosim); add switch for forcing recompute 2024-04-10 11:05:02 -04:00
app.py Add frontend env vars 2024-06-21 14:27:41 +00:00
CODEOWNERS Infra setup for services with no dependency, demo-ready 2023-06-20 12:35:00 +00:00
compose.yaml precompute volume added for future extension 2024-04-14 19:31:01 -04:00
CONTRIBUTING.md Infra setup for services with no dependency, demo-ready 2023-06-20 12:35:00 +00:00
deploy.sh rework model name validation to be dynamic and update samples for seeding 2024-06-28 16:15:51 -04:00
deployment.yaml add config and Dockerfile for precompute 2024-04-11 15:43:44 -04:00
Dockerfile_app add experimental sso support; compliance update; user/auth update 2023-11-17 16:13:16 -05:00
Dockerfile_celery add experimental sso support; compliance update; user/auth update 2023-11-17 16:13:16 -05:00
Dockerfile_precompute cleanup for everything but pre_compute.py 2024-04-13 11:01:28 -04:00
Dockerfile_with_data add experimental sso support; compliance update; user/auth update 2023-11-17 16:13:16 -05:00
Dockerfile_with_data.dockerignore lower case camel model ready for testing 2023-10-13 12:21:23 -04:00
LICENSE Update LICENSE 2023-11-29 13:47:51 +00:00
Makefile update make to remove adapter test by default; cluster and context refactored and standardized 2024-05-25 14:44:16 -04:00
nginx.http.conf add https support with self signed cert 2023-11-14 21:06:53 -05:00
nginx.https.conf add https support with self signed cert 2023-11-14 21:06:53 -05:00
README.md Adapt references 2024-08-30 17:58:01 -04:00

askcos2_core

The core FastAPI app (a.k.a. the API gateway) for ASKCOSv2. The functional modules (a.k.a. the backend services), as well as the frontend, have their own repositories, which will be automatically pulled during setup based on the provided config file. Please refer to the ASKCOS wiki for more information. The README here only provides a quick start with full deployment.

Quick Start

Hardware

  • CPU: x86, >= 4 cores. Mac with ARM CPUs (Apple Silicon) are currently not supported.
  • RAM: >= 32 GB.
  • GPU (only required for model retraining): >= 8 GB GPU RAM.

Software

  • OS: Ubuntu (>= 20.04) recommended.
  • docker (>= version 20). See Install docker.
  • CUDA (only required for model retraining): >= 11.3.
  • python: >= 3.6 with pyyaml and requests (both pip installable)
  • git and make.

Please note that >= 32 GB of RAM is highly recommended for the full deployment of ASKCOS. If memory size is a constraint, please check out 04-Deployment for customizing a local deployment (e.g., backend only, or minimalist deployment to use only the retrosynthesis functionality).

Deployment commands

$ mkdir ASKCOSv2
$ cd ASKCOSv2
$ git clone https://github.com/FourThievesVinegar/askcos2_core.git
$ cd askcos2_core
$ make deploy

The setup phase will then run automatically, e.g., cloning the repos for backend modules, building docker images, seeding databases. After setup, the web app will be started with the Graphical User Interface accessible at the host ip address, e.g., 0.0.0.0. Simply type this address in your browser, and the welcome page will appear. CONTINUE AS GUEST to explore ASKCOS. Signup or login is not required for using most modules.

The web app is written in Vue.js, which communicates with the backend. The core piece of the backend, the API Gateway, is written in FastAPI, with its own interactive documentation accessible at http://0.0.0.0:9100/docs.