Menu ▾ ▴

SAR_Atlas

Bryan P White

Documentation Guides: Scientific Methods • User Guide

SAR-Atlas (crvscience-sar-atlas v3.8.0)

CRV Science open-source SAR-Atlas repository.

Documentation Guides

  • [[Architecture & Validation|Architecture-and-Validation]]
  • [[Scientific Methods|Scientific-Methods]] (docs/SCIENTIFIC_METHODS.md)
  • [[User Guide|User-Guide]] (docs/USER_GUIDE.md)

Clone Commands

# GitHub
git clone https://github.com/bpwhite/crvscience-sar-atlas.git

# Codeberg
git clone https://codeberg.org/crvscience/crvscience-sar-atlas.git

# GitLab
git clone https://gitlab.com/bpcwhite/crvscience-sar-atlas.git

# SourceForge
git clone https://git.code.sf.net/p/crv-science-apps/code -b crvscience-sar-atlas

Documentation Overview

SAR-Atlas (v3.8.0)

SAR-Atlas Headless Workbench

SAR-Atlas (v3.8.0) is a standalone, pure-Rust small-molecule, fragment-to-lead, macrocyclic, PROTAC, metabolic (SMARTCyp), prodrug, physiologically based pharmacokinetic (PBPK), and candidate-nomination cheminformatics workbench uniting multi-parameter optimization (MPO) desirability (Segall 2014, Derringer & Suich desirability, AstraZeneca 5R candidate governance / Morgan et al. 2018) and standalone .html / .svg medicinal-chemistry dossier export with 7-segment CAT/ACAT oral absorption (Yu & Amidon ACAT), Q_gut enterocyte & Pang-Rowland well-stirred hepatic first-pass clearance (Fa * Fg * Fh), Rodgers & Rowland (2006) tissue-composition Vss, Hammarlund-Udenaes & Fridén unbound brain Kp,uu,brain RK4 curves (Loryan & Di 2022, physics-based Kp,uu,brain), bioreversible prodrug promoiety design (ester, phosphate, carbamate, oxazolidinone & hPEPT1) (Rautio 2008, CES1/CES2 / Di 2019, ALP phosphates / Wiemer 2016, Simplício amines, carbamates, oxazolidinones), Rule-of-3 fragment growing (Jhoti 2013, Astex sociability, deconstruction, GE/LE/LLE/SILE), RCM/lactam macrocyclization (Giordanetto & Kihlberg, Kihlberg 2023, lorlatinib, -T * Delta S_conf, Kier Phi), SMARTCyp metabolism (BioTransformer), PROTAC bRo5 (dIMHB, AB-MPS, Hook-Effect), covalent GSH tuning & cyanoacrylamides, ETKDG / MMFF-lite / USR / ROCS, micro-pKa (Dimorphite-DL), McGregor/VF2 MCS, BRICS, SAScore, Gobbi pharmacophores, ADMET (ESOL & BOILED-Egg), Meanwell bioisosteres, ChEMBL/PubChem, and SQLite 3 across a wgpu + egui 5-domain (39-module + Ctrl+K command-palette) desktop studio, zero-dependency 23-view native ANSI terminal console, and Clap CLI.

Workspace Architecture

Quick Start & CLI Usage

# Run offline unit and integration tests across all v3.8.0 modules
cargo test --workspace --release

# Launch the interactive v3.8.0 5-domain (39-module + Ctrl+K) egui + wgpu desktop workbench
cargo run --release

# Analyze VHL 5NVX 3D ESP complementarity, 1,5 thiazole S..O=C chalcogen lock, & bioisosteric designs and export XED multipole .pdb
cargo run --release -- esp --preset vhl --screen-dataset --export-contacts-csv vhl_esp_contacts.csv --export-designs-csv vhl_esp_designs.csv --export-pdb vhl_xed_multipoles.pdb

# Audit AlphaFold DB KRAS (UniProt P01116) per-residue pLDDT, PAE, & Karelina-Dror apo-occlusion readiness and export loop-trimmed .pdb
cargo run --release -- fetch-pdb --uniprot P01116 --trim-low-plddt 55 --export-clean-pdb kras_afdb_clean.pdb --export-csv kras_plddt_readiness.csv

# Run Puzzle 1 (VHL 5NVX Drugit Challenge) with Auto-Band + Blue-Fuse barrier macro and export sculpted .pdb & .sdf
cargo run --release -- sculpt --puzzle vhl --recipe blue-fuse --export-pdb vhl_sculpted.pdb --export-sdf vhl_ligand.sdf --export-csv vhl_trajectory.csv

# Map Factor Xa 1EZQ S1/S4 WaterMap hydration hotspots, design displaceable-water R-group analogs, and export annotated .pdb
cargo run --release -- watermap --preset fxa --screen-dataset --export-sites-csv fxa_wm_sites.csv --export-designs-csv fxa_wm_rgroups.csv --export-pdb fxa_watermap.pdb

# Optimize COX-2 3LN1 His90/Gln178 flips & HOH2201 sulfonamide bridge waters at pH 7.4 and export a prepared complex .pdb
cargo run --release -- hbond-net --preset cox2 --ph 7.4 --screen-dataset --export-nodes-csv cox2_hbn_nodes.csv --export-edges-csv cox2_hbn_edges.csv --export-pdb cox2_prepared_complex.pdb

# Repack flexible EGFR 1M17 gatekeeper/back-pocket Dunbrack rotamers and score the dataset across a 5-state Boltzmann ensemble
cargo run --release -- induced-fit --preset egfr --screen-dataset --export-csv egfr_ifd_ensemble.csv --export-rotamers-csv egfr_rotamers.csv --export-sdf egfr_5state_poses.sdf

# Align 3D sub-pocket exit vectors on EGFR 1M17 (Quinazoline hinge + 3-Ethynylphenyl back-pocket), match 18 linkers, and score Murray-Verdonk super-additivity dG
cargo run --release -- frag-link --pair egfr --export-csv egfr_linked_superadditivity.csv --export-sdf egfr_linked_3d.sdf

# Run the 6-stage EGFR 1M17 discovery funnel (DeNovo + DEL + Rotor-Locks -> ADMET -> Pocket/TEU -> T790M Selectivity -> AL -> Lomap RBFE) and export top 8 survivors
cargo run --release -- pipeline --preset egfr --rounds 2 --fbdd --max-per-scaffold 2 --promote-n 8 --save-recipe egfr_recipe.json --ledger-sqlite campaign_ledger.sqlite --export-candidates-csv egfr_promoted.csv --export-sdf egfr_promoted_3d.sdf

# Scan 360-degree CSD/SMARTS dihedral profiles on Erlotinib (CHEMBL553), audit Shoichet TEU strain in 1M17, and design locked-rotor analogs
cargo run --release -- torsion-strain --id CHEMBL553 --pose egfr --export-scan-csv erlotinib_torsions.csv --export-locks-csv erlotinib_locks.csv --export-sdf erlotinib_poses.sdf

# Build a cycle-closed Lomap MCS perturbation graph on EGFR 1M17, run 11-window Bennett BAR RBFE, and reconcile MLE node affinities
cargo run --release -- rbfe --series egfr --topology lomap --lambda-windows 11 --export-edges-csv egfr_rbfe_edges.csv --export-nodes-csv egfr_rbfe_nodes.csv

# Train ECFP4/3D-USRCAT GP + 24-tree RF ensemble QSAR and acquire a 10-compound Expected-Improvement DMTA batch
cargo run --release -- active-learn --kernel hybrid --model consensus --acq ei --batch-size 10 --export-csv dmta_batch.csv

# Detect GNM/ANM cryptic pockets on EGFR 5D41 and score allosteric-to-orthosteric strain & MWC cooperativity
cargo run --release -- allosteric --preset 5D41-EGFR-ALLO --export-csv egfr_allosteric.csv --export-sdf egfr_cryptic_poses.sdf

# Profile EGFR WT (1M17) vs T790M (2JIT) selectivity, differential WaterMap hotspots, and T790M/C797S mutation ddG
cargo run --release -- selectivity --pair EGFR-WT-VS-T790M --mutations T790M,C797S --export-csv egfr_selectivity.csv --export-mut-csv egfr_mut_ddg.csv

# Enumerate a 3-cycle DNA-encoded (Amide -> Suzuki -> CuAAC Click) library with MaxMin diversity & 1M17 3D Pocket/ROCS pre-filtering
cargo run --release -- del-lib --scheme DEL-3C-AMIDE-SUZUKI-CLICK --prefilter hybrid --plate-size 24 --export-csv del_plate.csv --export-sdf del_plate_3d.sdf

# Parse EGFR 1M17 .pdb pocket, profile unhappy WaterMap waters, and screen dataset complementarity
cargo run --release -- pocket --pdb data/egfr_1m17_pocket.pdb --export-csv egfr_pocket_hits.csv --export-sdf egfr_pocket_poses.sdf

# Evolve 3D ROCS & pharmacophore-guided novel scaffold hops from Erlotinib (CHEMBL553)
cargo run --release -- de-novo --id CHEMBL553 --goal scaffold-hop --generations 6 --export-csv erlotinib_denovo.csv --export-sdf erlotinib_denovo_3d.sdf

# Score Erlotinib (CHEMBL553) and export standalone HTML5 dossier + 1240x840 SVG scorecard poster
cargo run --release -- dossier --id CHEMBL553 --profile oral-periph --export-html erlotinib_dossier.html --export-svg erlotinib_poster.svg

# Rank the entire campaign under the Oral CNS BBB profile and export executive HTML + CSV
cargo run --release -- dossier --profile oral-cns --top-n 3 --export-html cns_campaign_dossiers.html --export-csv cns_scorecard.csv

License

Licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).

Citation & CRV Science Apps Hub

See CITATION.cff for machine-readable BibTeX/CFF metadata, docs/USER_GUIDE.md for interactive controls & workflows, docs/SCIENTIFIC_METHODS.md for physical/alchemical equations, and validation/README.md for the headless validation benchmark outputs (cargo test --workspace).

Controls, Hotkeys & Viewports

Scope Control / Shortcut Action
Global Ctrl + K Command palette across all 39 modules & loaded compounds
Global Ctrl + B / Ctrl + I / Ctrl + F Toggle Compound/MRU, Lead Inspector, and SMARTS Filter panels
Global F1 / F11 / Escape About modal / Zen full-canvas mode / Dismiss active overlay
2D Chem-Space Left-drag / Wheel / Click Pan / Zoom ([3.0, 18.0] px clamped glyphs + t_scalar iso-contours) / Select lead
2D Chem-Space Idle / Fallback Zero idle request_repaint() when static; automatic 2D egui::Painter fallback when wgpu unavailable
3D Viewports Left-drag / Right-drag / Wheel 3D trackball orbit / Screen pan / Zoom (X/Y/Z triad gizmo + dynamic Å scale bar)
3D Viewports Double-click / Atom hover Fit-to-Molecule dynamic bounding-sphere camera / Element, index & Gasteiger charge tooltip
3D Conformer DG Trials (2..=20) Debounced on drag_stopped() / lost_focus() to prevent mid-drag conformer recomputation

Verification & Validation Telemetry

  • Workspace Suite: cargo test --workspace (72 passed; 0 failed: 60 sar-core unit tests, 3 headless_validation benchmarks, 9 sar-app unit/GUI tests).
  • Oral PBPK Conservation (pbpk_oral.rs): Closed-system zero-elimination mass across y[0..=18] conserves dosed nmol to < 1e-6 nmol, with brain partitioning V_u,brain = V_brain / fu_brain and supersaturated luminal weak-base precipitation above c_sat_si_nm.
  • RBFE & Solvation (rbfe_network.rs): solve_bennett_bar matches exact analytical Shirts-Chodera SE without artificial +0.002 floor bias (1e-12 floor only), and Born solvation scales as 1 / r_eff.
  • Benchmark (validation/sar_atlas_validation_summary.json): 26 curated molecules (mean QED = 0.715, mean CNS-MPO = 4.87, 11 Pareto leads), Haloperidol Kp,uu,brain = 0.923 vs. Lapatinib Kp,uu,brain = 0.062, and Lomap Dopamine D2 cycle closure 0.000 kcal/mol post-MLE (11 nodes, 15 edges, 6 cycles).

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use CRV Science SAR-Atlas in academic research, please cite the software and associated CRV Science Apps preprint below."
type: software
title: "SAR-Atlas: Multiparameter Medicinal Chemistry Optimization, Compartmental Oral PBPK, and Relative Binding Free-Energy Networks"
version: "3.8.0"
date-released: "2026-11-14"
license: "GPL-3.0-or-later"
repository-code: "https://github.com/bpwhite/crvscience-sar-atlas"
url: "https://crvscience.com/apps"
doi: "10.5281/zenodo.24222390"
authors:

  - family-names: "White"
    given-names: "Bryan P."
    affiliation: "CRV Science Network"
    orcid: "https://orcid.org/0000-0003-4191-3511"
preferred-citation:
  type: article
  title: "SAR-Atlas: Drug Design, Body Distribution Modeling, and Candidate Screening in Rust"
  authors:
    - family-names: "White"
      given-names: "Bryan P."
      affiliation: "CRV Science Network"
      orcid: "https://orcid.org/0000-0003-4191-3511"
  doi: "10.5281/zenodo.24222390"
  url: "https://crvscience.com/apps/preprints/sar-atlas-multiparameter-pbpk-rbfe"
  journal: "CRV Science Apps Preprint Series (APP-PREPRINT-09)"
  year: 2026
references:
  - type: article
    title: "The CRV Science App Network: Twenty Open-Source Rust Programs for Science, Data, and Simulation"
    authors:
      - family-names: "White"
        given-names: "Bryan P."
        affiliation: "CRV Science Labs"
        orcid: "https://orcid.org/0000-0003-4191-3511"
    year: 2026
    journal: "CRV Science Apps Preprints"
    doi: "10.5281/zenodo.24222398"
    url: "https://crvscience.com/apps/preprints/crv-science-public-apps-network"
    notes: "Preprint ID: APP-PREPRINT-01 (CRV Science Open-Source Apps Network Overview)"

SAR-Atlas — Architecture, Modules & Validation

Version: 3.8.0
Repository: crvscience-sar-atlas

Source Modules (src/)

  • (See repository root for module layout)

Test Suites (tests/)

  • Inline #[cfg(test)] unit tests in src/

Preprints & Documentation

  • Preprint PDF: Preprints/crv-science-public-apps-network.pdf
  • Preprint PDF: Preprints/sar-atlas-multiparameter-pbpk-rbfe.pdf
  • Doc: docs/SCIENTIFIC_METHODS.md
  • Doc: docs/USER_GUIDE.md

Standard Build & Test

cargo test --release

Related

Wiki: Home
Wiki: SAR_Atlas_Scientific_Methods
Wiki: SAR_Atlas_User_Guide