problem in juicer tools run

297 views
Skip to first unread message

Ritz

unread,
Jan 5, 2018, 1:24:16 AM1/5/18
to 3D Genomics
Hello,

I am using Juicer tools for Hi-C analysis and run test data using the following command:

/home/juicer-master/CPU/juicer.sh -d /home/Juicer_test_run -s MboI -p /home/Juicer_test_run/references -y /home/Juicer_test_run/restriction_sites -z /home/Juicer_test_run/references/chr19.fa -D /home/Programs/juicer-master -t 35

After running the programme following error got:

(-: Looking for fastq files...fastq files exist
(-: Aligning files matching /home/Juicer_test_run/fastq/*_R*.fastq*
 to genome hg19 with site file /home/Juicer_test_run/restriction_sites
(-: Created /home/Juicer_test_run/splits and /home/Juicer_test_run/aligned.
Running command bwa mem -t 35 /home/Juicer_test_run/references/chr19.fa /home/Juicer_test_run/splits/chr19_R1.fastq.gz > /home/Juicer_test_run/splits/chr19_R1.fastq.gz.sam
:
:
:
:
[main] Version: 0.7.17-r1188
[main] CMD: bwa mem -t 35 /home/Juicer_test_run/references/chr19.fa /home/Juicer_test_run/splits/chr19_R2.fastq.gz
[main] Real time: 774.304 sec; CPU: 27144.391 sec
(-: Mem align of /home/Juicer_test_run/splits/chr19_R2.fastq.gz.sam done successfully
(-: Sort read 1 aligned file by readname completed.
(-: Sort read 2 aligned file by readname completed.
(-: /home/samir/Juicer_test_run/splits/chr19.fastq.gz.sam created successfully.
(-: Finished sorting all sorted files into a single merge.
Picked up _JAVA_OPTIONS: -Xmx16384m
Picked up _JAVA_OPTIONS: -Xmx16384m
java.io.FileNotFoundException: /home/Juicer_test_run/references (Is a directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at juicebox.data.HiCFileTools.loadChromosomes(HiCFileTools.java:140)
    at juicebox.tools.clt.old.PreProcessing.readArguments(PreProcessing.java:80)
    at juicebox.tools.HiCTools.main(HiCTools.java:97)
Exception in thread "main" java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:78)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
    at juicebox.data.HiCFileTools.loadChromosomes(HiCFileTools.java:154)
    at juicebox.tools.clt.old.PreProcessing.readArguments(PreProcessing.java:80)
    at juicebox.tools.HiCTools.main(HiCTools.java:97)
Picked up _JAVA_OPTIONS: -Xmx16384m
Picked up _JAVA_OPTIONS: -Xmx16384m
java.io.FileNotFoundException: /home/Juicer_test_run/references (Is a directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at juicebox.data.HiCFileTools.loadChromosomes(HiCFileTools.java:140)
    at juicebox.tools.clt.old.PreProcessing.readArguments(PreProcessing.java:80)
    at juicebox.tools.HiCTools.main(HiCTools.java:97)
Exception in thread "main" java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:78)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
    at juicebox.data.HiCFileTools.loadChromosomes(HiCFileTools.java:154)
    at juicebox.tools.clt.old.PreProcessing.readArguments(PreProcessing.java:80)
    at juicebox.tools.HiCTools.main(HiCTools.java:97)
***! Can't find inter.hic in /home/Juicer_test_run/aligned/inter_30.hic
***! Error! Either inter.hic or inter_30.hic were not created
Either inter.hic or inter_30.hic were not created.  Check /home/Juicer_test_run/aligned for results

Please give me suggestion what doing wrong.


Thank you


Neva Durand

unread,
Jan 5, 2018, 6:07:52 AM1/5/18
to Ritz, 3D Genomics
The -p should refer to your chrom.sizes file. You have it pointing to a directory, not to a file. You may have a similar problem with the restriction site file. 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/164697a8-9801-4ad8-a662-db1cc3e5dfeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab

Ritz

unread,
Jan 7, 2018, 11:54:48 PM1/7/18
to 3D Genomics
Thank you for the quick reply. It is working.

Ritz

unread,
Jan 15, 2018, 4:54:56 AM1/15/18
to 3D Genomics
Hello Neva,

After alignment of HiC data, following error got related to HiCCUPs:

GPUs are not installed so HiCCUPs cannot be run

(-: Postprocessing successfully completed, maps too sparse to annotate or GPUs unavailable (-:
(-: Pipeline successfully completed (-:
Run cleanup.sh to remove the splits directory
Check /home/juicer_test_run/aligned for results.

Kindly give me suggestions what doing wrong.



Thank you in advance
Message has been deleted

Ritz

unread,
Jan 15, 2018, 6:36:10 AM1/15/18
to 3D Genomics

Neva Durand

unread,
Jan 15, 2018, 8:13:53 AM1/15/18
to Ritz, 3D Genomics
You don’t have GPUs installed so HiCCUPS will not run. Otherwise the pipeline worked and you can look at statistics and visualize the hic file with Juicebox. 


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages