seqkit sample -2 ... returns error
"two-pass mode (-2) will failed when reading from stdin. please disable flag: -2"
when stdin is not a character device (e.g. pipe) regardless whether input is going
to be read from stdin actually or not. Type of stdin file descriptor should be of no consequence here,
you had better check if number of input records differs between passes.
seqkit sample -2 ... returns error
"two-pass mode (-2) will failed when reading from stdin. please disable flag: -2"
when stdin is not a character device (e.g. pipe) regardless whether input is going
to be read from stdin actually or not. Type of stdin file descriptor should be of no consequence here,
you had better check if number of input records differs between passes.