Giter VIP home page Giter VIP logo

hic-emt's Introduction

Muhammad S Shamim LinkedIn

GitHub Stats Card

GitHub Stats Card

hic-emt's People

Contributors

sa501428 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hic-emt's Issues

`-c` param related-error: java.lang.NullPointerException

Hi hic-emt dev team,

Thanks for the nice tools!
I've got an error when I want to extract chromosome 1-22 (straw.getChromosomes() shows it has: All,1-22,X,Y,MT) using the following code:

java -Xmx15g -jar hic_emt.jar excise -r 5000 -c 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 --cleanup GM12878_combined.hic GM_22chr_emt

Output was like:

Reading file: GM12878_combined.hic
HiC file version: 7
Exception in thread "main" java.lang.NullPointerException
        at javastraw.reader.basics.ChromosomeHandler.inferGenomeId(ChromosomeHandler.java:287)
        at javastraw.reader.basics.ChromosomeHandler.<init>(ChromosomeHandler.java:53)
        at javastraw.reader.basics.ChromosomeHandler.<init>(ChromosomeHandler.java:47)
        at javastraw.tools.HiCFileTools.stringToChromosomes(HiCFileTools.java:191)
        at emt.clt.tools.Excise.run(Excise.java:58)
        at emt.Tools.main(Tools.java:75)

Seems like it can't detect -c input? Cause when I run without -c, it works perfectly.

Another question, how can I know the number of Hi-C contacts from a .hic file? Sry it's not hic-emt related, it would be of great help if you can drop me some hints.

Thanks
Yiling

Exception in thread "main" java.lang.NoSuchFieldError: useIteratorDontPutAllInRAM at

Hello,

Thanks for this great tool.

I keep getting an error that I'm not sure how to address:

java -Xmx20g -jar /home/braulio/lab/analisis/hic/Hi-C_EMT/hic_emt.jar excise --subsample 1312476019 /media/braulio/Braulio/hic/juicer/GFP/GFP/mega/inter_30.hic subsample_folder inter_30_1.3.hic WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. Aiming to retain ~1312476019/2414513412 Ratio: 0.5435778540210486 .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ...WARN [2023-07-15T20:21:39,752] [Globals.java:138] [main] Development mode is enabled Using 1 CPU thread(s) for primary task Using 1 CPU thread(s) for secondary task Exception in thread "main" java.lang.NoSuchFieldError: useIteratorDontPutAllInRAM at hic.HiCGlobals.setMatrixZoomDataRAMUsage(HiCGlobals.java:75) at hic.tools.clt.old.PreProcessing.readArguments(PreProcessing.java:154) at hic.tools.HiCTools.main(HiCTools.java:82) at emt.main.FileBuildingMethod.buildNewHiCFile(FileBuildingMethod.java:52) at emt.main.FileBuildingMethod.tryToBuild(FileBuildingMethod.java:58) at emt.clt.tools.Excise.run(Excise.java:71) at emt.Tools.main(Tools.java:75)
The files that I am using are V9 and they do have SCALE. Do you know what could cause this?
I tried the cluster using module load java/1.8.0_121 with the same result

Thank you!
Braulio

No reads in Hi-C contact matrices

Hi,

Thank you for the development of this tool.

I'm getting an error when trying to use the excise function to subsample a .hic file. My code and the error message looks like this:

(base) $ java -Xmx5g -jar hic_emt.jar excise -r 5000 --subsample 500 inter.hic test
Reading file: inter.hic
HiC file version: 8
Aiming to retain ~500/259758692
Ratio: 1.9248634036084537E-6
..........
..........
..........
..........
..........
.....WARN [2023-08-02T16:41:36,521]  [Globals.java:138] [main]  Development mode is enabled
Using 1 CPU thread(s) for primary task
Using 1 CPU thread(s) for secondary task
Not including fragment map
Start preprocess
Writing header
Writing body
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 hic.tools.utils.original.MatrixZoomDataPP.mergeAndWriteBlocks(MatrixZoomDataPP.java:337)
        at hic.tools.utils.original.Preprocessor.writeMatrix(Preprocessor.java:839)
        at hic.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:583)
        at hic.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:370)
        at hic.tools.clt.old.PreProcessing.run(PreProcessing.java:165)
        at hic.tools.HiCTools.main(HiCTools.java:83)
        at emt.main.FileBuildingMethod.buildNewHiCFile(FileBuildingMethod.java:51)
        at emt.main.FileBuildingMethod.tryToBuild(FileBuildingMethod.java:57)
        at emt.clt.tools.Excise.run(Excise.java:69)
        at emt.Tools.main(Tools.java:75)

However, the input .hic file looks fine in Juicebox. Do you know what is causing this error?

Thanks,
Josephine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.