MontgomeryLab / tinyRNA

tinyRNA provides an all-in-one solution for precision analysis of sRNA-seq data. At the core of tinyRNA is a highly flexible counting utility, tiny-count, that allows for hierarchical assignment of reads to features based on positional information, extent of feature overlap, 5’ nucleotide, length, and strandedness.
GNU General Public License v3.0
1 stars 1 forks source link

Counter: support for wildcard keywords in Identity selectors #206

Closed AlexTate closed 2 years ago

AlexTate commented 2 years ago

Wildcard keywords are now allowed in the Select for... and with value... fields. Wildcards are allowed in either field or both. These keywords have been extended to include an asterisk character "*" and an empty cell, and this applies to all selectors which allow wildcard keywords.

The Wildcard class now follows a singleton design pattern which is much more inline with its meaning.

Closes #205

AlexTate commented 2 years ago

This ended up being substantially easier to implement than I had originally thought, thanks to a handful of refactors in the not so distant past.

This code runs and after a brief evaluation it appears to run as expected, but I'd like to add a few unit tests for the new feature. Leaving this as a draft PR for now