8000 GitHub - unmtransinfo/Ro5-API: The Lipinski Rule of Five (Ro5) - RDKit based app · GitHub
[go: up one dir, main page]

Skip to content

unmtransinfo/Ro5-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ro5 API (Flask + RDKit)

A API backend that computes Lipinski Rule of Five (Ro5) descriptors using RDKit.
Built with Flask, documented with Swagger (/apidocs), and containerized with Docker.


Requirements

  • Docker
  • Docker Compose

Documentation

The /apidocs/ page provides detailed information for all available API endpoints.

UI Repository: Ro5-UI


Setup (Development)

  1. Clone the repository
    git clone https://github.com/unmtransinfo/Ro5-API
  2. cd Ro5-API
  3. Start the development environment
    docker compose -f compose-development.yml up --build

Example request

Ethanol:

curl -s -X POST http://localhost:8000/ro5 -H "Content-Type: application/json" -d '{"smiles":"CCO","vmax":1}' | jq

Aspirin:

curl -s -X POST http://localhost:8000/ro5 -H "Content-Type: application/json" -d '{"smiles":"CC(=O)OC1=CC=CC=C1C(=O)O","vmax":1}' | jq

Caffeine:

curl -s -X POST http://localhost:8000/ro5 -H "Content-Type: application/json" -d '{"smiles":"CN1C(=O)N(C)C(=O)C(N(C)C=N2)=C12","vmax":1}' | jq

About

The Lipinski Rule of Five (Ro5) - RDKit based app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

0