java.lang.NumberFormatException: For input string: "X"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at juicebox.tools.utils.original.AsciiPairIterator.advance(AsciiPairIterator.java:140)
at juicebox.tools.utils.original.AsciiPairIterator.next(AsciiPairIterator.java:194)
at juicebox.tools.utils.original.Preprocessor.computeWholeGenomeMatrix(Preprocessor.java:493)
at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:371)
at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:283)
at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:108)
at juicebox.tools.HiCTools.main(HiCTools.java:86)
Could not read hic file: null
1 0 2 0 1 0 2 1
1 0 10 0 1 0 10 1
1 0 3 0 1 0 3 1
1 0 10 0 1 0 10 1
1 0 5 0 1 0 17 1
1 0 5 0 1 0 5 1
1 0 4 0 1 0 4 1
1 0 X 0 1 0 X 1
Hello,
Did you try and look at your hic file in Juicebox? If you’re using the 8 field format, it should be
str1 chr1 pos1 frag1 str2 chr2 pos2 frag2
See https://github.com/theaidenlab/juicer/wiki/Pre#short-format
I’m actually very surprised that this didn’t cause an error for Pre.
Best
Neva
--
You received this message because you are subscribed to the Google Groups "3D Genomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/7017a39f-3163-40a7-bf00-7c465f65b6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
J00118:127:H5H7FBBXX:5:1211:11282:31312 1 13065 - 7 39768357 + 457
J00118:127:H5H7FBBXX:5:2218:18944:16207 1 13075 - 3 196831554 + 370
J00118:127:H5H7FBBXX:5:1106:16691:11319 1 13472 + 9 115509326 + 180
J00118:127:H5H7FBBXX:5:1209:11891:3354 1 13478 + 4 220011 - 220
J00118:127:H5H7FBBXX:5:2207:14620:6255 1 13485 - 12 574609 - 167
J00118:127:H5H7FBBXX:6:1207:21968:15645 1 13485 + 15 55848167 - 222
I then tried to use the hicpro2juicebox script from HiCPro, like so: sh ~/Programs/HiC-Pro-install/HiC-Pro_2.8.1_devel/bin/utils/hicpro2juicebox.sh -i avp_mod -g /data/leslie/krc3004/hichip/hg19.sizes -j ~/Programs/juicer_tools_linux_0.8.jar -r /home/krc3004/enz_mod.bed, where enz_mod.bed looks like this:
1 0 11159 HIC_1_1 0 +
1 11159 12410 HIC_1_2 0 +
1 12410 12460 HIC_1_3 0 +
1 12460 12685 HIC_1_4 0 +
Generating Juicebox input files ...
Running Juicebox ...
Start preprocess
Writing header
Writing body
java.io.IOException: Unexpected column count. Only 11 or 16 columns supported. Check file format
at juicebox.tools.utils.original.AsciiPairIterator.advance(AsciiPairIterator.java:108)
at juicebox.tools.utils.original.AsciiPairIterator.<init>(AsciiPairIterator.java:70)
at juicebox.tools.utils.original.Preprocessor.computeWholeGenomeMatrix(Preprocessor.java:487)
at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:371)
at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:283)
at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:108)
at juicebox.tools.HiCTools.main(HiCTools.java:86)
java.lang.RuntimeException: No reads in Hi-C contact matrices. This could be because the MAPQ filter is set too high (-q) or because all reads map to the same fragment.
at juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.mergeAndWriteBlocks(Preprocessor.java:1466)
at juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.access$000(Preprocessor.java:1237)
at juicebox.tools.utils.original.Preprocessor.writeMatrix(Preprocessor.java:651)
at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:373)
at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:283)
at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:108)
at juicebox.tools.HiCTools.main(HiCTools.java:86)
done
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/7017a39f-3163-40a7-bf00-7c465f65b6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/676cc369-bab5-4f11-8cdd-43d4f561e537%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/CAF1CciWA9-hn3XueF%3Dj1EXVq0ADCXb_JGFQYyyiERFHEws%3DdWg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/676cc369-bab5-4f11-8cdd-43d4f561e537%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "3D Genomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/916d32a4-0fd7-4f60-9121-2ae41fabac8c%40googlegroups.com.