mkt.databases.sasa.BaseSASAConfig
- class mkt.databases.sasa.BaseSASAConfig(*, bool_biopython: bool = True, bool_pymol: bool = False, bool_include_hydrogens: bool = False, bool_relative: bool = True, probe_radius: float = 1.4, n_points: int = 100, dot_density: int = 3)[source]
Bases:
objectBackend-compatible options for
ResidueSASA.Field names mirror the
ResidueSASAconstructor so a config can be expanded viaResidueSASA.from_dataclass(). Presets (subclasses) override these defaults into vetted, internally consistent recipes; seeStandardSASAConfigs.- __init__(*, bool_biopython: bool = True, bool_pymol: bool = False, bool_include_hydrogens: bool = False, bool_relative: bool = True, probe_radius: float = 1.4, n_points: int = 100, dot_density: int = 3) None
Methods
__eq__(other)Return self==value.
__init__(*[, bool_biopython, bool_pymol, ...])Attributes
__dataclass_fields____dataclass_params____match_args__Compute SASA with the Bio.PDB Shrake-Rupley backend.
Keep explicit hydrogens; False gives conventional heavy-atom SASA.
Compute SASA with the PyMOL
dot_solventbackend.Add relative SASA (rSASA); requires heavy-atom SASA (no explicit H).
PyMOL surface point density 1-4 (PyMOL only).
Shrake-Rupley sphere points per atom (Bio.PDB only); default 100 is unlikely to be converged for per-residue SASA (presets use ~960).
Solvent/probe radius (Å), shared by both backends.
- __init__(*, bool_biopython: bool = True, bool_pymol: bool = False, bool_include_hydrogens: bool = False, bool_relative: bool = True, probe_radius: float = 1.4, n_points: int = 100, dot_density: int = 3) None
- bool_biopython: bool = True
Compute SASA with the Bio.PDB Shrake-Rupley backend.
- bool_include_hydrogens: bool = False
Keep explicit hydrogens; False gives conventional heavy-atom SASA.
- bool_pymol: bool = False
Compute SASA with the PyMOL
dot_solventbackend.
- bool_relative: bool = True
Add relative SASA (rSASA); requires heavy-atom SASA (no explicit H).
- dot_density: int = 3
PyMOL surface point density 1-4 (PyMOL only).
- n_points: int = 100
Shrake-Rupley sphere points per atom (Bio.PDB only); default 100 is unlikely to be converged for per-residue SASA (presets use ~960).
- probe_radius: float = 1.4
Solvent/probe radius (Å), shared by both backends.