Class PdbCompactFragment

    • Constructor Detail

      • PdbCompactFragment

        public PdbCompactFragment()
    • Method Detail

      • name

        @Default
        public String name()
        Returns:
        The name of this compact fragment.
      • shifted

        public final PdbCompactFragment shifted​(int shift,
                                                int size)
        Creates a new instance from this one which starts from a shifted position and has a limited size.
        Parameters:
        shift - Starting position.
        size - Length of the new compact fragment.
        Returns:
        An instance of this class created by taking a sublist of the residues.
      • torsionAngles

        public final ResidueTorsionAngles torsionAngles​(PdbResidueIdentifier identifier)
        Computes torsion angles' values for a given residue.
        Parameters:
        identifier - A residue identifier.
        Returns:
        An object containing values of torsion angles in the given residue.