Skip to content

balanced contact value missing in output of cooler dump #476

@liu-zhiyang

Description

@liu-zhiyang

Hi,
I tried to use cooler dump --join -b -H mycool.mcool::resolutions/10000 to output balanced contacts, however, the balanced column was empty, here is the first 10 lines of the output:

chrom1 start1 end1 chrom2 start2 end2 count balanced
chr1 10000 15000 chr1 201630000 201635000 1
chr1 10000 15000 chr10 17605000 17610000 1
chr1 10000 15000 chr13 71220000 71225000 1
chr1 30000 35000 chr1 68180000 68185000 1
chr1 30000 35000 chr4 99520000 99525000 1
chr1 30000 35000 chr7 71555000 71560000 1
chr1 30000 35000 chr8 119750000 119755000 1
chr1 30000 35000 chr9 36735000 36740000 1
chr1 30000 35000 chr13 73605000 73610000 1

and this is attrs of my cool file:

'@attrs':
bin-size: 10000
bin-type: fixed
creation-date: 2025-07-25 20:37:22.986581
format: HDF5::Cooler
format-url: https://github.com/open2c/cooler
format-version: 3
generated-by: cooler-0.9.3
genome-assembly: unknown
metadata: {}
nbins: 310114
nchroms: 195
nnz: 230175878
storage-mode: symmetric-upper
sum: 658912601
bins:
'@attrs': {}
chrom:
'@attrs': {}
end:
'@attrs': {}
start:
'@attrs': {}
weight:
'@attrs':
cis_only: false
converged: true
divisive_weights: false
ignore_diags: 2
mad_max: 5
min_count: 0
min_nnz: 10
scale: 4220.152734945097
tol: 1.0e-05
var: 8.085986609393021e-06
chroms:
'@attrs': {}
length:
'@attrs': {}
name:
'@attrs': {}
indexes:
'@attrs': {}
bin1_offset:
'@attrs': {}
chrom_offset:
'@attrs': {}
pixels:
'@attrs': {}
bin1_id:
'@attrs': {}
bin2_id:
'@attrs': {}
count:
'@attrs': {}

I wonder how to solve this problem, thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions