Skip to content

bam2 juicer produces format not recognized by juicer #5

@eoziolor

Description

@eoziolor

Hello,

I created a contact file with bam2 juicer on unfiltered .bam reads aligned by recommendations from this link:
https://phasegenomics.github.io/2019/09/19/hic-alignment-and-qc.html

However, when I try to run juicer on this file to create a .hic file I get the following output:

java -jar ~/program/juicer_tools.1.8.9_jcuda.0.8.jar pre ph_super_format ph_super.hic ~/phgenome/data/juicer_hic/references/chrom_sizes.txt
Not including fragment map
Start preprocess
Writing header
Writing body
java.io.IOException: Unexpected column count. Check file format
at juicebox.tools.utils.original.AsciiPairIterator.advance(AsciiPairIterator.java:150)
at juicebox.tools.utils.original.AsciiPairIterator.(AsciiPairIterator.java:74)
at juicebox.tools.utils.original.Preprocessor.computeWholeGenomeMatrix(Preprocessor.java:499)
at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:383)
at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:293)
at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:105)
at juicebox.tools.HiCTools.main(HiCTools.java:96)
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:1479)
at juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.access$000(Preprocessor.java:1250)
at juicebox.tools.utils.original.Preprocessor.writeMatrix(Preprocessor.java:663)
at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:385)
at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:293)
at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:105)
at juicebox.tools.HiCTools.main(HiCTools.java:96)

Would you mind helping me figure out what is going wrong?

Thank you!

-Elias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions