Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

ngs-atacseq-peaks-qc — Codex skill: what it does, how to install

Plans and runs ATAC-seq QC, alignment, and peak-calling workflows. It checks library quality metrics, nucleosome periodicity, and chromatin accessibility.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill ngs-atacseq-peaks-qc -a codex
Open on GitHub

What ngs-atacseq-peaks-qc does

The skill coordinates ATAC-seq analysis pipelines starting from raw FASTQ reads or aligned BAM files. It inspects experimental parameters beforehand: paired-end status, mitochondrial contig names, reference blacklists, and Tn5 transposase shifting. For full reproducible runs, the skill defaults to nf-core/atacseq. Direct MACS2 calls remain reserved for pre-aligned BAM files where duplicate filtering is already resolved.

Local processing executes through the run_atacseq_peaks_qc.py helper alongside a Bowtie 2 index. The workflow outputs TSV summary metrics, an interactive qc/atacseq_qc_dashboard.html report, SVG insert-size plots, and bigWig browser tracks. Providing --run-motifs initiates HOMER motif enrichment directly during the run.

Weak replicate concordance or inadequate metadata halts the workflow before differential accessibility testing starts. For antibody-targeted experiments such as ChIP-seq or CUT&Tag, use the dedicated ngs-chip-cutrun-peaks-qc skill instead.

What it helps with

  • calculate TSS enrichment and nucleosomal insert-size periodicity
  • call accessibility peaks using MACS2 or the nf-core/atacseq pipeline
  • generate consensus peak sets and bigWig browser tracks
  • screen mitochondrial read fractions and replicate FRiP scores

Example prompts for the agent

  • Plan an nf-core/atacseq pipeline run for the samples listed in atac_samples.csv.
  • Run run_atacseq_peaks_qc.py using my Bowtie 2 index and TSS BED file to check FRiP.
  • Inspect mitochondrial contamination and nucleosomal periodicity in the new ATAC-seq BAM files.

How to install ngs-atacseq-peaks-qc

1Skills CLI (Vercel)

npx skills add openai/plugins --skill ngs-atacseq-peaks-qc -a codex

2Manually: put the files in place

.agents/skills/ngs-atacseq-peaks-qc/SKILL.md

For all projects use ~/.agents/skills/

Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them

Questions about ngs-atacseq-peaks-qc

How to install ngs-atacseq-peaks-qc in Codex?

Run npx skills add openai/plugins --skill ngs-atacseq-peaks-qc in your terminal.

What does ngs-atacseq-peaks-qc do?

It validates FASTQ or BAM inputs, computes ATAC-seq QC metrics such as TSS enrichment and FRiP, calls peaks, and compiles consensus accessibility matrices.

Can this skill process ChIP-seq or CUT&RUN data?

No. Antibody-targeted assays like ChIP-seq, CUT&RUN, and CUT&Tag require the separate ngs-chip-cutrun-peaks-qc skill.

Source text

SKILL.md · MIT
---
name: ngs-atacseq-peaks-qc
description: Run or plan ATAC-seq QC, alignment, TSS enrichment, fragment-size, blacklist, peak-calling, consensus peak, and differential accessibility workflows.
---

# ATAC-seq Peaks QC

Use this skill for ATAC-seq accessibility analysis from FASTQ or BAM. If the assay is ChIP-seq, CUT&RUN, CUT&Tag, or antibody-targeted enrichment, use `ngs-chip-cutrun-peaks-qc`.

## Essential Inputs

Confirm:

- FASTQ/BAM inputs and paired-end status
- organism, genome build, blacklist, and mitochondrial contig names
- biological replicates, conditions, batches, and sample metadata
- whether the target is QC only, peaks, consensus peaks, bigWigs, or differential accessibility
- whether Tn5 shifting is handled by the chosen workflow
- desired peak caller and downstream matrix generation

## Route

Prefer `nf-core/atacseq` for full reproducible processing. Use direct MACS2 only when BAMs are already aligned, duplicate/blacklist handling is known, and the user wants focused peak calling.

Preflight command:

```bash
python plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline atacseq_peaks_qc --emit-install-plan
```

For compact read-level intake/QC, use the shared epigenomics execution package:

```bash
python plugins/ngs-analysis/scripts/run_fastq_assay_package.py \
  --lane epigenomics_peaks \
  --sample-sheet atac_samples.csv \
  --execute
```

For local-light ATAC alignment, peaks, FRiP, TSS, bigWig tracks, and consensus peaks from FASTQ or prepared BAMs, use the dedicated ATAC runner:

```bash
python plugins/ngs-analysis/scripts/run_atacseq_peaks_qc.py \
  --sample-sheet atac_samples.csv \
  --bowtie2-index /refs/GRCh38/bowtie2/genome \
  --genome-size hs \
  --blacklist-bed /refs/GRCh38/blacklists/encode_blacklist.bed \
  --tss-bed /refs/GRCh38/tss.bed \
  --execute
```

This runner emits `qc/atacseq_qc_summary.{tsv,json}`, `qc/atacseq_qc_dashboard.html`, native SVG FRiP/peak and insert-size plots, browser-track handoff files under `tracks/`, and TSS profile/heatmap commands when `--tss-bed` is supplied. Add `--run-motifs --motif-genome <genome>` when HOMER motif enrichment should be part of the backend run.

It also emits `resources/resource_plan.json`, `resource_manifest.tsv`, `resource_env.sh`, and `resource_readiness.md`. The resource check is advisory by default for local-light runs; add `--genome-build`, `--bundle-root <bundle>=<path>`, and `--require-resource-plan` when missing registered reference bundles should block readiness.

For nf-core execution, use `plugins/ngs-analysis/scripts/run_nfcore_pipeline.py --pipeline atacseq`.

## QC Gates

Review before biological interpretation:

- read depth, alignment rate, duplicate rate, and mitochondrial fraction
- insert-size periodicity/nucleosome pattern
- TSS enrichment and FRiP score when available
- blacklist overlap and peak count per sample
- replicate concordance and consensus peak support

Do not proceed to differential accessibility if replicate quality or metadata is insufficient.

## Outputs

Produce:

- sample sheet and workflow command/profile
- QC summary and failed-sample flags
- narrowPeak/BED peak sets, consensus peaks, bigWigs, browser-track manifests, browser-track preview HTML, native QC dashboard/SVG plots, TSS plots, and peak-count matrix when requested
- motif summary files when a motif backend is requested
- differential-accessibility design and contrasts if applicable
- caveats for low TSS enrichment, high mitochondrial reads, weak replicate concordance, or poor FRiP

© OpenAI · MIT · openai/plugins

Similar skills

All skills for Science and research →

From the same set528

The whole set →
ngs-bulk-rnaseq A dispatcher for bulk RNA-seq work: it splits FASTQ-to-count processing from count-matrix statistics. Useful when you need expression counts and then differentially expressed genes. CX Codex GP ChatGPT 2installs ngs-bulk-rnaseq-differential-expression Plans and executes bulk RNA-seq differential expression from count matrices. It checks biological replicates, design formulas, batch variables, and generates quality control plots. CX Codex GP ChatGPT 2installs ngs-bulk-rnaseq-counts-qc Plans or runs bulk RNA-seq processing from FASTQ reads to count matrices, with MultiQC and QC checks. Use it before differential-expression analysis. CX Codex GP ChatGPT 2installs ngs-bcl-to-fastq Validates an Illumina run folder and sample sheet, plans demultiplexing, and runs BCL-to-FASTQ conversion. Useful when the input is a sequencing run folder. CX Codex GP ChatGPT 2installs website-to-hyperframes This skill turns a website URL into a HyperFrames video project, covering capture, scripting, storyboarding, voice timing, and validation. CX Codex GP ChatGPT 2installs hyperframes A skill for building video in HTML: compositions, title cards, captions, narration and music-driven animation. Useful when the video should come out of code, not an editor. CX Codex GP ChatGPT 2installs hyperframes-registry Helps install and wire registry blocks and components into HyperFrames video compositions. CX Codex GP ChatGPT 2installs hyperframes-cli This skill runs HyperFrames projects from setup to video output, with checks for composition layout, browser preview, transcription, and speech generation. CX Codex GP ChatGPT 2installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor