mkt.databases.conservation._build_klifs_panel
- mkt.databases.conservation._build_klifs_panel(dict_kinase: dict = {}, int_length: int = 85) tuple[list[str], list[str], list[str]][source]
Collect the gapless KLIFS pocket panel for hierarchical clustering.
Iterates
DICT_KINASE, keeping kinases with a valid fixed-width pocket string and recording their Manning group for the concordance check. Kinases without a pocket, or whose pocket is the wrong length, are skipped with a log warning.Parameters:
- dict_kinasedict
Mapping of HGNC name to
KinaseInfo(default:DICT_KINASE).- int_lengthint
Required pocket length (default:
INT_KLIFS_POCKET_LENGTH).
Returns:
- tuple[list[str], list[str], list[str]]
Parallel lists of
(names, pockets, manning_groups).