ngs-quality-control

Orchestrate FastQC, fastp, samtools, and Picard for Illumina sequencing QC.

13|5|Updated May 4, 2026
One-click install
npx skills add https://github.com/awslabs/hcls-agent-skills --skill ngs-quality-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ngs-quality-control
Source: https://github.com/awslabs/hcls-agent-skills/tree/main/skills/ngs-quality-control
Command: npx skills add https://github.com/awslabs/hcls-agent-skills --skill ngs-quality-control

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill addresses the lack of reproducibility in sequencing quality control by providing a standardized, multi-stage pipeline that validates raw reads, trimmed data, and aligned BAM files.

Core Features & Use Cases

  • Comprehensive Pipeline: Automates the full QC lifecycle including FastQC, adapter trimming with fastp, and alignment-based metrics via samtools and Picard.
  • Automated Reporting: Generates a self-contained HTML summary report that aggregates metrics and flags samples based on configurable quality thresholds.
  • Use Case: A researcher can use this skill to quickly assess whether a batch of WGS or WES samples meets the required coverage and quality standards before proceeding to downstream variant calling.

Quick Start

Run the qc_report.py script by providing the directory of FastQC outputs and the list of samtools flagstat files to generate a summary report.

Frequently Asked Questions about ngs-quality-control

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

FAQPage Schema
How do I standardize quality control for Illumina short-read sequencing data?

Standardize Illumina short-read sequencing quality control by orchestrating FastQC, fastp, samtools, and Picard to validate raw reads, trimmed data, and aligned BAM files. This pipeline supports WGS, WES, and targeted panels to ensure data integrity from raw FASTQ to aligned BAM.

Can I generate a consolidated QC report for WGS and WES samples?

Yes, you can generate a consolidated HTML quality report for WGS and WES samples. The pipeline aggregates metrics from FastQC, fastp, and samtools, flagging samples based on configurable quality thresholds to assess coverage and data standards.

What is the best way to automate the sequencing QC lifecycle from FASTQ to BAM?

Automate the sequencing QC lifecycle by running a multi-stage pipeline that validates raw reads, performs adapter trimming with fastp, and calculates alignment-based metrics via samtools and Picard. This ensures reproducibility from raw FASTQ files to aligned BAM outputs.

Do I need a Python environment to aggregate samtools and Picard metrics?

Yes, you need a Python environment with standard scientific libraries to aggregate samtools and Picard metrics. The qc_report.py script uses this environment to process FastQC outputs and flagstat files, producing a consolidated HTML quality report.

How do I assess if a batch of WGS samples meets coverage standards before variant calling?

Assess WGS sample coverage standards before variant calling by generating an automated HTML summary report. The pipeline aggregates alignment-based metrics via samtools and Picard, flagging samples that fail configurable quality thresholds.

Does this pipeline support targeted panel sequencing data?

Yes, the pipeline supports targeted panel sequencing data alongside WGS and WES. It standardizes the quality control workflow by orchestrating FastQC, fastp, samtools, and Picard metrics to ensure data integrity from raw FASTQ to aligned BAM.