GithubHelp home page GithubHelp logo

Comments (5)

XiaoTaoWang avatar XiaoTaoWang commented on September 18, 2024

Hi, you may refer to this page as a reference https://xiaotaowang.github.io/TADLib/visualize.html

from hiclift.

songxh1996 avatar songxh1996 commented on September 18, 2024

Thank you very much for your help. When I finished running the test data according to your guidance, it was successful. But when I used my own data, it failed. I can't figure out why.

my cool file
##########.hic2.cool
hicConvertFormat -m LD_nomt.allValidPairs.hic --inputFormat hic --outputFormat cool -o KR_matrix.cool -r 10000 --correction_name KR
###########hic-pro result covert cool
cooler load -f coo LD_nomt_10000_abs.bed LD_nomt_10000_iced.matrix 10000.cool --count-as-float

vis = Triangle('GM12878-MboI.hg19.cool::10000', '21', 45000000, 46500000)
vis = Triangle('10000.cool::10000', 'NC_059157.1', 4500000, 4650000)
Traceback (most recent call last):
File "", line 1, in
File "/home/songxianhan/miniconda3/envs/test/lib/python3.7/site-packages/tadlib/visualize/heatmaps.py", line 18, in init
self.clr = cooler.Cooler(uri)
File "/home/songxianhan/miniconda3/envs/test/lib/python3.7/site-packages/cooler/api.py", line 85, in init
self._refresh()
File "/home/songxianhan/miniconda3/envs/test/lib/python3.7/site-packages/cooler/api.py", line 106, in _refresh
raise KeyError(err_msg) from None
KeyError: "No cooler found at: 10000.cool. Coolers found in ['/']. Use '::' to specify a group path"

from hiclift.

XiaoTaoWang avatar XiaoTaoWang commented on September 18, 2024

Can you try the following command instead:

vis = Triangle('10000.cool', 'NC_059157.1', 4500000, 4650000)

from hiclift.

songxh1996 avatar songxh1996 commented on September 18, 2024

When I use this code, the error persists.

vis = Triangle('40000.cool', 'NC_059157.1', 4500000, 4650000)
Traceback (most recent call last):
File "", line 1, in
File "/home/songxianhan/miniconda3/envs/tset/lib/python3.7/site-packages/tadlib/visualize/heatmaps.py", line 18, in init
self.clr = cooler.Cooler(uri)
File "/home/songxianhan/miniconda3/envs/tset/lib/python3.7/site-packages/cooler/api.py", line 85, in init
self._refresh()
File "/home/songxianhan/miniconda3/envs/tset/lib/python3.7/site-packages/cooler/api.py", line 106, in _refresh
raise KeyError(err_msg) from None
KeyError: "No cooler found at: 40000.cool. Coolers found in ['/40000']. Use '::' to specify a group path"

from hiclift.

XiaoTaoWang avatar XiaoTaoWang commented on September 18, 2024

Can you show the result after you execute the following command?

$ cooler ls 40000.cool

from hiclift.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.