subsampling of metagenomes to achieve equal coverage
# Subsampling 10000 read pairs from two paired FASTQ files
seqtk sample -s100 read1.fastq 10000 > sub1.fastq
seqtk sample -s100 read2.fastq 10000 > sub2.fastq
https://github.com/lh3/seqtk