While BarcodeHandler.__init__ has (optional) parameters to adjust barcode-related options (e.g. using non-CB SAM tags for the cell barcodes, like XC), the static from_file function called it without any of those parameters, making it impossible to adjust them when using that function.
This is resolved by adding an optional keyword argument dictionary parameters to the static function and passing all argument provided therein, if any, down to the __init__ call.
While
BarcodeHandler.__init__
has (optional) parameters to adjust barcode-related options (e.g. using non-CB
SAM tags for the cell barcodes, likeXC
), the staticfrom_file
function called it without any of those parameters, making it impossible to adjust them when using that function. This is resolved by adding an optional keyword argument dictionary parameters to the static function and passing all argument provided therein, if any, down to the__init__
call.This addresses one out of two issues raised in https://github.com/herophilus/demuxalot/issues/23.
closes #26