rstoolbox.components.DesignSeries.add_reference

DesignSeries.add_reference(seqID, sequence='', structure='', shift=1, shift_labels=False)

Single access to add_reference_sequence(), add_reference_structure() and add_reference_shift().

Parameters:
  • seqID (str) – Identifier of the sequence of interest.
  • sequence (str) – Reference sequence.
  • structure (str) – Reference structure.
  • shift (Union[int, list]) – Starting residue number or per-residue number assignment.
  • shift_labels (bool) – When adding the shift, should it be automatically applied to any label present in the data container? (Default is False).
Raises:
AttributeError:if trying to add a reference type to/from a class without it.