Closed ErinWeisbart closed 4 years ago
Amazing find! Thanks for documenting this. One thing that would amp the value of this issue up is to also include the error message you received that led you to discover the bug. (no need to do now, I just fixed this)
btw, the solution in bc6dbae2a12b34522e45e3c475b1f042a5714642 also solves the problem of counting NT barcodes when there are more than one kind
In 1.process-spots at this point:
it will error if there are no non-targeting controls at a site. This can happen because 1) biologically, the site actually doesn't contain control_barcodes, or 2) the barcodes you have listed in your config file don't match what is used in the experiment for control_barcodes.
Add in an error message to explain this, ideally parsing between the conditions.