I tested to run single chromosome structure script.
fig1.py:
import data_tools
import plotting
structure = data_tools.structure_from_file("outhic_1_500kb_structure.tsv")
plotting.plot_structure_interactive(structure, color=(0,0.5,0.7), radius=0.01)
(miniMDS) [xh@mu01 bed]$ python3 fig1.py
Traceback (most recent call last):
File "/pub3/Liu-group/songxh/hi_c/ld/minimds/bed/fig1.py", line 3, in
structure = data_tools.structure_from_file("outhic_1_500kb_structure.tsv")
AttributeError: module 'data_tools' has no attribute 'structure_from_file'
if you have some ideas, please.