Closed jennifm closed 6 years ago
Hi there,
could you give us a little bit more information? Specifically:
Hopefully that will help us narrow down your issue. Thanks!
Hello,
Happy to provide some more information! Thank you so much for your help.
The data I'm using was extracted from a .hic file using the juicer tools dump command (https://github.com/theaidenlab/juicer/wiki/Data-Extraction) and is in a dense matrix format.
The regions file is of the entire chromosome, binned in 5kb chunks. The first ten lines are: chr1 0 5000 chr1 5000 10000 chr1 10000 15000 chr1 15000 20000 chr1 20000 25000 chr1 25000 30000 chr1 30000 35000 chr1 35000 40000 chr1 40000 45000 chr1 45000 50000
and the last ten lines are: chr1 59325000 59330000 chr1 59330000 59335000 chr1 59335000 59340000 chr1 59340000 59345000 chr1 59345000 59350000 chr1 59350000 59355000 chr1 59355000 59360000 chr1 59360000 59365000 chr1 59365000 59370000 chr1 59370000 59373566
and the last ten lines are: 249190000 249235000 9.788078 249195000 249235000 21.313084 249200000 249235000 24.077797 249205000 249235000 27.383415 249210000 249235000 31.512163 249215000 249235000 34.50513 249220000 249235000 24.16354 249225000 249235000 27.140318 249230000 249235000 146.62665 249235000 249235000 2454.9463
I get a similar error for other chromosomes as well.
Thanks in advance for your help!
Hi again,
thank you for providing this information. It looks like your input matrix is not in a format TADtool understands. Specifically, if you have a look at the documentation, a sparse matrix has to have this format: a tab delimited file where each line has three columns: <row index> <column index> <value>
. It seems like your matrix does not use the matrix index in the first two columns, but the actual region location.
10000 10000 1347.0302
10000 15000 2621.1165
15000 15000 2988.0515
...
should become
2 2 1347.0302
2 3 2621.1165
3 3 2988.0515
...
Please let us know if that fixes the problem!
Closing due to inactivity. We assume our suggestion fixed the issue.
Hello,
I just installed TADtool and ran into an issue when trying to plot my data. The following is the message I get:
I found some other issues that were fixed by updating TADtool, but given I just downloaded it I doubt this is an issue.
Thanks in advance for your help!