Skip to content

Add sanity check for FASTQs with UMI in header #281

@pansapiens

Description

@pansapiens

For the nf-core/rnaseq wrapper, when the Advanced "UMI" option is selected (to pass --with-umis), we should do a sanity check on the user provided FASTQs to ensure they actually have UMIs in the header and fail fast if they don't.

Otherwise, the pipeline runs until it fails on umitools with an error about unequal UMI lengths, eg "AssertionError: not all umis are the same length(!): 4 - 5".

We could go further, and make a "Use UMIs" dropdown option "auto" by default - checking if UMIs are present and throwing the --with-umis option, unless "Use UMIs" is "no".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions