ngs-read-preprocessing
Adapter trimming, quality filtering, and per-sample QC reporting with fastp.
Skill by Scientific-Tooling
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/scientific-tooling-ngs-read-preprocessing
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ngs-read-preprocessing
What's inside
- Skill name
ngs-read-preprocessing- Description
- Adapter trimming, quality filtering, and per-sample QC reporting with fastp.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (10)
- SKILL.md
- README.md · agents/
- claude.yaml · agents/
- openai.yaml · agents/
- .gitkeep · assets/
- config.yaml
- README.md · references/
- fastp.md · references/
- batch_run.sh · scripts/
- run.sh · scripts/
SKILL.md (first lines)
# Skill: ngs-read-preprocessing ## Use When - The user wants to trim adapters from raw sequencing reads. - The user needs to filter low-quality reads or bases before downstream alignment. - The user wants to generate clean FASTQ files suitable for alignment or assembly. - The user needs a per-sample HTML QC report showing before/after statistics. - The user wants to perform polyG or polyX tail trimming for NextSeq/NovaSeq platforms. - The user needs to apply minimum read length filtering after trimming. ## Inputs - Required: - Input FASTQ R1 (`-i FILE`) — single-end read file or forward reads for paired-end. - Optional: - Input FASTQ R2 (`-I FILE`) — reverse reads for paired-end sequencing. - `--outdir DIR` — Output directory (default: `fastp_results`). - `--threads N` — Number of worker threads (default: 4). - `--min-qual N` — Minimum qualified quality phred value for sliding window filtering (default: 15). - `--min-len N` — Minimum read length after trimming (default: 36 bp). - `--polyg` — Enable polyG tail trimming (recommended for NextSeq/NovaSeq two-color chemistry). - Adapter sequences — auto-detected by default; user may supply explicit sequences via additional fastp flags. - Additional fastp flags passed through as extra arguments. ## Workflow 1. Validate that input FASTQ files exist and are readable. 2. Detect single-end vs. paired-end mode from the provided inputs (`-i` only vs. `-i` and `-I`). 3. Run fastp with adapter auto-detection (or user-specified adapter sequences if provided). 4. Apply quality filtering using a sliding window approach (default: Q15 qualified quality threshold). 5. Apply length filtering to discard reads shorter than the minimum length (default: 36 bp). 6. Enable polyG tail trimming for NextSeq/NovaSeq platforms if `--polyg` is specified. 7. Generate an HTML report and JSON statistics file with detailed before/after metrics. 8. Report summary: reads before/after filtering, bases before/after, Q20/Q30 rates, and adapter trimming rate. ## Output Contract - **Cleaned FASTQ file(s)** — Trimmed and filtered reads (`<sample>_trimmed.fastq.gz`; R1 and R2 for paired-end). - **fastp HTML report** — Per-sample visual QC summary (`<sample>_fastp.html`). - **fastp JSON report** — Machine-readable statistics (`<sample>_fastp.json`). - **Summary statistics** — Reads in/out, bases in/out, Q20/Q30 rates before and after filtering, adapter detection/trimming rate. ## Limits - fastp must be installed and available on `$PATH`. - fastp is single-threaded by default; use `-w` / `--threads` to enable multi-threading (up to 16 threads). - This skill does not perform read alignment; use `genome-read-alignment` or `rnaseq-read-alignment` for that purpose. - This skill does not aggregate QC across multiple samples; use `ngs-quality-control` for multi-sample QC aggregation with MultiQC. - UMI processing is supported by fastp but is not enabled by default; pass `--umi` and related flags as extra arguments if needed. - Interleaved FASTQ input is not supported by the wrapper script; use fastp directly for interleaved input. - Common failure cases: - Paired-end FASTQ files with mismatched read counts causing fastp to abort. - Incorrect adapter sequences provided, leading to untrimmed reads. - Disk full during output writing, producing truncated FASTQ files.
From Scientific-Tooling/structured-intelligence, MIT.
More from Scientific-Tooling/structured-intelligence
- 0.456score
metagenome-binning
Scientific-Tooling
Recover metagenome-assembled genomes (MAGs) from contigs using MetaBAT2, refine with DAS Tool, and assess quality with CheckM2.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
design-thermostable-mutations
Scientific-Tooling
Decision-grade enzyme/protein mutation design for thermostability with bioactivity-preserving constraints enforced by default, plus structure-aware and…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-gdc
Scientific-Tooling
Download files from the NCI Genomic Data Commons (GDC) using the GDC Data Transfer Tool and REST API, supporting both open-access and controlled-access data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-geo
Scientific-Tooling
Download supplementary data files, series matrices, and raw FASTQ links from NCBI GEO for a given GSE series or GSM sample accession.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-sra
Scientific-Tooling
Download raw sequencing data from NCBI SRA as FASTQ files using prefetch and fasterq-dump, with support for single accessions, batch lists, and BioProject…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-alignment-qc
Scientific-Tooling
Assess alignment quality with coverage depth, mapping rates, insert size, and on-target metrics using samtools, mosdepth, and picard.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-annotation
Scientific-Tooling
Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-calling
Scientific-Tooling
Call SNVs and indels from aligned BAMs using GATK HaplotypeCaller or DeepVariant with optional GVCF output for joint genotyping.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
metagenome-functional-profiling
Scientific-Tooling
Functional annotation of metagenomic data using HUMAnN 3 for pathway abundance, Prokka for gene prediction, and eggNOG-mapper for ortholog assignment.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
metagenome-host-removal
Scientific-Tooling
Remove host-derived reads from metagenomic samples by aligning to a host reference genome and extracting unmapped pairs.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
ncbi-eutilities-assistant
Scientific-Tooling
Query NCBI Entrez databases through official E-utilities with deterministic search, summary, fetch, link, and history workflows.
SkillDFreshness: D★ 4Claude Code +9 - 0.453score
genome-read-alignment
Scientific-Tooling
Align short reads to a reference genome with BWA-MEM2, sort and index with samtools, and mark duplicates with picard.
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 15, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Scientific-Tooling
- 0.456score
design-thermostable-mutations
Scientific-Tooling
Decision-grade enzyme/protein mutation design for thermostability with bioactivity-preserving constraints enforced by default, plus structure-aware and…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-gdc
Scientific-Tooling
Download files from the NCI Genomic Data Commons (GDC) using the GDC Data Transfer Tool and REST API, supporting both open-access and controlled-access data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-geo
Scientific-Tooling
Download supplementary data files, series matrices, and raw FASTQ links from NCBI GEO for a given GSE series or GSM sample accession.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
download-sra
Scientific-Tooling
Download raw sequencing data from NCBI SRA as FASTQ files using prefetch and fasterq-dump, with support for single accessions, batch lists, and BioProject…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-alignment-qc
Scientific-Tooling
Assess alignment quality with coverage depth, mapping rates, insert size, and on-target metrics using samtools, mosdepth, and picard.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
genome-variant-annotation
Scientific-Tooling
Annotate variants with functional effects using SnpEff or Ensembl VEP, adding gene impact, population frequencies, and clinical significance.
SkillDFreshness: D★ 4Claude Code +9
Cite this page
ngs-read-preprocessing skill. Agent Mart. https://agentmart.dev/skills/scientific-tooling-ngs-read-preprocessing (last updated 2026-10-24)