Handle NA insert sizes in extract_fragment_size rule#195
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A hotfix for an issue that arises when absolutely nothing comes out of a barcode, and trying to convert
NAvalue to integer inextract_fragment_sizerule.Somehow in previous #191 Picard was still getting an insert size out of very few reads so this edge case was not being properly tested. In some cases it might be useful to still try to produce the bigWig files, so configuration
fragment_sizeis used when aNAis found.Related to this, I added priority for all the rules that calculate values for reports and the MultiQC reports. The rationale behind this is that it is OK if the pipeline fails because some sample had no reads, and hence it is not possible to produce the bigWig file, but in order to troubleshoot or understand what happens, MultiQC results are valuable, so we want the MultiQC report to be a preferred rule when possible, to save the user a
minute run --keep-goingin as many cases as possible.