Hi,
When I ran HiC-pro, I found the result of allValidPairs is 0 kb. The log file shows that in mapping_combine.log, an error: [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0002.bam" : File exists.
/gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools merge -@ 24 -n -f bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam bowtie_results/bwt2_global/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.bam bowtie_results/bwt2_local/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.unmap_bwt2loc.bam
/gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools merge -@ 24 -n -f bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam bowtie_results/bwt2_global/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.bam bowtie_results/bwt2_local/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.unmap_bwt2loc.bam
/gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools sort -@ 24 -m 41M -n -T tmp/64cell-1_R1_Csav.ref -o bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.sorted.bam bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam
/gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools sort -@ 24 -m 41M -n -T tmp/64cell-1_R1_Csav.ref -o bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.sorted.bam bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0002.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0015.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0013.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0003.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0008.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0018.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0010.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0000.bam" : File exists
samtools sort: failed to create temporary file "tmp/64cell-1_R1_Csav.ref.0000.bam": File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0006.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0001.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0005.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0011.bam" : File exists
[E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0023.bam" : File exists
And I also get an error in mergeSAM.log:
[E::idx_find_and_load] Could not retrieve index file for 'bowtie_results/bwt2/64cell-1/64cell-1_R2_Csav.ref.bwt2merged.bam'
Hi, When I ran HiC-pro, I found the result of allValidPairs is 0 kb. The log file shows that in mapping_combine.log, an error: [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0002.bam" : File exists.
/gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools merge -@ 24 -n -f bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam bowtie_results/bwt2_global/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.bam bowtie_results/bwt2_local/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.unmap_bwt2loc.bam /gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools merge -@ 24 -n -f bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam bowtie_results/bwt2_global/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.bam bowtie_results/bwt2_local/64cell-1/64cell-1_R1_Csav.ref.bwt2glob.unmap_bwt2loc.bam /gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools sort -@ 24 -m 41M -n -T tmp/64cell-1_R1_Csav.ref -o bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.sorted.bam bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam /gpfsssdpool/softwares/anaconda3/envs/hicpro/bin/samtools sort -@ 24 -m 41M -n -T tmp/64cell-1_R1_Csav.ref -o bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.sorted.bam bowtie_results/bwt2/64cell-1/64cell-1_R1_Csav.ref.bwt2merged.bam [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0002.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0015.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0013.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0003.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0008.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0018.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0010.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0000.bam" : File exists samtools sort: failed to create temporary file "tmp/64cell-1_R1_Csav.ref.0000.bam": File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0006.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0001.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0005.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0011.bam" : File exists [E::hts_open_format] Failed to open file "tmp/64cell-1_R1_Csav.ref.0023.bam" : File exists