Skip to content

Commit b59b182

Browse files
committed
Implemented coolify method
1 parent 8235f65 commit b59b182

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

polykit/analysis/contact_maps.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,9 @@ def coolify(data,
603603
Simulated contact map (in dense numpy.ndarray format)
604604
cool_uri : str
605605
Name of .cool file to be created (excluding extension)
606+
chrom_dict : dict
607+
Dictionary of chromosome lengths, in the form {'chr1':size1, ...}
608+
If unspecified, assumes the map spans a single chromosome
606609
binsize : int
607610
Map resolution in bp (i.e., genomic size of each simulated monomer)
608611
chunksize : int
@@ -631,3 +634,4 @@ def coolify(data,
631634
clr = cooler.Cooler(cool_uri)
632635

633636
return clr
637+

0 commit comments

Comments
 (0)