Closed esebesty closed 3 years ago
Can you try building without the restriction fragment file?
Also, the latest 2.x jar has some things that could break when used with other tools. If building without the fragment file doesn't work, you could try using the latest 1.x jar.
Works without the restriction fragment file, thanks!
I'm trying to convert HiC-Pro result matrices to Juicebox format, using the
hicpro2juicebox.sh
script, available here.However, I'm getting a NullPointerException.
Error message
``` HiC-Pro format > 2.7.5 detected ... Generating Juicebox input files ... Running Juicebox ... WARN [2021-07-27T19:02:37,145] [Globals.java:138] [main] Development mode is enabled Using 1 CPU thread(s) Start preprocess Writing header Writing body ...................................................................................................................................................................................................................................................................................................................................... Writing footer nBytesV5: 1893810 masterIndexPosition: 706792378 Finished preprocess Calculating norms for zoom BP_2500000 Calculating norms for zoom BP_1000000 Calculating norms for zoom BP_500000 Calculating norms for zoom BP_250000 Calculating norms for zoom BP_100000 Calculating norms for zoom BP_50000 Calculating norms for zoom BP_25000 Calculating norms for zoom BP_10000 Calculating norms for zoom BP_5000 Calculating norms for zoom BP_1000 Calculating norms for zoom FRAG_500 Calculating norms for zoom FRAG_200 Calculating norms for zoom FRAG_100 Calculating norms for zoom FRAG_50 Calculating norms for zoom FRAG_20java.lang.NullPointerException at juicebox.data.iterator.ListOfListIterator.hasNext(ListOfListIterator.java:45) at juicebox.data.iterator.IteratorContainer.getNumberOfContactRecords(IteratorContainer.java:51) at juicebox.data.iterator.ListOfListIteratorContainer.getIsThereEnoughMemoryForNormCalculation(ListOfListIteratorContainer.java:52) at juicebox.tools.utils.norm.NormalizationCalculations.and I end up with a partial
.hic
file. Opened an issue in the HiC-Pro repo, but this might be a more relevant place.The exact command line I'm using:
Software versions