Releases: open2c/cooler
Releases · open2c/cooler
v0.8.8
v0.8.7
v0.8.6
v0.8.5
v0.8.4
Enhancements
- When creating coolers from unordered input, change the default temporary dir to be the same as the output file instead of the system tmp (pass '-' to use the system one). #150
cooler ls
andlist_coolers()
now output paths in natural order. #153- New option in
cooler.matrix()
to handle divisive balancing weight vectors.
Bug fixes
- Restore function of
--count-as-float
option tocooler load
- Fixed partitioning issue sometimes causing some bins to get split during coarsen
rename_chroms()
will refresh cached chromosome names #147Cooler.bins()
selector will always properly convert bins/chrom integer IDs to categorical chromosome names when the number of contigs is very large and therefore the HDF5 ENUM header is missing. Before this would only happen when explicitly requestingconvert_enum=True
.
v0.8.3
v0.8.2
Bug fixes
- A bug was introduced into the matrix-as-pixels selector in 0.8.0 that also affected
cooler dump
. The behavior has been restored to that in 0.7.
CLI changes
New options for cooler dump
pixel output:
--matrix
option: Applies to symmetric-upper coolers; no-op for square coolers. Generates all lower triangular pixels necessary to fill the requested genomic query window. Without this option,cooler dump
will only return the data explicity stored in the pixel table (i.e. upper triangle).-one-based-ids
and--one-based-starts
convenience options.
v0.8.1
New features
cooler zoomify
command can take additional base resolutions as input.- Restore but deprecate
cooler.io.ls
for backwards compatibility.
Bug fixes
- Fixed regression that slowed down pre-processing during coarsen.
- Fixed missing import error on handling bad URIs.
Later update: fixed invalid .zenodo.json
v0.8.0
New features
- Support for non-symmetric matrices, e.g. RNA-DNA maps.
- Create function accepts a boolean
symmetric_upper
option to set the storage mode. Default isTrue
. - Creation commands also use
symmetric_upper
by default, which can be overridden with a flag.
New schema version: 3
- Adds required
storage-mode
metadata attribute. Two possible values:"symmetric-upper"
indicates a symmetric matrix encoded as upper triangle (previously the only storage mode);"square"
indicates no special encoding (e.g. for non-symmetric matrices).
API changes
-
cooler.annotate()
optionreplace
now defaults toFalse
. -
Submodule renaming. Old names are preserved as aliases but are deprecated.
cooler.io
->cooler.create
.cooler.ice
->cooler.balance
.
-
New top level public functions:
cooler.create_cooler()
. Use instead ofcooler.io.create
andcooler.io.create_from_unordered
.cooler.merge_coolers()
cooler.coarsen_cooler()
cooler.zoomify_cooler()
cooler.balance_cooler()
. Alias:cooler.balance.iterative_correction()
.
-
Refactored file operations available in
cooler.fileops
. See the API reference.
CLI changes
- Various output options added to
cooler info
,cooler dump
,cooler makebins
andcooler digest
. - Generic data and attribute hierarchy viewers
cooler tree
andcooler attrs
. - Generic
cp
,mv
andln
convenience commands. - New verbosity and process info options.
v0.7.11
- Genomic range parser supports humanized units (k/K(b), m/M(b), g/G(b))
- Experimental support for arbitrary aggregation operations in
cooler csort
(e.g. mean, median, max, min) - Documentation updates
Bug fixes
- Fix newline handling for csort when p1 or p2 is last column.
- Fix
--count-as-float
regression in load/cload.