Hi again,
I did some test and it work well.
First I generated the .hic file using the HiC-Pro output :
>>~/Apps/HiC-Pro_2.7.9/bin/utils/hicpro2juicebox.sh -i test_results/hic_results/data/dixon_2M/dixon_2M_allValidPairs
-g ~/Apps/HiC-Pro_2.7.9/annotation/chrom_hg19.sizes -j
/bioinfo/local/build/juicebox/juicebox_clt_1.4.jar -r
~/Apps/HiC-Pro_2.7.9/annotation/HindIII_resfrag_hg19.bed
I also shared this file here :
http://zerkalo.curie.fr/partage/HiC-Pro/Then I run Juicebox tools.
>>java -jar /bioinfo/local/build/juicebox/juicebox_clt_1.4.jar
dump observed NONE ./dixon_2M_allValidPairs.hic chr1 chr1 BP 1000000
test.txt
HiC file version: 8
It works well ...
>>head test.txt
0 0 1.0
1000000 1000000 4.0
1000000 2000000 3.0
2000000 2000000 1.0
2000000 3000000 2.0
3000000 3000000 5.0
2000000 4000000 1.0
4000000 4000000 6.0
2000000 5000000 1.0
3000000 5000000 1.0
>>java -jar /bioinfo/local/build/juicebox/juicebox_clt_1.4.jar
arrowhead -c chr1 -m 2000 -r 40000 -k NONE ./dixon_2M_allValidPairs.hic
domains.txt
Reading file: ./dixon_2M_allValidPairs.hic
HiC file version: 8
HiC contact map is too sparse to run Arrowhead, exiting.
Well, here it failed but this is just because my test data are too small. Otherwise it should work.
So here are my points :
* Juicebox and the command line tools can be independantly installed. I would suggest to reinstall the ctl part.
* You should also try the exemple in their website. They should work !
http://aidenlab.org/commandlinetools/docs.html* Which version of the hicpro2juicebox.sh are you using ? It would be nice to regenerate the hic file with the last version.
* In the same way, which version of HiC-Pro are you using ? could you check wether you have all the require field in the allValipPairs file ? ie.
>>head test_results/hic_results/data/dixon_2M/dixon_2M_allValidPairs
SRR400264.167192 chr1 802423 + chr1 807061 - 381 HIC_chr1_209 HIC_chr1_211 37 37
SRR400264.42007 chr1 802814 - chr7 25699822 + 306 HIC_chr1_210 HIC_chr7_7361 42 42
SRR400264.148854 chr1 815430 + chr4 134939390 + 320 HIC_chr1_212 HIC_chr4_41057 0 37
SRR400264.148022 chr1 1497612 + chr1 41645460 + 365 HIC_chr1_288 HIC_chr1_9208 42 37
Nicolas