Main tool : filtlong
Full documentation: https://github.com/rrwick/Filtlong
Filtlong filters long-read fastq files by quality & read lengths.
filtlong --min_length 1000 --keep_percent 90 --target_bases 500000000 input.fastq.gz | gzip > output.fastq.gz