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

Fix off-by-one error in fastq_handler #82

Merged
merged 1 commit into from
Oct 24, 2018
Merged

Fix off-by-one error in fastq_handler #82

merged 1 commit into from
Oct 24, 2018

Conversation

mbhall88
Copy link
Member

This PR fixes a bug where for every read we were effectively iterating through the fastq file once, due to an off-by-one error in the comparison of id and num_reads_parsed. Previously this process was consuming ~99% of CPU time, after these changes, it only consumes ~12%. #74

@mbhall88 mbhall88 requested a review from rmcolq October 24, 2018 10:14
@rmcolq rmcolq merged commit c44459f into iqbal-lab-org:dev Oct 24, 2018
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

Successfully merging this pull request may close these issues.

2 participants