Nicolas,
I'm having some trouble with the organization of directories to run -s build_contact_maps on multiple replicates. I have conducted the full HiC-Pro pipeline on each replicate individually and would like to build a merged interaction matrix. Below is my current directory structure:
HiChIP
+Rep1
++data
+++raw
++++_r1.fastq
++++_r2.fastq
++hic_pro_results
+++bowtie_results
+++hic_results
+Rep2 (same as Rep1)
+Rep3 (same as Rep1)
+Rep4 (same as Rep1)
+reproducibility
++data
+++Rep1.bwt2pairs.ValidPairs (copied from hic_results)
+++Rep2.bwt2pairs.ValidPairs (copied from hic_results)
+++Rep3.bwt2pairs.ValidPairs (copied from hic_results)
+++Rep4.bwt2pairs.ValidPairs (copied from hic_results)
I run the following command:
HiC-Pro -c /media/bryan/2Tb_Workspace/AP/HiChIP/config_mm10-AP-BWT_v3.txt -i /media/bryan/2Tb_Workspace/AP/HiChIP/reproducibility -o /media/bryan/2Tb_Workspace/AP/HiChIP/reproducibility/output -s merge_persample -s build_contact_maps
and get the following error:
find: File system loop detected; ‘rawdata/output/rawdata’ is part of the same file system loop as ‘rawdata’.
/home/bryan/HiC-Pro-2.10.0/bin/../scripts//Makefile:150: recipe for target 'merge_valid_interactions' failed
make: *** [merge_valid_interactions] Error 1
I also tried HiC-Pro -c
/media/bryan/2Tb_Workspace/AP/HiChIP/config_mm10-AP-BWT_v3.txt -i
/media/bryan/2Tb_Workspace/AP/HiChIP/reproducibility -o
/media/bryan/2Tb_Workspace/AP/HiChIP/reproducibility/output -s build_contact_maps
and got the following error: Exit: Error: Directory Hierarchy of rawdata '/media/bryan/2Tb_Workspace/AP/HiChIP/reproducibility' is not correct. No '_allValidPairs' files detected
Any help would be appreciated!
-Andrea