Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HiC-pro mapping_combine.log: Failed to open file "XXX" : File exists #130

Open
leventLiu opened this issue Jul 9, 2024 · 1 comment
Open

Comments

@leventLiu
Copy link

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

@leventLiu
Copy link
Author

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant