Releases: open2c/cooler
Releases · open2c/cooler
v0.8.0
New features
- Support for non-symmetric matrices, e.g. RNA-DNA maps.
- Create function accepts a boolean
symmetric_upperoption to set the storage mode. Default isTrue. - Creation commands also use
symmetric_upperby default, which can be overridden with a flag.
New schema version: 3
- Adds required
storage-modemetadata 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()optionreplacenow 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.createandcooler.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 makebinsandcooler digest. - Generic data and attribute hierarchy viewers
cooler treeandcooler attrs. - Generic
cp,mvandlnconvenience 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-floatregression in load/cload.
v0.7.10
v0.7.9
v0.7.8
- New
cooler cload pairscommand provides index-free loading of pairs. - Changed name of
create_from_unsortedto more correctcreate_from_unordered.
Bug fixes
v0.7.7
New features
- Implementation of unsorted (index-free) loading
cooler.io.create_from_unsortedtakes an iterable of pixel dataframe chunks that need not be properly sorted.- Use input sanitization procedures for pairs
sanitize_recordsand binned datasanitize_pixelsto feed data tocreate_from_unsorted. #87 #108 #109 - The
cooler loadcommand is now index-free: unsortedCOOandBG2input data can be streamed in. #90. This will soon be implemented as an option for loading pairs as well.
- Prevent
cooler balancecommand from exiting with non-zero status upon failed convergence using convergence error policies. #93 - Improve the
createAPI to support pandas read_csv-stylecolumnsanddtypekwargs to add extra value columns or override default dtypes. #108 - Experimental implementation of trans-only balancing. #56
Bug fixes
- Fix argmax deprecation. #99
v0.7.6
New features
- Cooler zoomify with explicit resolutions
- Towards standardization of multicooler structure
- Support for loading 1-based COO triplet input files
Bug fixes
- Fixed issue of exceeding header limit with too many scaffolds. If header size is exceeded, chrom IDs are stored as raw integers instead of HDF5 enums. There should be no effect at the API level.
- Fixed issue of single-column chromosomes files not working in
cload. - Fixed edge case in performing joins when using both
as_pixelsandjoinoptions in the matrix selector.
Happy Halloween!