Skip to content

Handle NA insert sizes in extract_fragment_size rule#195

Merged
cnluzon merged 3 commits intomainfrom
hotfix-na-handle
Nov 19, 2024
Merged

Handle NA insert sizes in extract_fragment_size rule#195
cnluzon merged 3 commits intomainfrom
hotfix-na-handle

Conversation

@cnluzon
Copy link
Copy Markdown
Collaborator

@cnluzon cnluzon commented Nov 19, 2024

A hotfix for an issue that arises when absolutely nothing comes out of a barcode, and trying to convert NA value to integer in extract_fragment_size rule.
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_size is used when a NA is 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-going in as many cases as possible.

@cnluzon cnluzon merged commit a83a8a5 into main Nov 19, 2024
@cnluzon cnluzon deleted the hotfix-na-handle branch November 19, 2024 11:24
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.

1 participant