prism.util module¶
-
class
prism.util.
Region
[source]¶ Bases:
prism.util.Region
-
prism.util.
get_binary_string_representation
(read)[source]¶ Returns a binary representation string of methylation state of a read. Unmethylated state = 0, methylated state = 1.
-
prism.util.
get_common_headers_by_jaccard_similarity
(headers1, headers2, cutoff=0.5)[source]¶ Given two lists of epiloci headers, determine which epiloci are common.
-
prism.util.
pattern_counters_from_met
(fp)[source]¶ Parse MET file and generate header, and counter of patterns.