biophysics Module
The biophysics module enhances synthetic structures with realistic biochemical properties, such as pH-dependent protonation and terminal capping.
Overview
While the core generator builds the 3D atomic coordinates, the biophysics module handles the "chemical identity" of the residues, ensuring that protonation states and terminal groups are biologically accurate for a given environment.
Main Functions
apply_ph_titration(structure, ph=7.4)
Apply global pH settings to titratable residues (mainly Histidine).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
structure
|
AtomArray
|
The atom array. |
required |
ph
|
float
|
The pH value (default 7.4). |
7.4
|
Returns:
| Type | Description |
|---|---|
AtomArray
|
Modified atom array with updated residue names (HIS -> HIE/HID/HIP). |
Source code in synth_pdb/biophysics.py
cap_termini(structure)
Add terminal capping groups (ACE/NME) to the peptide.
EDUCATIONAL NOTE - Terminal Capping:
Biological proteins are usually long chains. However, simulation and experiments often use shorter peptide fragments.
Uncapped termini (NH3+ and COO-) introduce strong charges that are often unrealistic for an internal fragment of a protein. - N-terminus cap: Acetyl (ACE) -> replaces H with CH3-CO- Eliminates positive charge at N-term. Structure: CH3-C(=O)-NH-... - C-terminus cap: N-Methylamide (NME) -> replaces O with NH-CH3 Eliminates negative charge at C-term. Structure: ...-CO-NH-CH3
This function geometrically constructs these caps attached to the start and end residues.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
structure
|
AtomArray
|
Input peptide structure |
required |
Returns:
| Type | Description |
|---|---|
AtomArray
|
Structure with ACE and NME residues added. |
Source code in synth_pdb/biophysics.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | |
find_salt_bridges(structure, cutoff=5.0)
Automatically detects potential salt bridges in a protein structure.
A salt bridge is defined here as a pair of acidic and basic residues where any of their side-chain charged atoms are within the specified cutoff.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
structure
|
AtomArray
|
Biotite AtomArray (should include side chains). |
required |
cutoff
|
float
|
Distance threshold in Angstroms (default 4.0). |
5.0
|
Returns:
| Type | Description |
|---|---|
List[Dict[str, Any]]
|
list of dict: Each dict contains: - res_ia: Residue ID of the first residue - res_ib: Residue ID of the second residue - atom_a: Name of the coordinating atom in res_ia - atom_b: Name of the coordinating atom in res_ib - distance: The measured distance |
Source code in synth_pdb/biophysics.py
Usage Examples
pH Titration
Apply pH-dependent protonation to residues like Histidine.
import biotite.structure as struc
from synth_pdb.biophysics import apply_ph_titration
# Load structure
# structure: struc.AtomArray
# Apply acidic pH (renames HIS to HIP)
structure = apply_ph_titration(structure, ph=5.0)
# Apply physiological pH (probabilistically renames HIS to HIE or HID)
structure = apply_ph_titration(structure, ph=7.4)
Terminal Capping
Add Acetyl (ACE) and N-Methylamide (NME) caps to the termini of a peptide fragment.
from synth_pdb.biophysics import cap_termini
# Add caps to structure
structure = cap_termini(structure)
Salt Bridge Detection
Identify potential ionic interactions between acidic and basic residues.
from synth_pdb.biophysics import find_salt_bridges
bridges = find_salt_bridges(structure, cutoff=5.0)
for b in bridges:
print(f"Salt bridge between {b['res_ia']} and {b['res_ib']}")
Educational Notes
pH and Protonation
Biological function depends heavily on pH. The most sensitive residue near physiological pH (7.4) is Histidine (\(pK_a \approx 6.0\)). - pH < 6.0: The imidazole ring is protonated and carries a \(+1\) charge. Represented as HIP. - pH > 6.0: The ring is neutral (\(0\) charge). It exists in two tautomeric forms: HIE (\(\epsilon\) nitrogen protonated) or HID (\(\delta\) nitrogen protonated).
Terminal Capping
Uncapped termini (\(NH_3^+\) and \(COO^-\)) introduce strong charges that are often unrealistic for a short peptide fragment intended to represent a region within a larger protein. - N-terminus cap (ACE): Acetyl group (\(CH_3\text{-}CO\text{-}\)) replaces the terminal hydrogen. - C-terminus cap (NME): N-Methylamide group (\(\text{-}NH\text{-}CH_3\)) replaces the terminal oxygen.
Capping eliminates these artificial terminal charges, providing a more realistic model of internal protein segments.
Salt Bridges
A salt bridge is a combination of two non-covalent interactions: Hydrogen Bonding and Electrostatic (Ionic) Attraction. It occurs between a positively charged basic residue (Lys, Arg, His) and a negatively charged acidic residue (Asp, Glu). These bridges are critical for stabilizing tertiary structure and driving specific molecular recognition.
References
- Proline Conformation: MacArthur, M. W., & Thornton, J. M. (1991). "Influence of proline residues on protein conformation." Journal of Molecular Biology. DOI: 10.1016/0022-2836(91)90627-W
- Salt Bridges: Bosshard, H. R., et al. (2004). "The salt bridge in proteins." Journal of Molecular Recognition. DOI: 10.1002/jmr.657
- pH and Proteins: Tanford, C. (1962). "The interpretation of hydrogen ion titration curves of proteins." Advances in Protein Chemistry.
See Also
- physics Module - Physics-based refinement
- validator Module - Geometric validation
- Scientific Background: Biophysics Fundamentals