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 fastq_strand.py to handle no mapped reads from STAR #81

Merged
merged 4 commits into from Sep 21, 2018

Conversation

pjbriggs
Copy link
Member

PR updating the fastq_strand.py utility to handle the case when STAR completes successfully but no reads from the input Fastqs are mapped. In this case the total count of mapped reads is zero and this results in a ZeroDivision exception from fastq_strand.py.

With this update, the program will instead report the forward and reverse psuedo-percentages as both being zero and complete without an error.

@pjbriggs pjbriggs merged commit 6a661f0 into devel Sep 21, 2018
@pjbriggs pjbriggs deleted the fastq_strand-fix-zero-division-error branch September 21, 2018 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant