marbl/Mash

Input read stream

Closed this issue · 1 comments

Is there a way to stream individual reads either as single files or from multifasta to mash dist? Something like cat *.fa | mash dist -r ref.msh - or cat multi.fa | mash dist -r ref.msh - . It would be super helpful, current behavior appears to be to run mash dist on all reads catted into the pipe, and the only way to run on individual reads is by list input?

Apologies, this is possible using the -i flag, for reference:

cat *.fa | mash dist -i ref.msh -