sasa
Solvent-accessible surface area by Shrake-Rupley point counting (probe 1.4 Å) from PDB or mmCIF text or a file: total, per-residue and per-chain area, polar and apolar parts, relative accessibility against the residue alone, buried residues, area lost between chains.
- Field
- Structural biology
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.5 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001closed form: isolated C atom (r 1.7 A, probe 1.4 A) exposes 4 pi (r + 1.4)^2 = 120.763 A^2; rel 1e-9 (every point is exposed, no counting error)passed
total_sasa_A2120.763 ± 1.2e-07120.763lockedunder 0.01 % of the tolerance usedexposed_fraction1 ± 1e-121lockedunder 0.01 % of the tolerance usedpolar_sasa_A20 ± 1e-120lockedunder 0.01 % of the tolerance usedn_atoms= 11lockedexact matchr0002closed form: C and O 30 A apart, polar part 4 pi (1.52+1.4)^2 = 107.146 A^2, apolar 4 pi (1.7+1.4)^2; rel 1e-9 (no overlap); each residue alone so relative accessibility 1passed
polar_sasa_A2107.146 ± 1.1e-07107.146lockedunder 0.01 % of the tolerance usedapolar_sasa_A2120.763 ± 1.2e-07120.763lockedunder 0.01 % of the tolerance usedpolar_fraction0.470126 ± 4.7e-100.470126lockedunder 0.01 % of the tolerance usedmean_relative_accessibility1 ± 1e-091lockedunder 0.01 % of the tolerance usedr0003closed form: two equal spheres R = 3.1 A at d = 3.1 A along the lattice axis each expose 2 pi R (R + d/2) = 90.572 A^2; exact on the golden-spiral lattice because n (1 - d/2R) / 2 = 250 points is whole, so rel 1e-9; relative accessibility (R + d/2)/2R = 0.75; area lost between chains 2 pi R (2R - d)passed
total_sasa_A2181.144 ± 1.8e-07181.144lockedunder 0.01 % of the tolerance usedmax_atom_sasa_A290.5721 ± 9.1e-0890.5721lockedunder 0.01 % of the tolerance usedmean_relative_accessibility0.75 ± 7.5e-100.75lockedunder 0.01 % of the tolerance usedburied_between_chains_A260.3814 ± 6e-0860.3814lockedunder 0.01 % of the tolerance usedn_buried_residues= 00lockedexact matchr0004closed form: O atom wholly inside an S atom (2.92 + 0.2 < 3.2 A) exposes 0; the S exposes its whole 4 pi (1.8+1.4)^2 = 128.680 A^2; rel 1e-9passed
min_atom_sasa_A20 ± 1e-120lockedunder 0.01 % of the tolerance usedtotal_sasa_A2128.68 ± 1.3e-07128.68lockedunder 0.01 % of the tolerance usedr0005convergence: same pair along x (a general direction for the lattice) with 20000 points within 1e-3 of the closed form 4 pi R (R + d/2) = 181.144 A^2 (point counting; Fibonacci cap error falls as n^-3/4 = 6e-4 here); with buried_below 0.8 both residues (relative 0.75) are buriedpassed
total_sasa_A2181.144 ± 0.18181.18locked20 % of the tolerance usedmean_relative_accessibility0.75 ± 0.000750.75015locked20 % of the tolerance usedn_buried_residues= 22lockedexact matchconverged= truetruelockedexact match
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
structure_text | PDB (fixed columns) or mmCIF text. Only the first model is used; water is always left out. | ||
structure_file | A PDB or mmCIF file instead of structure_text (@r0001/model.pdb). | ||
probe_radius_A | Å | 1.4 | Solvent probe radius; 1.4 Å is water. 0 gives the van der Waals surface. |
n_points | 1 | 1000 | Points on each atom sphere (golden-spiral lattice). 100 is quick, about 1 %; 1000 is about 0.1 %. |
radii_A | {"C": 1.7, "N": 1.55, "O": 1.52, "S": 1.8, "P": 1.8, "SE": 1.9, "H": 1.2} | Atom radius per element symbol. The default is the Bondi (1964) van der Waals set (J. Phys. Chem. 68, 441). Every element present must be listed. | |
polar_elements | ["N", "O"] | Elements whose area counts as polar. | |
buried_below | 1 | 0.2 | A residue is buried when its relative accessibility is below this. |
max_asa_A2 | Optional reference area per residue name (e.g. a published maximum-ASA scale). Left out, the reference is the same residue with every other residue removed. | ||
chains | Chain ids to keep, comma separated; empty keeps all. | ||
include_hetatm | false | Count HETATM records (ligands). Their elements must be in radii_A. | |
include_hydrogens | false | Count hydrogen atoms (most radius sets assume united atoms without them). |
Readings
| Name | Unit | Meaning |
|---|---|---|
total_sasa_A2 | Å^2 | |
polar_sasa_A2 | Å^2 | |
apolar_sasa_A2 | Å^2 | |
polar_fraction | 1 | |
exposed_fraction | 1 | Total over the area of every atom alone. |
free_atoms_sasa_A2 | Å^2 | |
min_atom_sasa_A2 | Å^2 | |
max_atom_sasa_A2 | Å^2 | |
n_atoms | 1 | |
n_residues | 1 | |
n_chains | 1 | |
n_buried_residues | 1 | |
buried_fraction | 1 | |
mean_relative_accessibility | 1 | |
buried_between_chains_A2 | Å^2 | Sum of each chain alone minus the assembly: the interface area counted on both sides. |
half_points_total_sasa_A2 | Å^2 | |
convergence_rel | 1 | |
converged | Halving the points moves the total by 1 % or less. | |
point_area_A2 | Å^2 | |
chains | ||
residues | ||
files | out/residues.csv, out/chains.csv, out/atoms.csv |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.