Code and supporting analysis for my senior thesis on coarse-grained kinetic transition networks for LLPS-relevant hexapeptides.
This repository contains the code used to:
- build microscopic continuous-time Markov models from PATHSAMPLE / DPS outputs
- construct graph-transformed coarse models that preserve benchmark kinetics
- compute graph-theoretic descriptors on the reduced networks
- regress MFPTs and relaxation observables from those descriptors
- test node-feature committor baselines and sparse-message-passing GNN variants
- keep a small amount of exploratory work and compact generated summaries used during the project
config.pystationary_point_io.pyio_markov.pybuild_markov_model.pybuild_gt_kept_models.pygenerate_basin_keep_lists.pyrun_all_build.py
graph_distances.pygraph_features.pymfpt_analysis.pyanalyze_micro_vs_coarse_T300K.pymake_micro_report.pylandscape_class_tests.pysummaries_and_regression.py
ml_regression.pyml_permutation_test.py
committor_linear_baseline.pyktn_dataset.pygnn_models.pytrain_gnn.pytrain_gnn_v2.pygnn_ablation_sweep.pygnn_ablation_aggregate.py
*.sbatch*.slurm*.sh
thesis_analysis.ipynbGTcheck_micro_vs_coarse_T300K_full.csvGTcheck_micro_vs_coarse_T300K_summary.txtmicro_report_all.csvmicro_report_all.txtgt_kept_build_report.txtCPU_PATCH_NOTES.txtqualitative_keeplist_checks.pyquantitative_keeplist_checks.py
Install the Python packages in requirements.txt first.
This code also depends on software that is not bundled in this repository:
PyGTfor KTN loading, graph transformation, and passage-time calculations- Wales-group landscape tools such as
PATHSAMPLE,OPTIM, andGMIN - the underlying peptide stationary-point databases / DPS outputs
The raw stationary-point databases, PATHSAMPLE runs, and generated Markov-model folders are not included here.
The scripts were developed on a Princeton cluster workflow and some files still contain machine-specific paths, scratch directories, and SLURM settings.
Before running the pipeline on a new machine, update:
config.py- any
*.sbatch,*.slurm, or*.shlauncher scripts you plan to use
A representative end-to-end workflow is:
- build microscopic KTNs with
build_markov_model.py - construct graph-transformed coarse models with
build_gt_kept_models.py - compute reduced-network descriptors with
graph_features.py - summarize MFPT and relaxation behavior with
mfpt_analysis.pyandanalyze_micro_vs_coarse_T300K.py - run graph-level prediction with
ml_regression.pyandml_permutation_test.py - run committor baselines or GNN experiments with
committor_linear_baseline.py,train_gnn_v2.py, andgnn_ablation_sweep.py
Most files in this repository are part of the main supported pipeline. A few are exploratory scratch analyses kept here for completeness.
In particular, quantitative_keeplist_checks.py is exploratory and may require extra local utilities or unfinished helper code before it can run as-is. It is included for transparency, not as a polished entry point.
This repository is code only. It does not include the thesis LaTeX project, raw peptide databases, or the large generated model artifacts produced after PATHSAMPLE / PyGT processing.