Skip to content

Error java.nio.file.NoSuchFileException with mcool #18

@ianakim

Description

@ianakim

Hi, thanks a lot for the wonderful software!
It works really well on small genomes with hic file. However, I was trying to run it with mcool file using the following command:
java -Xmx10g -jar ${dir}/SIP_HiC_v1.6.1.jar cool ${mcool} ${CHROMSIZE_TEST} ${OUTDIR}/SIP_01 ${cooltoolsPath} ${coolerPath} -res 400 -t 2000 -fdr 0.1 -d 10 -mat 5000 -nbZero 6 -del true -cpu $CPU -g 3 -min 2 -max 2

And got the following error but no output files generated (only parameters.txt). Could you please help me to solve this issue?

cooltools, version 0.5.0

cooler, version 0.8.11

cool mode: 
input: path to mcool
output: path to /SIP_01
cooltools: ~/miniconda3/envs/cooltools_env/bin/cooltools
cooler: ~/.local/bin/cooler
norm: KR
gauss: 3.0
min: 2.0
max: 2.0
matrix size: 5000
diag size: 10
resolution: 400
saturated pixel: 0.01
threshold: 2000
number of zero :6
factor 1
fdr 0.1
del true
cpu 8
-isDroso false

start /home/loops/SIP_01/400kb.expected
Start cooltools compute-expected
java.nio.file.NoSuchFileException: /home/loops/SIP_01/400kb.expected
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.Files.newByteChannel(Files.java:361)
	at java.nio.file.Files.newByteChannel(Files.java:407)
	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
	at java.nio.file.Files.newInputStream(Files.java:152)
	at java.nio.file.Files.newBufferedReader(Files.java:2784)
	at utils.CoolerExpected.parseExpectedFile(CoolerExpected.java:90)
	at utils.CoolerExpected.dumpExpected(CoolerExpected.java:79)
	at multiProcesing.ProcessCoolerDumpData.go(ProcessCoolerDumpData.java:61)
	at sipMain.Hic_main.main(Hic_main.java:280)
!!!!!!! End /home/loops/SIP_01/400kb.expected
java.nio.file.NoSuchFileException: /home/loops/SIP_01/400kb.expected
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.Files.newByteChannel(Files.java:361)
	at java.nio.file.Files.newByteChannel(Files.java:407)
	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
	at java.nio.file.Files.newInputStream(Files.java:152)
	at java.nio.file.Files.newBufferedReader(Files.java:2784)
	at utils.CoolerExpected.parseExpectedFile(CoolerExpected.java:90)
	at multiProcesing.RunnableDumpDataCooler.run(RunnableDumpDataCooler.java:71)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
##### End dump chr_1 400kb
Start loop detction step
/home/loops/SIP_01/400kb/chr_1/
###########End loop detction step
Exception in thread "pool-2-thread-1" java.lang.NullPointerException
	at multiProcesing.RunnableDetectLoops.run(RunnableDetectLoops.java:74)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
End of SIP loops are available in /home/loops/SIP_01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions