Spaces:
Sleeping
Sleeping
Upload refine.py
Browse files- scripts/refine.py +10 -11
scripts/refine.py
CHANGED
|
@@ -180,20 +180,19 @@ def process_results(target_pdb_id, result_pdb, global_rmsd, core_rmsd):
|
|
| 180 |
status = "Possible Fold Drift - Review Required"
|
| 181 |
status_emoji = "❌"
|
| 182 |
|
| 183 |
-
report = f"""
|
| 184 |
-
### 🔬 Structural Validation Report
|
| 185 |
|
| 186 |
-
|
| 187 |
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
|
| 192 |
-
|
| 193 |
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
"""
|
| 199 |
return report
|
|
|
|
| 180 |
status = "Possible Fold Drift - Review Required"
|
| 181 |
status_emoji = "❌"
|
| 182 |
|
| 183 |
+
report = f"""🔬 Structural Validation Report
|
|
|
|
| 184 |
|
| 185 |
+
Target: {target_pdb_id.upper()}
|
| 186 |
|
| 187 |
+
RMSD Metrics:
|
| 188 |
+
• Global RMSD: {global_rmsd:.2f} Å (all residues)
|
| 189 |
+
• High-Confidence Core RMSD (pLDDT > 80): {core_rmsd:.2f} Å
|
| 190 |
|
| 191 |
+
Design Status: {status_emoji} {status}
|
| 192 |
|
| 193 |
+
Interpretation:
|
| 194 |
+
• Core RMSD < 1.0 Å: Excellent scaffold preservation
|
| 195 |
+
• Core RMSD 1.0-2.0 Å: Good structural match
|
| 196 |
+
• Core RMSD > 2.0 Å: Possible fold drift, review structure
|
| 197 |
"""
|
| 198 |
return report
|