rstoolbox.components.DesignSeries.view_mutants_alignment

DesignSeries.view_mutants_alignment(seqID, mutants_bg_color='IndianRed', mutants_text_color='white', identities_bg_color='YellowGreen', identities_text_color='black')

Generates a pretty representation alignment of the mutations in Jupyter Notebooks.

Parameters:
  • seqID (str) – Identifier of the sequence of interest.
  • mutants_bg_color (str) – Color to apply to the background of mutants.
  • mutants_text_color (str) – Color to apply to the text of mutants.
  • identities_bg_color (str) – Color to apply to the background of identities.
  • identities_text_color (str) – Color to apply to the text of identities.
Raise:
KeyError:if there is no reference_sequence for chain seqID of the decoys.