mkt.databases.plot.plot_sequence_input_schematic

mkt.databases.plot.plot_sequence_input_schematic(df: DataFrame, output_path: str, list_kinases: list[str] | None = None, cfg: SequenceSchematicConfig | None = None, rc: MatplotlibRCConfig | None = None) None[source]

Create a 3-panel schematic comparing the three sequence input representations.

Panel A shows unaligned construct sequences (variable length, alphabet palette). Panel B shows KLIFS-region-aligned sequences (fixed length, KLIFS palette for pocket regions, alphabet palette for MSA inter/intra regions). Panel C shows KLIFS-residues-only sequences (85 positions, KLIFS palette).

Parameters:

dfpd.DataFrame

DataFrame with columns: kinase_name, seq_construct_unaligned, seq_klifs_region_aligned, seq_klifs_residues_only.

output_pathstr

Path to save the plot files.

list_kinaseslist[str] | None

Kinase names to display. If None, uses a default selection of 5 kinases with comparable unaligned sequence lengths.

cfgSequenceSchematicConfig | None

Plot aesthetics config; uses defaults when None.

rcMatplotlibRCConfig | None

Matplotlib rcParams config; uses defaults when None.