Hi Dev,
I would like to contact you following several errors that occur at the end of the pipeline and that I can not correct despite research on the internet or on the group.
I'm doing a HiC analysis in order to reproduce results obtained via your pipeline by another research team and so far, everything was working perfectly (or at least, I managed to solve the problems) but now I have some errors.
* First, issues :
- No reads in Hi-C contact matrices
- Unknown command: statistics
- GPUs are not installed so HiCCUPs cannot be run
- Either inter.hic or inter_30.hic were not created. Check for results
* What I've done:
- For Statistics problem, I download the latest juicer_tools but idk why it doesn't work.
- I don't have any ideas for the first one and second one error in the previous list of issues.
* To specify, I used JUICER CPU.
I send it as well the output with errors :
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m Exception in thread "main" java.lang.RuntimeException: Unknown command: statistics at juicebox.tools.HiCTools.main(HiCTools.java:98) Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m Exception in thread "main" java.lang.RuntimeException: Unknown command: statistics at juicebox.tools.HiCTools.main(HiCTools.java:98) Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Not including fragment map Error while reading graphs file: java.io.FileNotFoundException: /media/nolan/DATA/Documents/project/HiC/aligned/inter_hists.m (No such file or directory) 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 juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.mergeAndWriteBlocks(Preprocessor.java:1650) at juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.access$000(Preprocessor.java:1419) at juicebox.tools.utils.original.Preprocessor.writeMatrix(Preprocessor.java:832) at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:582) at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:346) at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:116) at juicebox.tools.HiCTools.main(HiCTools.java:96) real 19m17.843s user 17m28.881s sys 0m38.002s Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Calculating norms for zoom BP_2500000 Calculating norms for zoom BP_1000000 Calculating norms for zoom BP_500000 Calculating norms for zoom BP_250000 Calculating norms for zoom BP_100000 Calculating norms for zoom BP_50000 Calculating norms for zoom BP_25000 Calculating norms for zoom BP_10000 Calculating norms for zoom BP_5000 Calculating norms for zoom BP_2000 Calculating norms for zoom BP_1000 Calculating norms for zoom BP_500 Calculating norms for zoom BP_200 Calculating norms for zoom BP_100 Writing expected Writing norms Finished writing norms real 0m0.328s user 0m0.512s sys 0m0.087s Tue Mar 22 15:48:57 CET 2022 Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Not including fragment map Error while reading graphs file: java.io.FileNotFoundException: /media/nolan/DATA/Documents/project/HiC/aligned/inter_30_hists.m (No such file or directory) 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 juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.mergeAndWriteBlocks(Preprocessor.java:1650) at juicebox.tools.utils.original.Preprocessor$MatrixZoomDataPP.access$000(Preprocessor.java:1419) at juicebox.tools.utils.original.Preprocessor.writeMatrix(Preprocessor.java:832) at juicebox.tools.utils.original.Preprocessor.writeBody(Preprocessor.java:582) at juicebox.tools.utils.original.Preprocessor.preprocess(Preprocessor.java:346) at juicebox.tools.clt.old.PreProcessing.run(PreProcessing.java:116) at juicebox.tools.HiCTools.main(HiCTools.java:96) real 18m13.224s user 16m20.493s sys 0m36.571s Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Calculating norms for zoom BP_2500000 Calculating norms for zoom BP_1000000 Calculating norms for zoom BP_500000 Calculating norms for zoom BP_250000 Calculating norms for zoom BP_100000 Calculating norms for zoom BP_50000 Calculating norms for zoom BP_25000 Calculating norms for zoom BP_10000 Calculating norms for zoom BP_5000 Calculating norms for zoom BP_2000 Calculating norms for zoom BP_1000 Calculating norms for zoom BP_500 Calculating norms for zoom BP_200 Calculating norms for zoom BP_100 Writing expected Writing norms Finished writing norms real 0m0.342s user 0m0.532s sys 0m0.068s /media/nolan/DATA/juicer/scripts/common/juicer_tools is post-processing Hi-C for mm10 Data read from /media/nolan/DATA/Documents/project/HiC/aligned/inter_30.hic. Motifs read from /media/nolan/DATA/juicer/references/motif ARROWHEAD: Picked up _JAVA_OPTIONS: -Xmx1024m -Xms512m Reading file: /media/nolan/DATA/Documents/project/HiC/aligned/inter_30.hic Unable to assess map sparsity; continuing with Arrowhead Default settings for 10kb being used max 0.0 0 domains written to file: /media/nolan/DATA/Documents/project/HiC/aligned/inter_30_contact_domains/10000_blocks.bedpe Arrowhead complete HiCCUPS: GPUs are not installed so HiCCUPs cannot be run (-: Postprocessing successfully completed, maps too sparse to annotate or GPUs unavailable (-: ***! Error! Either inter.hic or inter_30.hic were not created Either inter.hic or inter_30.hic were not created. Check for results
I hope I can fix these problems with your help.
Thanks in advance,
Nolan.
./scripts/juicer.sh -z ./references/draft_assembly.fasta -t 32 -p assembly -D ./
About the second error:
.//scripts/common/juicer_postprocessing.sh: option requires an argument -- g
Usage:
.//scripts/common/juicer_postprocessing.sh [-h] -j
<juicer_tools_file_path> -i <hic_file_path> -m
<bed_file_dir> -g <genome ID>
***! Error! Either inter.hic or inter_30.hic were not created
Either inter.hic or inter_30.hic were not created. Check for results
I don't understand why I should use the -g option if I used -z and -p. Moreover, it says "Either inter.hic or inter_30.hic were not created." but I have those two files in the aligned directory. Here the files that I got in the aligned directory:
ls -lh
total 18G
281 Jun 1 15:26 header
9.9K Jun 1 19:23 inter_30.hic
7.7K Jun 1 19:21 inter_30_hists.m
2.0K Jun 1 19:21 inter_30.txt
9.9K Jun 1 19:22 inter.hic
7.7K Jun 1 19:20 inter_hists.m
2.0K Jun 1 19:20 inter.txt
1.7G Jun 1 18:58 merged1.txt
1.6G Jun 1 19:16 merged30.txt
15G Jun 1 19:18 merged_dedup.bam
I will really appreciate any help. Thank you in advance!
Cheers,
Lia
awk -f .../3d-dna/utils/wrap-fasta-sequence.awk .../references/draft_assembly.fasta > ./draft_wrap.fasta
bash .../3d-dna/run-asm-pipeline.sh ./draft_wrap.fasta .../aligned/merged_nodups.txt
I am working with Arabidopsis data, so I expected 5 chromosomes and this is how I visualise the .rawchrom.hic + .rawchrom.assembly in JBAT:


./scripts/juicer.sh -g ./references/draft.fasta -z ./references/draft.fasta -t 32 -p assembly -s none -D ./ -S early
Thank you so much in advance.
Lia


