Skip to main content

Hierarchical Evaluation of Drug GEnerators tHrOugh riGorous filtration

Project description

HEDGEHOG

HEDGEHOG: Hierarchical Evaluation of Drug GEnerators tHrOugh riGorous filtration.

PyPI Docs CI License: MIT Python 3.10+

HEDGEHOG Terminal UI

Quick Start

HEDGEHOG is a stage-based molecular design evaluation pipeline for:

  • molecule preparation
  • descriptor calculation
  • structural filtering
  • retrosynthesis filtering
  • docking
  • docking pose filtering
  • final reports

The full pipeline can require optional external tools and receptor inputs. Start with the safe smoke run below to verify the Python environment, bundled example molecules, descriptor calculation, and structural filters before enabling retrosynthesis or docking.

Recommended install: source checkout

git clone https://github.com/LigandPro/hedgehog.git
cd hedgehog
uv sync

This is the recommended way to run HEDGEHOG end to end. The repository checkout contains the editable configs, bundled examples, TUI sources, and the modules/ workspace used to store optional tool assets such as AiZynthFinder public data.

Requirements:

  • Python 3.10+
  • uv
  • optional: Node.js >= 18 and npm for the TUI
  • optional: AiZynthFinder for retrosynthesis
  • optional: GNINA, SMINA, or Matcha for docking

PyPI install

python -m pip install hedgehog
hedgehog --help

Use the PyPI package only if you already manage your own config files and input paths. The default quick start, hedgehog setup ... workflows, and TUI usage are designed around a source checkout.

First safe run

uv run hedgehog --stage descriptors --stage struct_filters --force-new

This avoids docking and retrosynthesis. Use it as the first validation that the local environment, bundled examples, descriptor calculation, and structural filters are working.

Full pipeline

uv run hedgehog setup aizynthfinder
uv run hedgehog --auto-install

Full pipeline execution may require AiZynthFinder, GNINA/SMINA/Matcha, valid receptor structures, reference ligands, and enough CPU/GPU resources.

Input Format

Recommended molecule input is CSV/TSV with a smiles header:

smiles,model_name
CCO,demo
CCN,demo
c1ccccc1,demo

Required:

  • smiles

Optional:

  • model_name or name
  • mol_idx

If mol_idx is missing, HEDGEHOG assigns a stable ID and uses it to join stage outputs, docking scores, and report data.

Common Commands

# Safe smoke run
uv run hedgehog --stage descriptors --stage struct_filters --force-new

# Full pipeline after optional tools are available
uv run hedgehog --auto-install

# Run with your own molecules
uv run hedgehog --mols input/my_molecules.csv

# Run a single stage
uv run hedgehog --stage descriptors

# Run multiple selected stages
uv run hedgehog --stage descriptors --stage struct_filters

# Run docking with a live progress bar
uv run hedgehog --stage docking --progress

# Run docking without progress bar (default)
uv run hedgehog --stage docking

# Regenerate report for an existing run
uv run hedgehog report results/run_10

# Show stages / version
uv run hedgehog info
uv run hedgehog version

# Launch terminal UI
uv run hedgehog tui

Progress bar behavior in CLI runs:

  • Enabled: add --progress
  • Disabled: omit --progress (default)

Results

Results are written under the configured output directory, usually as an auto-numbered run folder:

results/run_N/
├── stages/
├── output/
└── report.html

Documentation

HEDGEHOG Pipeline

For full details, use the documentation instead of this README:

To run the docs site locally:

cd docs
pnpm install
pnpm dev

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hedgehog-1.1.34.tar.gz (11.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hedgehog-1.1.34-py3-none-any.whl (11.8 MB view details)

Uploaded Python 3

File details

Details for the file hedgehog-1.1.34.tar.gz.

File metadata

  • Download URL: hedgehog-1.1.34.tar.gz
  • Upload date:
  • Size: 11.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hedgehog-1.1.34.tar.gz
Algorithm Hash digest
SHA256 2fec7ca7a11619cb46c4577ea1a3f3e01b291f0b6f9de49e256692047cebb6d8
MD5 3790ac68f7990f9dfeef88b33b64b4fb
BLAKE2b-256 989d00e3e00ac799ebd7a318a2f41122aaa31b454eada1f332d6711e545ef427

See more details on using hashes here.

File details

Details for the file hedgehog-1.1.34-py3-none-any.whl.

File metadata

  • Download URL: hedgehog-1.1.34-py3-none-any.whl
  • Upload date:
  • Size: 11.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hedgehog-1.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8ffa20b84b050799775e801e83292fdd3dd5e68ee61fe8ddceeba6f04f499e
MD5 7a956784c571b054cdc0717c309358be
BLAKE2b-256 80a49f519c36dba2bcbfe8e8bf5cb0e8ec5449951ab1f13dcb3967583de571c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page