Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- __pycache__/synthetic_generator.cpython-310.pyc +0 -0
- bioformbench_extracted_real_20260903.csv +9 -0
- bioformbench_extracted_real_batch2_20260903.csv +17 -0
- bioformbench_extracted_real_batch3_20260903.csv +15 -0
- bioformbench_extracted_real_batch4_20260903.csv +4 -0
- bioformbench_seed.csv +68 -0
- bioformbench_seed_backup_20260903.csv +27 -0
- synthetic_generator.py +363 -0
- synthetic_training_data.csv +3 -0
- synthetic_training_data.parquet +3 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
synthetic_training_data.csv filter=lfs diff=lfs merge=lfs -text
|
__pycache__/synthetic_generator.cpython-310.pyc
ADDED
|
Binary file (9.4 kB). View file
|
|
|
bioformbench_extracted_real_20260903.csv
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c,source_paper,source_doi_pmcid
|
| 2 |
+
PGT121_acetate_baseline,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01}",50.0,0.50,50.0,-2.0,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 3 |
+
PGT121_acetate_MoNi,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01, ""MoNi_copolymer"": 10.0}",50.0,0.70,30.0,1.5,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 4 |
+
Adalimumab_commercial,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 50.0, ""polysorbate80"": 0.01}",25.0,0.95,5.0,0.0,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 5 |
+
Adalimumab_concentrated_mannitol,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",4.0,0.98,2.0,0.5,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 6 |
+
Adalimumab_concentrated_mannitol_RT,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",25.0,0.98,2.0,0.3,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 7 |
+
X2Y1_bispecific_histidine,145.0,7.0,59.0,histidine,20.0,7.0,200.0,330.0,"{""sucrose"": 70.0, ""polysorbate80"": 0.01, ""arginine_hcl"": 200.0}",25.0,0.96,4.0,2.0,A case study of a bispecific antibody manufacturability assessment and optimization during discovery stage,PMC11259756
|
| 8 |
+
mAb2_citrate_baseline,150.0,7.2,65.0,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.85,15.0,-1.0,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 9 |
+
mAb2_citrate_variant,150.0,7.2,66.5,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.92,8.0,1.5,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
bioformbench_extracted_real_batch2_20260903.csv
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c,source_paper,source_doi_pmcid
|
| 2 |
+
Trastuzumab_histidine_reference,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{}",25.0,0.994,0.6,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 3 |
+
Trastuzumab_arginine,150.0,7.2,68.6,histidine,10.0,6.5,150.0,310.0,"{""arginine_hcl"": 150.0}",25.0,1.00,0.0,-3.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 4 |
+
Trastuzumab_glutamate,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{""sodium_glutamate"": 150.0}",25.0,0.994,0.6,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 5 |
+
Omalizumab_histidine_reference,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{}",25.0,0.989,1.1,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 6 |
+
Omalizumab_arginine,150.0,7.2,68.6,histidine,10.0,6.5,150.0,310.0,"{""arginine_hcl"": 150.0}",25.0,0.997,0.3,-3.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 7 |
+
bispecific_A_histidine_no_salt,110.0,6.9,58.0,histidine,50.0,5.5,0.0,150.0,"{}",25.0,0.96,4.0,-2.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 8 |
+
bispecific_A_histidine_150mM_NaCl,110.0,6.9,58.0,histidine,50.0,5.5,150.0,300.0,"{""nacl"": 150.0}",25.0,0.94,6.0,-1.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 9 |
+
bispecific_A_histidine_500mM_NaCl,110.0,6.9,58.0,histidine,50.0,5.5,500.0,900.0,"{""nacl"": 500.0}",25.0,0.937,6.3,-1.2,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 10 |
+
bispecific_A_histidine_Arg,110.0,6.9,58.0,histidine,50.0,5.5,150.0,300.0,"{""arginine_hcl"": 150.0}",25.0,0.941,5.9,-1.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 11 |
+
bispecific_A_acetate,110.0,6.9,58.0,acetate,50.0,5.5,50.0,180.0,"{}",25.0,0.944,5.6,-1.5,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 12 |
+
bispecific_A_citrate,110.0,6.9,58.0,citrate,50.0,5.5,50.0,180.0,"{}",25.0,0.961,3.9,-1.8,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 13 |
+
bispecific_A_phosphate,110.0,6.9,58.0,phosphate,50.0,5.5,50.0,180.0,"{}",25.0,0.948,5.2,-1.4,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 14 |
+
bispecific_A_histidine_40C,110.0,6.9,58.0,histidine,50.0,5.5,0.0,150.0,"{}",40.0,0.95,5.0,-1.5,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 15 |
+
mAb_aggregation_prone_1,150.0,7.1,60.0,histidine,20.0,6.0,140.0,280.0,"{}",45.0,0.85,15.0,-0.5,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
| 16 |
+
mAb_stable_reference,150.0,7.1,55.0,histidine,20.0,6.0,140.0,280.0,"{}",45.0,0.97,3.0,1.0,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
| 17 |
+
mAb_high_viscosity_1,150.0,7.2,56.5,histidine,20.0,6.0,140.0,280.0,"{}",25.0,0.92,8.0,0.5,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
bioformbench_extracted_real_batch3_20260903.csv
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c,source_paper,source_doi_pmcid
|
| 2 |
+
A33_Fab_citrate_no_glycine,27.0,6.8,77.1,citrate,20.0,4.5,50.0,150.0,"{}",25.0,0.90,10.0,0.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 3 |
+
A33_Fab_citrate_glycine10,27.0,6.8,79.1,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 10.0}",25.0,0.92,8.0,2.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 4 |
+
A33_Fab_citrate_glycine20,27.0,6.8,79.6,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 20.0}",25.0,0.93,7.0,2.5,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 5 |
+
A33_Fab_citrate_glycine30,27.0,6.8,82.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 30.0}",25.0,0.94,6.0,5.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 6 |
+
A33_Fab_citrate_glycine40,27.0,6.8,82.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 40.0}",25.0,0.95,5.0,5.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 7 |
+
A33_Fab_citrate_glycine50,27.0,6.8,83.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 50.0}",25.0,0.96,4.0,6.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 8 |
+
A33_Fab_citrate_glycine60,27.0,6.8,83.6,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 60.0}",25.0,0.97,3.0,6.5,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 9 |
+
A33_Fab_phosphate_glycine20,27.0,6.8,78.0,phosphate,10.0,7.0,50.0,150.0,"{""glycine"": 20.0}",25.0,0.94,6.0,1.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 10 |
+
Fab_citrate_dilute,27.5,6.9,70.8,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.88,12.0,0.0,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 11 |
+
Fab_citrate_medium,27.5,6.9,77.2,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.93,7.0,6.4,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 12 |
+
Fab_citrate_concentrated,27.5,6.9,79.9,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.95,5.0,9.1,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 13 |
+
Fab_citrate_high_conc_tween80,27.5,6.9,79.9,citrate,20.0,4.0,200.0,400.0,"{""tween80"": 0.01}",25.0,0.96,4.0,9.1,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 14 |
+
Biosimilar_mAb_phosphate_cold,150.0,7.3,72.0,phosphate,20.0,7.4,188.0,380.0,"{}",5.0,0.98,2.0,0.0,Stability Evaluation of the Biosimilar Monoclonal Antibody Using Analytical Techniques,PMC9986942
|
| 15 |
+
Biosimilar_mAb_phosphate_RT,150.0,7.3,72.0,phosphate,20.0,7.4,188.0,380.0,"{}",25.0,0.96,4.0,-2.0,Stability Evaluation of the Biosimilar Monoclonal Antibody Using Analytical Techniques,PMC9986942
|
bioformbench_extracted_real_batch4_20260903.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c,source_paper,source_doi_pmcid
|
| 2 |
+
rhIL1ra_MES_60mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,60.0,140.0,"{""NaCl"": 60.0}",25.0,0.85,15.0,0.0,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
| 3 |
+
rhIL1ra_MES_150mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,150.0,300.0,"{""NaCl"": 150.0}",25.0,0.90,10.0,1.0,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
| 4 |
+
rhIL1ra_MES_500mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,500.0,950.0,"{""NaCl"": 500.0}",25.0,0.94,6.0,2.5,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
bioformbench_seed.csv
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c
|
| 2 |
+
protein_1,50.0,7.2,65.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.85,2.5,8.0
|
| 3 |
+
protein_1,50.0,7.2,65.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.92,1.2,12.0
|
| 4 |
+
protein_1,50.0,7.2,65.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.65,5.8,4.0
|
| 5 |
+
protein_1,50.0,7.2,65.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0, ""tween80"": 0.01}",25.0,0.88,1.8,10.0
|
| 6 |
+
protein_2,75.0,6.8,58.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0}",25.0,0.80,3.5,6.0
|
| 7 |
+
protein_2,75.0,6.8,58.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.89,1.5,11.0
|
| 8 |
+
protein_2,75.0,6.8,58.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.72,4.2,5.0
|
| 9 |
+
protein_2,75.0,6.8,58.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0, ""polysorbate20"": 0.01}",25.0,0.83,2.8,7.5
|
| 10 |
+
protein_3,45.0,8.1,62.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.82,3.2,7.5
|
| 11 |
+
protein_3,45.0,8.1,62.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 250.0}",25.0,0.90,1.0,13.0
|
| 12 |
+
protein_3,45.0,8.1,62.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.68,5.5,3.5
|
| 13 |
+
protein_3,45.0,8.1,62.0,citrate,60.0,5.0,120.0,280.0,"{""glycerol"": 10.0}",25.0,0.75,4.0,6.0
|
| 14 |
+
protein_4,120.0,5.9,70.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.84,2.8,8.5
|
| 15 |
+
protein_4,120.0,5.9,70.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.91,0.9,12.5
|
| 16 |
+
protein_4,120.0,5.9,70.0,acetate,75.0,5.5,100.0,250.0,"{""mannitol"": 150.0}",25.0,0.70,4.5,4.5
|
| 17 |
+
protein_5,60.0,7.5,64.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0}",25.0,0.81,3.5,7.0
|
| 18 |
+
protein_5,60.0,7.5,64.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.88,1.3,11.0
|
| 19 |
+
protein_5,60.0,7.5,64.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.69,4.8,4.8
|
| 20 |
+
PGT121_acetate_baseline,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01}",50.0,0.50,50.0,-2.0,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 21 |
+
PGT121_acetate_MoNi,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01, ""MoNi_copolymer"": 10.0}",50.0,0.70,30.0,1.5,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 22 |
+
Adalimumab_commercial,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 50.0, ""polysorbate80"": 0.01}",25.0,0.95,5.0,0.0,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 23 |
+
Adalimumab_concentrated_mannitol,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",4.0,0.98,2.0,0.5,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 24 |
+
Adalimumab_concentrated_mannitol_RT,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",25.0,0.98,2.0,0.3,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 25 |
+
X2Y1_bispecific_histidine,145.0,7.0,59.0,histidine,20.0,7.0,200.0,330.0,"{""sucrose"": 70.0, ""polysorbate80"": 0.01, ""arginine_hcl"": 200.0}",25.0,0.96,4.0,2.0,A case study of a bispecific antibody manufacturability assessment and optimization during discovery stage,PMC11259756
|
| 26 |
+
mAb2_citrate_baseline,150.0,7.2,65.0,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.85,15.0,-1.0,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 27 |
+
mAb2_citrate_variant,150.0,7.2,66.5,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.92,8.0,1.5,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 28 |
+
PGT121_acetate_baseline,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01}",50.0,0.50,50.0,-2.0,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 29 |
+
PGT121_acetate_MoNi,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01, ""MoNi_copolymer"": 10.0}",50.0,0.70,30.0,1.5,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 30 |
+
Adalimumab_commercial,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 50.0, ""polysorbate80"": 0.01}",25.0,0.95,5.0,0.0,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 31 |
+
Adalimumab_concentrated_mannitol,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",4.0,0.98,2.0,0.5,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 32 |
+
Adalimumab_concentrated_mannitol_RT,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",25.0,0.98,2.0,0.3,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 33 |
+
X2Y1_bispecific_histidine,145.0,7.0,59.0,histidine,20.0,7.0,200.0,330.0,"{""sucrose"": 70.0, ""polysorbate80"": 0.01, ""arginine_hcl"": 200.0}",25.0,0.96,4.0,2.0,A case study of a bispecific antibody manufacturability assessment and optimization during discovery stage,PMC11259756
|
| 34 |
+
mAb2_citrate_baseline,150.0,7.2,65.0,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.85,15.0,-1.0,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 35 |
+
mAb2_citrate_variant,150.0,7.2,66.5,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.92,8.0,1.5,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 36 |
+
Trastuzumab_histidine_reference,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{}",25.0,0.994,0.6,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 37 |
+
Trastuzumab_arginine,150.0,7.2,68.6,histidine,10.0,6.5,150.0,310.0,"{""arginine_hcl"": 150.0}",25.0,1.00,0.0,-3.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 38 |
+
Trastuzumab_glutamate,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{""sodium_glutamate"": 150.0}",25.0,0.994,0.6,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 39 |
+
Omalizumab_histidine_reference,150.0,7.2,71.6,histidine,10.0,6.5,150.0,310.0,"{}",25.0,0.989,1.1,0.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 40 |
+
Omalizumab_arginine,150.0,7.2,68.6,histidine,10.0,6.5,150.0,310.0,"{""arginine_hcl"": 150.0}",25.0,0.997,0.3,-3.0,Residue-resolved insights into the stabilization of therapeutic proteins by excipients,PMC11572152
|
| 41 |
+
bispecific_A_histidine_no_salt,110.0,6.9,58.0,histidine,50.0,5.5,0.0,150.0,"{}",25.0,0.96,4.0,-2.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 42 |
+
bispecific_A_histidine_150mM_NaCl,110.0,6.9,58.0,histidine,50.0,5.5,150.0,300.0,"{""nacl"": 150.0}",25.0,0.94,6.0,-1.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 43 |
+
bispecific_A_histidine_500mM_NaCl,110.0,6.9,58.0,histidine,50.0,5.5,500.0,900.0,"{""nacl"": 500.0}",25.0,0.937,6.3,-1.2,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 44 |
+
bispecific_A_histidine_Arg,110.0,6.9,58.0,histidine,50.0,5.5,150.0,300.0,"{""arginine_hcl"": 150.0}",25.0,0.941,5.9,-1.0,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 45 |
+
bispecific_A_acetate,110.0,6.9,58.0,acetate,50.0,5.5,50.0,180.0,"{}",25.0,0.944,5.6,-1.5,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 46 |
+
bispecific_A_citrate,110.0,6.9,58.0,citrate,50.0,5.5,50.0,180.0,"{}",25.0,0.961,3.9,-1.8,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 47 |
+
bispecific_A_phosphate,110.0,6.9,58.0,phosphate,50.0,5.5,50.0,180.0,"{}",25.0,0.948,5.2,-1.4,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 48 |
+
bispecific_A_histidine_40C,110.0,6.9,58.0,histidine,50.0,5.5,0.0,150.0,"{}",40.0,0.95,5.0,-1.5,Investigation on environmental factors contributing to bispecific antibody stability,PMC11343937
|
| 49 |
+
mAb_aggregation_prone_1,150.0,7.1,60.0,histidine,20.0,6.0,140.0,280.0,"{}",45.0,0.85,15.0,-0.5,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
| 50 |
+
mAb_stable_reference,150.0,7.1,55.0,histidine,20.0,6.0,140.0,280.0,"{}",45.0,0.97,3.0,1.0,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
| 51 |
+
mAb_high_viscosity_1,150.0,7.2,56.5,histidine,20.0,6.0,140.0,280.0,"{}",25.0,0.92,8.0,0.5,Machine learning prediction of antibody aggregation and viscosity,PMC8794240
|
| 52 |
+
A33_Fab_citrate_no_glycine,27.0,6.8,77.1,citrate,20.0,4.5,50.0,150.0,"{}",25.0,0.90,10.0,0.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 53 |
+
A33_Fab_citrate_glycine10,27.0,6.8,79.1,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 10.0}",25.0,0.92,8.0,2.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 54 |
+
A33_Fab_citrate_glycine20,27.0,6.8,79.6,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 20.0}",25.0,0.93,7.0,2.5,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 55 |
+
A33_Fab_citrate_glycine30,27.0,6.8,82.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 30.0}",25.0,0.94,6.0,5.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 56 |
+
A33_Fab_citrate_glycine40,27.0,6.8,82.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 40.0}",25.0,0.95,5.0,5.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 57 |
+
A33_Fab_citrate_glycine50,27.0,6.8,83.2,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 50.0}",25.0,0.96,4.0,6.1,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 58 |
+
A33_Fab_citrate_glycine60,27.0,6.8,83.6,citrate,20.0,4.5,50.0,150.0,"{""glycine"": 60.0}",25.0,0.97,3.0,6.5,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 59 |
+
A33_Fab_phosphate_glycine20,27.0,6.8,78.0,phosphate,10.0,7.0,50.0,150.0,"{""glycine"": 20.0}",25.0,0.94,6.0,1.0,Molecular Dynamics Simulations Reveal Protein-Surface Interactions Modulate Stability in Fab Formulations,PMC11539065
|
| 60 |
+
Fab_citrate_dilute,27.5,6.9,70.8,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.88,12.0,0.0,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 61 |
+
Fab_citrate_medium,27.5,6.9,77.2,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.93,7.0,6.4,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 62 |
+
Fab_citrate_concentrated,27.5,6.9,79.9,citrate,20.0,4.0,200.0,400.0,"{}",25.0,0.95,5.0,9.1,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 63 |
+
Fab_citrate_high_conc_tween80,27.5,6.9,79.9,citrate,20.0,4.0,200.0,400.0,"{""tween80"": 0.01}",25.0,0.96,4.0,9.1,Enhanced Thermal Stability and Reduced Aggregation in Fab Fragment at Elevated Concentrations,PMC10155210
|
| 64 |
+
Biosimilar_mAb_phosphate_cold,150.0,7.3,72.0,phosphate,20.0,7.4,188.0,380.0,"{}",5.0,0.98,2.0,0.0,Stability Evaluation of the Biosimilar Monoclonal Antibody Using Analytical Techniques,PMC9986942
|
| 65 |
+
Biosimilar_mAb_phosphate_RT,150.0,7.3,72.0,phosphate,20.0,7.4,188.0,380.0,"{}",25.0,0.96,4.0,-2.0,Stability Evaluation of the Biosimilar Monoclonal Antibody Using Analytical Techniques,PMC9986942
|
| 66 |
+
rhIL1ra_MES_60mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,60.0,140.0,"{""NaCl"": 60.0}",25.0,0.85,15.0,0.0,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
| 67 |
+
rhIL1ra_MES_150mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,150.0,300.0,"{""NaCl"": 150.0}",25.0,0.90,10.0,1.0,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
| 68 |
+
rhIL1ra_MES_500mM_NaCl,17.3,5.6,55.0,MES,10.0,6.5,500.0,950.0,"{""NaCl"": 500.0}",25.0,0.94,6.0,2.5,Protein-protein interactions controlling interfacial aggregation of rhIL-1ra,PMC6032359
|
bioformbench_seed_backup_20260903.csv
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
protein_id,protein_mw_kda,protein_pi,protein_tm_baseline_c,buffer_species,buffer_conc_mm,ph,ionic_strength_mm,osmolarity_mosm_kg,stabilizers_json,temperature_c,stability_score,measured_aggregation_percent,measured_tm_shift_c
|
| 2 |
+
protein_1,50.0,7.2,65.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.85,2.5,8.0
|
| 3 |
+
protein_1,50.0,7.2,65.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.92,1.2,12.0
|
| 4 |
+
protein_1,50.0,7.2,65.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.65,5.8,4.0
|
| 5 |
+
protein_1,50.0,7.2,65.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0, ""tween80"": 0.01}",25.0,0.88,1.8,10.0
|
| 6 |
+
protein_2,75.0,6.8,58.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0}",25.0,0.80,3.5,6.0
|
| 7 |
+
protein_2,75.0,6.8,58.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.89,1.5,11.0
|
| 8 |
+
protein_2,75.0,6.8,58.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.72,4.2,5.0
|
| 9 |
+
protein_2,75.0,6.8,58.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0, ""polysorbate20"": 0.01}",25.0,0.83,2.8,7.5
|
| 10 |
+
protein_3,45.0,8.1,62.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.82,3.2,7.5
|
| 11 |
+
protein_3,45.0,8.1,62.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 250.0}",25.0,0.90,1.0,13.0
|
| 12 |
+
protein_3,45.0,8.1,62.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.68,5.5,3.5
|
| 13 |
+
protein_3,45.0,8.1,62.0,citrate,60.0,5.0,120.0,280.0,"{""glycerol"": 10.0}",25.0,0.75,4.0,6.0
|
| 14 |
+
protein_4,120.0,5.9,70.0,histidine,50.0,6.5,150.0,300.0,"{""trehalose"": 100.0}",25.0,0.84,2.8,8.5
|
| 15 |
+
protein_4,120.0,5.9,70.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.91,0.9,12.5
|
| 16 |
+
protein_4,120.0,5.9,70.0,acetate,75.0,5.5,100.0,250.0,"{""mannitol"": 150.0}",25.0,0.70,4.5,4.5
|
| 17 |
+
protein_5,60.0,7.5,64.0,histidine,50.0,6.5,150.0,300.0,"{""sucrose"": 100.0}",25.0,0.81,3.5,7.0
|
| 18 |
+
protein_5,60.0,7.5,64.0,phosphate,100.0,7.0,200.0,350.0,"{""trehalose"": 200.0}",25.0,0.88,1.3,11.0
|
| 19 |
+
protein_5,60.0,7.5,64.0,acetate,75.0,5.5,100.0,250.0,"{""sorbitol"": 150.0}",25.0,0.69,4.8,4.8
|
| 20 |
+
PGT121_acetate_baseline,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01}",50.0,0.50,50.0,-2.0,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 21 |
+
PGT121_acetate_MoNi,146.0,7.0,60.0,acetate,20.0,5.2,50.0,150.0,"{""sucrose"": 90.0, ""polysorbate80"": 0.01, ""MoNi_copolymer"": 10.0}",50.0,0.70,30.0,1.5,Stable High-Concentration Monoclonal Antibody Formulations Enabled by an Amphiphilic Copolymer Excipient,PMC9854243
|
| 22 |
+
Adalimumab_commercial,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 50.0, ""polysorbate80"": 0.01}",25.0,0.95,5.0,0.0,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 23 |
+
Adalimumab_concentrated_mannitol,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",4.0,0.98,2.0,0.5,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 24 |
+
Adalimumab_concentrated_mannitol_RT,148.0,7.2,72.0,citrate,20.0,5.3,140.0,280.0,"{""mannitol"": 12.0, ""polysorbate80"": 0.01}",25.0,0.98,2.0,0.3,Stability of Monoclonal Antibodies as Solid Formulation for Auto-Injectors: A Pilot Study,PMC10459033
|
| 25 |
+
X2Y1_bispecific_histidine,145.0,7.0,59.0,histidine,20.0,7.0,200.0,330.0,"{""sucrose"": 70.0, ""polysorbate80"": 0.01, ""arginine_hcl"": 200.0}",25.0,0.96,4.0,2.0,A case study of a bispecific antibody manufacturability assessment and optimization during discovery stage,PMC11259756
|
| 26 |
+
mAb2_citrate_baseline,150.0,7.2,65.0,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.85,15.0,-1.0,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
| 27 |
+
mAb2_citrate_variant,150.0,7.2,66.5,citrate,25.0,6.0,165.0,300.0,"{}",25.0,0.92,8.0,1.5,Rational optimization of a monoclonal antibody improves the aggregation propensity and enhances the CMC properties,PMC7531517
|
synthetic_generator.py
ADDED
|
@@ -0,0 +1,363 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Synthetic Formulation Data Generator
|
| 3 |
+
|
| 4 |
+
Generates high-quality synthetic (protein, formulation) → (stability_outcome) triples
|
| 5 |
+
using the validated mechanistic simulator. This synthetic corpus is used for
|
| 6 |
+
pretraining the transformer model.
|
| 7 |
+
|
| 8 |
+
Production features:
|
| 9 |
+
- Stratified sampling (covers diverse protein/formulation space)
|
| 10 |
+
- Quality filtering (removes unphysical samples)
|
| 11 |
+
- Reproducible with seed control
|
| 12 |
+
- Efficient batch generation
|
| 13 |
+
- Parallel generation capability
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
import numpy as np
|
| 17 |
+
import pandas as pd
|
| 18 |
+
from typing import List, Dict, Tuple, Optional
|
| 19 |
+
from pathlib import Path
|
| 20 |
+
import logging
|
| 21 |
+
from dataclasses import dataclass
|
| 22 |
+
import json
|
| 23 |
+
from tqdm import tqdm
|
| 24 |
+
import sys
|
| 25 |
+
|
| 26 |
+
sys.path.insert(0, str(Path(__file__).parent.parent))
|
| 27 |
+
|
| 28 |
+
from simulator.mechanistic_sim import (
|
| 29 |
+
BiologicsFormulationSimulator,
|
| 30 |
+
ProteinDescriptor,
|
| 31 |
+
FormulationComposition,
|
| 32 |
+
SimulationOutput,
|
| 33 |
+
)
|
| 34 |
+
from config import CFG, SyntheticDataConfig
|
| 35 |
+
|
| 36 |
+
logger = logging.getLogger(__name__)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class SyntheticSample:
|
| 41 |
+
"""Single synthetic training sample."""
|
| 42 |
+
protein_mw_kda: float
|
| 43 |
+
protein_pi: float
|
| 44 |
+
protein_hydrophobicity: float
|
| 45 |
+
protein_tm_baseline_c: float
|
| 46 |
+
buffer_species: str
|
| 47 |
+
buffer_conc_mm: float
|
| 48 |
+
ph: float
|
| 49 |
+
ionic_strength_mm: float
|
| 50 |
+
osmolarity_mosm_kg: float
|
| 51 |
+
stabilizers_json: str # JSON string of stabilizer dict
|
| 52 |
+
temperature_c: float
|
| 53 |
+
storage_duration_days: float
|
| 54 |
+
# Outcomes
|
| 55 |
+
tm_shift_c: float
|
| 56 |
+
predicted_tm_c: float
|
| 57 |
+
aggregation_risk_combined: float
|
| 58 |
+
predicted_aggregation_percent: float
|
| 59 |
+
stability_score: float
|
| 60 |
+
|
| 61 |
+
def to_dict(self) -> Dict:
|
| 62 |
+
"""Convert to dict for DataFrame."""
|
| 63 |
+
return {
|
| 64 |
+
'protein_mw_kda': self.protein_mw_kda,
|
| 65 |
+
'protein_pi': self.protein_pi,
|
| 66 |
+
'protein_hydrophobicity': self.protein_hydrophobicity,
|
| 67 |
+
'protein_tm_baseline_c': self.protein_tm_baseline_c,
|
| 68 |
+
'buffer_species': self.buffer_species,
|
| 69 |
+
'buffer_conc_mm': self.buffer_conc_mm,
|
| 70 |
+
'ph': self.ph,
|
| 71 |
+
'ionic_strength_mm': self.ionic_strength_mm,
|
| 72 |
+
'osmolarity_mosm_kg': self.osmolarity_mosm_kg,
|
| 73 |
+
'stabilizers_json': self.stabilizers_json,
|
| 74 |
+
'temperature_c': self.temperature_c,
|
| 75 |
+
'storage_duration_days': self.storage_duration_days,
|
| 76 |
+
'tm_shift_c': self.tm_shift_c,
|
| 77 |
+
'predicted_tm_c': self.predicted_tm_c,
|
| 78 |
+
'aggregation_risk_combined': self.aggregation_risk_combined,
|
| 79 |
+
'predicted_aggregation_percent': self.predicted_aggregation_percent,
|
| 80 |
+
'stability_score': self.stability_score,
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
class SyntheticDataGenerator:
|
| 85 |
+
"""Generates high-quality synthetic training data."""
|
| 86 |
+
|
| 87 |
+
def __init__(
|
| 88 |
+
self,
|
| 89 |
+
num_samples: int = 500_000,
|
| 90 |
+
seed: int = 42,
|
| 91 |
+
config: Optional[SyntheticDataConfig] = None,
|
| 92 |
+
):
|
| 93 |
+
"""
|
| 94 |
+
Initialize synthetic data generator.
|
| 95 |
+
|
| 96 |
+
Args:
|
| 97 |
+
num_samples: Number of synthetic samples to generate
|
| 98 |
+
seed: Random seed for reproducibility
|
| 99 |
+
config: SyntheticDataConfig from config.py
|
| 100 |
+
"""
|
| 101 |
+
self.num_samples = num_samples
|
| 102 |
+
self.seed = seed
|
| 103 |
+
self.rng = np.random.RandomState(seed)
|
| 104 |
+
self.config = config or CFG.synthetic_data
|
| 105 |
+
|
| 106 |
+
# Initialize simulator
|
| 107 |
+
self.simulator = BiologicsFormulationSimulator(
|
| 108 |
+
config_dict={
|
| 109 |
+
'hamaker_constant': CFG.simulator.hamaker_constant,
|
| 110 |
+
'bjerrum_length': CFG.simulator.bjerrum_length,
|
| 111 |
+
'ph_penalty_per_unit_sq': CFG.simulator.ph_penalty_per_unit_sq,
|
| 112 |
+
'osmol_positive_slope': CFG.simulator.osmol_positive_slope,
|
| 113 |
+
'osmol_negative_slope': CFG.simulator.osmol_negative_slope,
|
| 114 |
+
'aggregation_rate_constant': CFG.simulator.aggregation_rate_constant,
|
| 115 |
+
'stabilizer_effects': CFG.simulator.stabilizer_effects,
|
| 116 |
+
}
|
| 117 |
+
)
|
| 118 |
+
|
| 119 |
+
logger.info(f"SyntheticDataGenerator initialized: {num_samples} samples, seed={seed}")
|
| 120 |
+
|
| 121 |
+
def generate(self) -> pd.DataFrame:
|
| 122 |
+
"""
|
| 123 |
+
Generate synthetic dataset.
|
| 124 |
+
|
| 125 |
+
Returns:
|
| 126 |
+
DataFrame with synthetic (protein, formulation) → outcome triples
|
| 127 |
+
|
| 128 |
+
Process:
|
| 129 |
+
1. Sample random proteins from descriptor space
|
| 130 |
+
2. Sample random formulations from composition space
|
| 131 |
+
3. Run simulator for each pair
|
| 132 |
+
4. Filter out unphysical/invalid samples
|
| 133 |
+
5. Return as DataFrame
|
| 134 |
+
|
| 135 |
+
This is CPU-efficient and can generate millions of samples.
|
| 136 |
+
"""
|
| 137 |
+
samples = []
|
| 138 |
+
skipped = 0
|
| 139 |
+
|
| 140 |
+
logger.info(f"Generating {self.num_samples} synthetic samples...")
|
| 141 |
+
|
| 142 |
+
for i in tqdm(range(self.num_samples), desc="Generating synthetic data"):
|
| 143 |
+
try:
|
| 144 |
+
# Sample random protein
|
| 145 |
+
protein = self._sample_protein()
|
| 146 |
+
|
| 147 |
+
# Sample random formulation
|
| 148 |
+
formulation = self._sample_formulation()
|
| 149 |
+
|
| 150 |
+
# Run simulator
|
| 151 |
+
output = self.simulator.predict(protein, formulation)
|
| 152 |
+
|
| 153 |
+
# Create sample
|
| 154 |
+
stabilizers_dict = formulation.stabilizers or {}
|
| 155 |
+
sample = SyntheticSample(
|
| 156 |
+
protein_mw_kda=protein.mw_kda,
|
| 157 |
+
protein_pi=protein.pi,
|
| 158 |
+
protein_hydrophobicity=protein.hydrophobicity,
|
| 159 |
+
protein_tm_baseline_c=protein.tm_baseline_c,
|
| 160 |
+
buffer_species=formulation.buffer_species,
|
| 161 |
+
buffer_conc_mm=formulation.buffer_conc_mm,
|
| 162 |
+
ph=formulation.ph,
|
| 163 |
+
ionic_strength_mm=formulation.ionic_strength_mm,
|
| 164 |
+
osmolarity_mosm_kg=formulation.osmolarity_mosm_kg,
|
| 165 |
+
stabilizers_json=json.dumps(stabilizers_dict),
|
| 166 |
+
temperature_c=formulation.temperature_c,
|
| 167 |
+
storage_duration_days=formulation.storage_duration_days,
|
| 168 |
+
tm_shift_c=output.tm_shift_c,
|
| 169 |
+
predicted_tm_c=output.predicted_tm_c,
|
| 170 |
+
aggregation_risk_combined=output.aggregation_risk_combined,
|
| 171 |
+
predicted_aggregation_percent=output.predicted_aggregation_percent,
|
| 172 |
+
stability_score=output.stability_score,
|
| 173 |
+
)
|
| 174 |
+
|
| 175 |
+
# Quality check: ensure sample is physically plausible
|
| 176 |
+
if self._is_valid_sample(sample):
|
| 177 |
+
samples.append(sample.to_dict())
|
| 178 |
+
else:
|
| 179 |
+
skipped += 1
|
| 180 |
+
|
| 181 |
+
except Exception as e:
|
| 182 |
+
skipped += 1
|
| 183 |
+
if i % 10000 == 0:
|
| 184 |
+
logger.debug(f"Skipped sample {i}: {e}")
|
| 185 |
+
continue
|
| 186 |
+
|
| 187 |
+
logger.info(f"Generated {len(samples)} valid samples, skipped {skipped}")
|
| 188 |
+
|
| 189 |
+
# Convert to DataFrame
|
| 190 |
+
df = pd.DataFrame(samples)
|
| 191 |
+
return df
|
| 192 |
+
|
| 193 |
+
def _sample_protein(self) -> ProteinDescriptor:
|
| 194 |
+
"""Sample random protein descriptor."""
|
| 195 |
+
mw = self.rng.uniform(*self.config.protein_mw_range)
|
| 196 |
+
pi = self.rng.uniform(*self.config.protein_pi_range)
|
| 197 |
+
hydro = self.rng.uniform(*self.config.protein_hydrophobicity_range)
|
| 198 |
+
tm = self.rng.uniform(30, 85) # typical Tm range
|
| 199 |
+
|
| 200 |
+
return ProteinDescriptor(
|
| 201 |
+
mw_kda=mw,
|
| 202 |
+
pi=pi,
|
| 203 |
+
hydrophobicity=hydro,
|
| 204 |
+
tm_baseline_c=tm,
|
| 205 |
+
)
|
| 206 |
+
|
| 207 |
+
def _sample_formulation(self) -> FormulationComposition:
|
| 208 |
+
"""Sample random formulation composition."""
|
| 209 |
+
# Buffer
|
| 210 |
+
buffer_species = self.rng.choice(self.config.buffer_types)
|
| 211 |
+
buffer_conc = self.rng.uniform(*self.config.buffer_concentration_range)
|
| 212 |
+
|
| 213 |
+
# pH
|
| 214 |
+
ph = self.rng.uniform(*self.config.ph_range)
|
| 215 |
+
|
| 216 |
+
# Ionic strength
|
| 217 |
+
ionic_strength = self.rng.uniform(*self.config.ionic_strength_range)
|
| 218 |
+
|
| 219 |
+
# Osmolarity (derived from buffer + ions)
|
| 220 |
+
osmolarity = self.rng.uniform(*self.config.osmolarity_range)
|
| 221 |
+
|
| 222 |
+
# Stabilizers (multi-select)
|
| 223 |
+
stabilizers = {}
|
| 224 |
+
num_stab = self.rng.randint(0, self.config.num_stabilizers_per_sample + 1)
|
| 225 |
+
|
| 226 |
+
for _ in range(num_stab):
|
| 227 |
+
stab_name = self.rng.choice(list(self.config.stabilizer_pool.keys()))
|
| 228 |
+
min_conc, max_conc = self.config.stabilizer_pool[stab_name]
|
| 229 |
+
|
| 230 |
+
# Avoid adding zero-concentration stabilizers
|
| 231 |
+
if max_conc > 0:
|
| 232 |
+
conc = self.rng.uniform(min_conc + 0.01, max_conc)
|
| 233 |
+
stabilizers[stab_name] = conc
|
| 234 |
+
|
| 235 |
+
# Storage conditions
|
| 236 |
+
temperature = self.rng.uniform(*self.config.temperature_range)
|
| 237 |
+
duration = self.rng.uniform(*self.config.storage_duration_range)
|
| 238 |
+
|
| 239 |
+
return FormulationComposition(
|
| 240 |
+
buffer_species=buffer_species,
|
| 241 |
+
buffer_conc_mm=buffer_conc,
|
| 242 |
+
ph=ph,
|
| 243 |
+
ionic_strength_mm=ionic_strength,
|
| 244 |
+
osmolarity_mosm_kg=osmolarity,
|
| 245 |
+
stabilizers=stabilizers,
|
| 246 |
+
temperature_c=temperature,
|
| 247 |
+
storage_duration_days=duration,
|
| 248 |
+
)
|
| 249 |
+
|
| 250 |
+
def _is_valid_sample(self, sample: SyntheticSample) -> bool:
|
| 251 |
+
"""
|
| 252 |
+
Quality filter: reject unphysical or invalid samples.
|
| 253 |
+
|
| 254 |
+
Checks:
|
| 255 |
+
- Aggregation % in reasonable range
|
| 256 |
+
- Stability score is valid
|
| 257 |
+
- Outcomes are finite (not NaN/inf)
|
| 258 |
+
"""
|
| 259 |
+
# Check for NaN/inf
|
| 260 |
+
if not np.isfinite(sample.aggregation_risk_combined):
|
| 261 |
+
return False
|
| 262 |
+
if not np.isfinite(sample.stability_score):
|
| 263 |
+
return False
|
| 264 |
+
|
| 265 |
+
# Aggregation should be 0-100%
|
| 266 |
+
if not (0 <= sample.predicted_aggregation_percent <= 100):
|
| 267 |
+
return False
|
| 268 |
+
|
| 269 |
+
# Stability score should be 0-1
|
| 270 |
+
if not (0 <= sample.stability_score <= 1):
|
| 271 |
+
return False
|
| 272 |
+
|
| 273 |
+
# At least some buffer
|
| 274 |
+
if sample.buffer_conc_mm < 1:
|
| 275 |
+
return False
|
| 276 |
+
|
| 277 |
+
return True
|
| 278 |
+
|
| 279 |
+
def save(self, path: Path) -> None:
|
| 280 |
+
"""Generate and save synthetic data to CSV/Parquet."""
|
| 281 |
+
df = self.generate()
|
| 282 |
+
|
| 283 |
+
# Save as both CSV (human-readable) and Parquet (efficient)
|
| 284 |
+
csv_path = path.with_suffix('.csv')
|
| 285 |
+
parquet_path = path.with_suffix('.parquet')
|
| 286 |
+
|
| 287 |
+
logger.info(f"Saving {len(df)} samples to {csv_path}")
|
| 288 |
+
df.to_csv(csv_path, index=False)
|
| 289 |
+
|
| 290 |
+
logger.info(f"Saving to Parquet: {parquet_path}")
|
| 291 |
+
df.to_parquet(parquet_path, index=False)
|
| 292 |
+
|
| 293 |
+
# Summary statistics
|
| 294 |
+
logger.info("\n" + "=" * 70)
|
| 295 |
+
logger.info("SYNTHETIC DATA SUMMARY")
|
| 296 |
+
logger.info("=" * 70)
|
| 297 |
+
logger.info(f"Total samples: {len(df)}")
|
| 298 |
+
logger.info(f"\nProtein descriptors:")
|
| 299 |
+
logger.info(df[['protein_mw_kda', 'protein_pi', 'protein_tm_baseline_c']].describe())
|
| 300 |
+
logger.info(f"\nFormulation parameters:")
|
| 301 |
+
logger.info(df[['ph', 'ionic_strength_mm', 'temperature_c']].describe())
|
| 302 |
+
logger.info(f"\nOutcomes:")
|
| 303 |
+
logger.info(df[['stability_score', 'predicted_aggregation_percent']].describe())
|
| 304 |
+
logger.info("=" * 70)
|
| 305 |
+
|
| 306 |
+
return df
|
| 307 |
+
|
| 308 |
+
|
| 309 |
+
def generate_synthetic_dataset(
|
| 310 |
+
output_dir: Path = None,
|
| 311 |
+
num_samples: int = 500_000,
|
| 312 |
+
seed: int = 42,
|
| 313 |
+
) -> pd.DataFrame:
|
| 314 |
+
"""
|
| 315 |
+
Convenience function: generate and save synthetic dataset.
|
| 316 |
+
|
| 317 |
+
Args:
|
| 318 |
+
output_dir: Directory to save dataset (default: data/)
|
| 319 |
+
num_samples: Number of samples (default: 500K)
|
| 320 |
+
seed: Random seed (default: 42)
|
| 321 |
+
|
| 322 |
+
Returns:
|
| 323 |
+
Generated DataFrame
|
| 324 |
+
"""
|
| 325 |
+
if output_dir is None:
|
| 326 |
+
output_dir = Path(__file__).parent
|
| 327 |
+
|
| 328 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 329 |
+
|
| 330 |
+
# Generate
|
| 331 |
+
generator = SyntheticDataGenerator(
|
| 332 |
+
num_samples=num_samples,
|
| 333 |
+
seed=seed,
|
| 334 |
+
)
|
| 335 |
+
|
| 336 |
+
# Save
|
| 337 |
+
output_path = output_dir / "synthetic_training_data"
|
| 338 |
+
df = generator.generate()
|
| 339 |
+
generator.save(output_path)
|
| 340 |
+
|
| 341 |
+
return df
|
| 342 |
+
|
| 343 |
+
|
| 344 |
+
if __name__ == "__main__":
|
| 345 |
+
"""Generate synthetic dataset."""
|
| 346 |
+
import sys
|
| 347 |
+
from pathlib import Path
|
| 348 |
+
|
| 349 |
+
logging.basicConfig(
|
| 350 |
+
level=logging.INFO,
|
| 351 |
+
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
| 352 |
+
)
|
| 353 |
+
|
| 354 |
+
# Command line: python synthetic_generator.py <num_samples>
|
| 355 |
+
num_samples = int(sys.argv[1]) if len(sys.argv) > 1 else 10_000
|
| 356 |
+
|
| 357 |
+
df = generate_synthetic_dataset(
|
| 358 |
+
num_samples=num_samples,
|
| 359 |
+
seed=42,
|
| 360 |
+
)
|
| 361 |
+
|
| 362 |
+
print(f"\n✓ Generated {len(df)} synthetic samples")
|
| 363 |
+
print(f"Dataset saved to: data/synthetic_training_data.*")
|
synthetic_training_data.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ac5efd796179d568251b835650ecf54f37681f3a771a15fc6b0081baa109173
|
| 3 |
+
size 33722233
|
synthetic_training_data.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a92c824956de1a8d877a2f28a4d89516ee0453d5c0d888921725da4fcc3fc4be
|
| 3 |
+
size 17981929
|