Output filtered data
So far, we focused on using fastp to evaluate data quality. But if we want to use the filtered data in downstream analyses, we need to save the filtered FASTQ files for later processing. To do so, we can use the --out parameters:
This creates the original HTML/JSON reports, along with a filtered FASTQ file for each input: . Notice that FASTQ files with filtered in their filenames are smaller, as expected.