Demultiplexor, Decombinator and Collapsinator all updated to be compatible with both old I8 and new M13 oligos.
Collapsinator barcode finding has been refactored, splitting work into several more readable functions. The fuzzy matching has been updated to fix instances where it was producing the wrong barcode. Unit tests have been included to cover 100 use cases. These include:
when the first barcode hexamer is short one or two bases
when the first barcode hexamer is long one or two bases
when either spacer contains one or two substitutions (for perfect, short and long barcode scenarios)
when either spacer contains a deletion or an insertion (for perfect, short and long barcode scenarios)
Additionally, for future new oligos, Collapsinator should (hopefully) need only two lines updated in the getOligos() function to work out the box for all oligos.
Demultiplexor, Decombinator and Collapsinator all updated to be compatible with both old I8 and new M13 oligos.
Collapsinator barcode finding has been refactored, splitting work into several more readable functions. The fuzzy matching has been updated to fix instances where it was producing the wrong barcode. Unit tests have been included to cover 100 use cases. These include:
Additionally, for future new oligos, Collapsinator should (hopefully) need only two lines updated in the getOligos() function to work out the box for all oligos.