extendedMD.mdl¶
-
extendedMD.mdl.
compute_motif_mdl_cost
(members_dic_list, bs_len)¶ This function compute the MDL cost associated to the motif that generated the members in members_dic_list, as proposed by Tanaka et all
Parameters: - members_dic_list (list of dic) – list of dictionaries related to the BS subsequences that belong to a motif
- bs_len (list of int) – list of the lengths of each BS sequence
Returns: mdl cost
Return type: float
-
extendedMD.mdl.
compute_segmentation_mdl_cost
(seg_len_list)¶ This function computes the MDL cost associated with the lengths split BS sequence. This is a middle step in the MDL cost computation proposed by Tanaka et all as proposed by Tanaka et all
Parameters: seg_len_list (list of list of int) – list of split BS lengths Returns: mdl cost Return type: float
-
extendedMD.mdl.
split_bs_len
(members_dic_list, bs_len)¶ This function splits the BS sequence based on the position of the motif members (i.e. subsequences in members_dic_list). This is a middle step in the MDL cost computation proposed by Tanaka et all
Parameters: - members_dic_list (list of dic) – list of dictionaries related to the BS subsequences that belong to a motif
- bs_len (list of int) – list of the lengths of each BS sequence
Returns: list of split BS lengths
Return type: list of list of int