PyDSSP is a simplified implementation of the DSSP algorithm for assigning secondary structure to protein structures from 3D coordinates. It supports both PyTorch and NumPy backends. Current version is 0.9.1, with a relatively stable release cadence of a few minor versions per year.
pip install pydsspNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Assign secondary structure to a protein backbone (N, CA, C atoms) using NumPy backend.
Ensure coordinates are reshaped to (n_residues, 3, 3) where the last dimension is x,y,z for N, CA, C.
Pass backend='numpy' or backend='pytorch' to assign().
Provide at least 2 residues (n_residues >= 2).
Call assign(coords=your_array, backend='numpy').