Run Experiment
PIPELINE LAUNCHERExecute PaTz pipeline scripts from the UI. Script 03 (training) has full UI launch + live WebSocket monitoring. Scripts 01/02/04/05 show configuration and terminal commands.
scripts/01_acquire_data.py→ data/raw/Download HIV-1 and M. tuberculosis protein sequences from UniProtKB/Swiss-Prot. Fetches GO annotations. Saves raw JSONL files.
scripts/02_extract_embeddings.py→ data/embeddings/embeddings.h5Load ESM-2 650M and extract 1280-dim per-residue embeddings for all proteins. Requires CUDA (RTX 3050). Saves HDF5 cache.
scripts/03_train_patz.py→ checkpoints/patz_best.ptTrain the full PaTz model (Pairformer + Score Diffusion + Physics Loss). Streams live metrics via WebSocket.
scripts/04_xai_pipeline.py→ results/xai_results.jsonRun Integrated Gradients attribution + MC Dropout uncertainty for all XAI proteins. Saves xai_results.json.
scripts/05_screening.py→ results/screening_results.csvMulti-objective screening of flavonoids against HIV-TB co-infection protein pairs. Uses PaTz structural + functional scores.