How dhanumjayareddy/plexcal works
Plexcal is a structure-aware scientific application for viewing PDB structures and comparing FRET and DET diffusion-length calculations. The main workflow is: a user uploads a PDB or requests an RCSB/AlphaFold structure, previews it, then submits it for both calculations and views the metrics and charts. The repository also contains a separate static PDB-record lookup and a batch-calculation workflow. Server and browser excerpts establish the main API interactions; unsampled internals are represented only where the README documents their capabilities.
Main entry points: server.py Local API server · fret_upload.js Structure and results UI · process_all_pdbs.py Batch runner · github_pages.js Static lookup UI
Components 16
Structure workspace
- Workspace interface
index.html - Structure and results UI
fret_upload.js - Local API server
server.py - PDB structure
- RCSB PDB
- AlphaFold DB
- PDBe Mol*
Diffusion analysis
- FRET calculation
process_single_pdb.py - DET calculation
det_code_clean.py - Metrics and charts
fret_upload.js
Static record lookup
- Static lookup UI
github_pages.js - Shard manifest
docs/data/index.json - PDB record shards
docs/data/shards
Batch processing
- Batch runner
process_all_pdbs.py - Batch CSV results
process_all_pdbs.py
Other components
- User
Connections 18
- User → Workspace interface: uses
README.md - Workspace interface → Structure and results UI: runs
README.md - Structure and results UI → Local API server: requests structure
fret_upload.js - Structure and results UI → Local API server: submits analysis
fret_upload.js - Local API server → PDB structure: accepts or downloads
server.py - Local API server → RCSB PDB: fetches structures and metadata
README.md - Local API server → AlphaFold DB: fetches models and metadata
README.md - Structure and results UI → PDBe Mol*: loads viewer
README.md - Local API server → FRET calculation: invokes
server.py - Local API server → DET calculation: invokes
server.py - Structure and results UI → Metrics and charts: renders results
fret_upload.js - User → Static lookup UI: searches records
github_pages.js - Static lookup UI → Shard manifest: loads
github_pages.js - Static lookup UI → PDB record shards: loads matching shard
github_pages.js - User → Batch runner: starts batch
README.md - Batch runner → FRET calculation: runs per structure
process_all_pdbs.py - Batch runner → DET calculation: runs per structure
process_all_pdbs.py - Batch runner → Batch CSV results: writes
process_all_pdbs.py