nvictus on v0.9.1
nvictus on master
Patch version bump (compare)
nvictus on master
Keep private export for cooltoo… (compare)
nvictus on master
Replace another cached badge (compare)
nvictus on master
Update readme (compare)
nvictus on master
Update license metadata to text… Change pypi badge to prevent ca… (compare)
nvictus on v0.9.0
nvictus on master
Fix pypi workflow (compare)
nvictus on v0.9.0
nvictus on v0.9.0
nvictus on master
Fix eol (compare)
nvictus on master
Prepare for release (compare)
nvictus on master
Update cli docs (compare)
nvictus on master
Synchronize balance api arg def… [pre-commit.ci] auto fixes from… Expand help for --ignore-dist and 1 more (compare)
chr6_ssto_hap7
wasn't available in your contact data, but was in your chromsizes file. If that's true, this is a bug. The workaround for now would be to limit your chromsizes file (and the bins file generated from it) to only those contigs that were mapped to in your data.
head
closing the pipe, and cooler should be suppressing the error, but I think it's not getting caught in Python 2. Let me try patching it.
cooler dump --annotate weight
Nezar, I tried do cooler balance and then cooler dump, then I thought weights should be there in my cool file, but I still get this error through python API
matb = c.matrix(balance=True).fetch('chr5:10,000,000-15,000,000')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "cooler/core.py", line 360, in fetch
File "cooler/api.py", line 311, in _slice
File "cooler/api.py", line 560, in matrix
ValueError: No column 'bins/weight' found. Use cooler.ice
to calculate balancing weights.
Is there any step I am missing?
Also another thing, I tried is cooler show, which again gave me error :(
cooler show --out test.png --dpi 200 HB_Cool.cool chr3:0-80,000,000
Traceback (most recent call last):
File "/usr/bin/cooler", line 9, in <module>
load_entry_point('cooler==0.5.2', 'console_scripts', 'cooler')()
File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(args, kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(args, kwargs)
File "/home/ankita/4DN/cooler/cooler/cooler/cli/show.py", line 135, in show
'log10' : 'log 10 ( relative contact frequency '}[scale]))
File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 1976, in colorbar
ret = gcf().colorbar(mappable, cax = cax, ax=ax, kw)
File "/usr/lib64/python2.7/site-packages/matplotlib/figure.py", line 1387, in colorbar
cb = cbar.colorbar_factory(cax, mappable, kw)
File "/usr/lib64/python2.7/site-packages/matplotlib/colorbar.py", line 1173, in colorbar_factory
cb = Colorbar(cax, mappable, kwargs)
File "/usr/lib64/python2.7/site-packages/matplotlib/colorbar.py", line 854, in init
ColorbarBase.init(self, ax, **kw)
TypeError: init() got an unexpected keyword argument 'label'
h5py
. f = h5py.File('myfile.cool', 'r')
'weight' in f['bins']
cooler show
. I suspect it's related to the matplotlib
version. Could you print the results of pip list
?
So, I am not sure if it is correct to ask but we do these steps
$ cooler makebins $CHROMSIZES_FILE 10000 > bins.10kb.bed
$ cooler cload bins.10kb.bed $CONTACTS_FILE out.cool
As I understood I am getting a cool file which is 10 kb binned. What if I don't want it to be binned and create a cool file ? Does that make sense?