rnaglib.config
¶
Build Isostericity Matrix¶
- rnaglib.config.build_iso_mat.get_undirected_iso(bpa, bpb)[source]¶
Given two directed edges, get the values from the undirected isostericity matrix.
- Parameters:
bpa (str) – LW edge code
bpb (str) – LW edge code
- Returns:
isostericty value
:rtype float
- rnaglib.config.build_iso_mat.build_iso()[source]¶
Build a directed isostericity matrix.
The heuristic is as follows : - It has a diagonal of ones : max similarity is self - Backbone is set aside, and has a little cost for reversing the direction - Different edges types are computed to have the associated undirected isostericity value
- Returns:
A np matrix that yields the isostericity values, ordered as EDGE_MAP