compute_clote#
- RNAdist.dp.cpedistance.compute_clote(fc)#
Uses a ViennaRNA fold_compound to calculate the clote-ponty matrix.
Clote, P., Ponty, Y., & Steyaert, J. M. (2012). Expected distance between terminal nucleotides of RNA secondary structures. Journal of mathematical biology, 65(3), 581-599.
https://doi.org/10.1007/s00285-011-0467-8
- Parameters:
fc (RNA.fold_compund) – Fold compound object of ViennaRNA
- Returns:
N x N
matrixcontaining expected distance from nucleotide
0
ton
atmatrix[0][-1]
- Return type:
np.ndarray