fastp-fastq-preprocessing

Trim adapters and filter quality in FASTQ files using fastp.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill fastp-fastq-preprocessing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastp-fastq-preprocessing
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/fastp-fastq-preprocessing
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill fastp-fastq-preprocessing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fastp, multiqc, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the essential preprocessing of raw FASTQ sequencing data, cleaning it by removing adapters and low-quality bases, which is crucial for downstream bioinformatics analysis.

Core Features & Use Cases

  • Adapter Trimming: Automatically detects and removes Illumina adapters.
  • Quality Filtering: Filters reads based on Phred quality scores and length.
  • QC Reporting: Generates detailed HTML and JSON quality control reports.
  • Use Case: Prepare raw RNA-seq FASTQ files for alignment by removing adapters and low-quality bases, ensuring cleaner data for gene expression analysis.

Quick Start

Run fastp to trim adapters and quality filter paired-end FASTQ files named 'sample_R1.fastq.gz' and 'sample_R2.fastq.gz', outputting to 'sample_R1.trimmed.fastq.gz' and 'sample_R2.trimmed.fastq.gz', and generate reports 'sample_qc.html' and 'sample_qc.json' using 8 threads.

Frequently Asked Questions about fastp-fastq-preprocessing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trim Illumina adapters and filter low-quality bases from FASTQ files?

FASTQ preprocessing with fastp automatically detects and removes Illumina adapters while filtering reads based on Phred quality scores and length. It handles both single-end and paired-end reads, outputting cleaned FASTQ files ready for downstream analysis.

Can I generate QC reports for paired-end RNA-seq reads before alignment?

Yes, FASTQ preprocessing generates detailed HTML and JSON quality control reports for paired-end reads. These reports summarize adapter trimming results and quality filtering metrics, ensuring your RNA-seq data is clean before alignment.

Does fastp support automatic adapter detection for NGS data without manual adapter sequences?

FASTQ preprocessing using fastp automatically detects Illumina adapters from read overlaps without requiring manual adapter sequences. This simplifies NGS pipelines by eliminating the need to specify adapter sequences before trimming.

What is the best way to preprocess raw FASTQ sequencing data for speed and efficiency in NGS pipelines?

FASTQ preprocessing with fastp is optimized for speed and efficiency in NGS pipelines, performing all-in-one adapter trimming and quality filtering. It corrects mismatches in paired-end reads and utilizes multiple threads for rapid processing.

How does fastp handle mismatch correction in paired-end sequencing data?

FASTQ preprocessing with fastp corrects mismatches in paired-end reads by leveraging overlaps between read pairs. This process improves data fidelity during adapter trimming and quality filtering, ensuring accurate downstream analysis.

Do I need to install multiqc to visualize the quality control reports from FASTQ preprocessing?

FASTQ preprocessing generates standalone HTML and JSON QC reports directly, so multiqc is not required for basic visualization. However, multiqc can aggregate multiple fastp JSON reports into a comprehensive summary if processing many samples.