Skip to content

FourThievesVinegar/askcos2_core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Mirror of askcos2-core for Chemhacktica

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published