Description
Hi Daniel,
thanks for the tool, just starting to use it instead of UMI-tools and it goes much faster!
At the moment, I'm using it in fastq mode as part of a pipeline in python.
As I just want the tool to run on UMI -not the read sequence- I do create a file where I write a fastq of the UMI parsed in a previous step.
Instead of writing/reading all the data to/from a file, I'd rather pipe the data in UMIcollapse.
Likewise, I'd rather pipe the data out instead of reading from the generated file and deleting it.
Would be great to support e.g. the '-' notation for arg -i and -o to specify reading/writting from stdin/stdout respectively.
Would this be possible to implement?
In the mean time I tried to emulate this by passing /dev/fd/n 'files' (on unix) as arguments to both -i and -o.
This works great until I use the --tag option, in which case I do not receive anything on the output stream.
If I provide a real file as -i, then I get an output in the stream.
I suspect that internally the input is tagged to produce the output and that somehow doesn't work if input is a stream...
With thanks and best regards