pyprobound.external.parse_probound_aggregate

parse_probound_aggregate(fit_final, modes, cooperativities, table_idx, round_idx)

Parses all binding modes and interactions of a round into an Aggregate.

Parameters:
  • fit_final (dict[str, Any]) – The ProBound fit, parsed by get_fit_final.

  • modes (Iterable[Mode]) – The Mode encoding of binding modes, from parse_probound_modes.

  • cooperativities (Iterable[Cooperativity]) – The Mode encoding of binding mode interactions, from parse_probound_interactions.

  • table_idx (int) – The index of the experiment in the ProBound fit.

  • round_idx (int) – The index of the sequencing round in the experiment.

Return type:

Aggregate

Returns:

An Aggregate.