binding_site_distance#

RNAdist.dp.cpedistance.binding_site_distance(fc: RNA.fold_compound, binding_sites: List[Tuple[int, int]]) float#

Calculates the expected distance between binding sites.

Will force the binding sites to be in unstructured regions of the RNA (exterior or multi loop). Thus the expected distance using clote-ponty approach will be correct.

Parameters:
  • fc (RNA.fold_compund) – Fold compound object of ViennaRNA

  • List (binding_sites) – Two intervals of binding sites. (Zero based end non inclusive (BED style)

Returns:

expected distance between those binding sites (end of first, start of second)

Return type:

float