FelixKrueger / Bismark

A tool to map bisulfite converted sequence reads and determine cytosine methylation states
http://felixkrueger.github.io/Bismark/
GNU General Public License v3.0
386 stars 101 forks source link

Failed to close filehandle Input/output error #456

Closed DLGisch closed 3 years ago

DLGisch commented 3 years ago

Hello, I have this error with --parallel and without too.

Writing bisulfite mapping results to S15_R1_001.fastq.gz.temp.1_bismark_bt2_pe.bam <<<

Reading in the sequence files /N/slate/dg/ILMN_678/S15_R1_001.fastq.gz.temp.1 and /N/slate/dg/ILMN_678/S15_R2_001.fastq.gz.temp.1

Created C -> T as well as G -> A converted versions of the FastQ file S15_R2_001.fastq.gz.temp.3 (83911887 sequences in total)

Failed to close filehandle Input/output error

Created C -> T as well as G -> A converted versions of the FastQ file S15_R2_001.fastq.gz.temp.4 (83911887 sequences in total)

Failed to close filehandle Input/output error

Command without --parallel 4

Bismark-0.23.1/bismark --genome genomes_homo_sapiens_GRCh38 -q --non_directional -o ILMN_678 --temp_dir ILMN_678 --nucleotide_coverage \ -1 /N/project/hongao_transfer/ILMN_678/S15_R1_001.fastq.gz -2 /N/project/hongao_transfer/ILMN_678/S15_R2_001.fastq.gz

When I receive this error WITHOUT --parallel 4 command I just resubmitted the then the program run, but very slow run 60h and Processed 190000000 sequence pairs so far.

When I received this error WITH --parallel 4 I try to run again, but received the same error again.

Can you help me understand this error?

Thank you, Debora

FelixKrueger commented 3 years ago

Hi Debora,

This is somewhat odd. This die statement should come directly after the sequences were C>T transformed, and closing the filehandles is required to ensure that the transcribed files are not truncated.

A couple of things I have noticed:

FelixKrueger commented 3 years ago

Haven't heard back, so assuming all is well?

DLGisch commented 3 years ago

Sorry for the delay in answering. The cluster was having problems, but I tested it and now it works.

FelixKrueger commented 3 years ago

Excellent, I'm glad it's now all working well.