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

Empty fastq input results in infinite "air_return error" loop #75

Closed
magcurly opened this issue Mar 25, 2021 · 1 comment
Closed

Empty fastq input results in infinite "air_return error" loop #75

magcurly opened this issue Mar 25, 2021 · 1 comment

Comments

@magcurly
Copy link

Dear Developers,

I found that an empty fastq file as input of SOAPdenovo2 will leads to an infinite loop which keeps reporting"Error: aio_return error". Therefore, I found changing line 807 of "prlHashReads.c" by adding "return 0;" would be able to stop the loop.

I am not a C# user, so I don't know whether is correct to do this. If you found it useful, please check the codes.

Yours Sincerely,
Jiahui

cchd0001 added a commit that referenced this issue Apr 19, 2021
@cchd0001
Copy link
Collaborator

Thanks for this important bug report. I have add exit(-1) at line 607 of prlHashReads.c to exit the program when aio_error happened.

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

2 participants