This is a simple patch which provides the option to discard unbinned reads during demuxing rather than putting them into a "none" bin. The motivation behind this was to improve integration of Porechop into our Galaxy workflows, where we typically don't want to run downstream steps on unbinned data.
It may be that there is a more robust way to do this than relying on the "none" assignment to read.barcode_call. I admit I didn't dig into the code deep enough to find out, as I wanted to roll this out quickly as part of a demonstration workflow.
This is a simple patch which provides the option to discard unbinned reads during demuxing rather than putting them into a "none" bin. The motivation behind this was to improve integration of Porechop into our Galaxy workflows, where we typically don't want to run downstream steps on unbinned data.
It may be that there is a more robust way to do this than relying on the "none" assignment to
read.barcode_call
. I admit I didn't dig into the code deep enough to find out, as I wanted to roll this out quickly as part of a demonstration workflow.