lh3 / seqtk

Toolkit for processing sequences in FASTA/Q formats
MIT License
1.35k stars 311 forks source link

Sample Command Doesn't Work With Process Substitution #135

Closed DarioS closed 5 years ago

DarioS commented 5 years ago

Using <(zcat fastq.gz) as input produces empty output. All of the examples use plain FASTQ files, which made me think it doesn't work with compressed ones. But, it does. The documentation could be much improved.

lh3 commented 5 years ago

The second sentence in Introduction:

It seamlessly parses both FASTA and FASTQ files which can also be optionally compressed by gzip.

2-pass sampling of course won't work with stream.