peak-calling-pseudo-bulk-aggregation

peak-calling-pseudo-bulk-aggregation is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 63 tokens per session (1,611 once invoked), scanned A, original, Apache-2.0.

A method for combining single-cell ATAC-seq fragments by cell cluster and then finding accessible DNA regions in each group. Single-cell ATAC-seq measures open chromatin in individual cells, and pseudo-bulk aggregation combines cells to strengthen the signal.

In plain words
What is it for?
Use it after assigning cells to clusters or cell types to create cluster-level samples and call peaks with MACS3. The resulting peak lists can support differential accessibility or motif analysis.
Why use it?
Individual cells often contain too few fragments for reliable peak detection. Grouping cells with similar profiles makes cluster-specific accessible regions easier to identify.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after assigning cells to clusters or cell types to create cluster-level samples and call peaks with MACS3. The resulting peak lists can support differential accessibility or motif analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HolobiomicsLab/asb-skill-collections --skill peak-calling-pseudo-bulk-aggregation
Clone the repo
git clone --depth 1 https://github.com/HolobiomicsLab/asb-skill-collections

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peak-calling-pseudo-bulk-aggregation

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peak-calling-pseudo-bulk-aggregation

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/peak-calling-pseudo-bulk-aggregation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01611
Opus 5 $0.00032 $0.00805
Sonnet 5 $0.00013 $0.00322
Haiku 4.5 $0.00006 $0.00161

Measured 6d ago against content hash 7b27d81f2f16, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

peak-calling-pseudo-bulk-aggregation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/epigenomics/v1/skills/peak-calling-pseudo-bulk-aggregation/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

peak-calling-pseudo-bulk-aggregation

Summary

Aggregate single-cell ATAC-seq fragments into pseudo-bulk samples grouped by cluster assignment, then call peaks using MACS3 to identify chromatin-accessible regions that are consistent within cell populations. This approach recovers peaks from sparse single-cell data by leveraging population-level signal.

When to use

After clustering single-cell ATAC-seq data (e.g., via Leiden clustering on spectral embeddings), use this skill to identify peaks within each cluster. Triggering conditions: (1) you have sparse, per-cell insertion counts organized in a tile matrix; (2) cells have been assigned to discrete clusters or cell-type annotations; (3) you want to call peaks that are reproducible within cell populations rather than in individual cells; (4) downstream analyses require cluster-specific peak lists for differential accessibility or motif enrichment.

When NOT to use

  • Input is already a pre-computed peak set or peak matrix; peak calling has been performed elsewhere.
  • Cluster assignments are unreliable or highly fragmented (many clusters with <100 cells each), reducing pseudo-bulk signal below MACS3 detection threshold.
  • You need single-cell resolution peaks (e.g., to study peak heterogeneity within a cluster); pseudo-bulk aggregation will obscure cell-to-cell variation.

Inputs

  • Single-cell ATAC-seq fragment file (imported and stored as paired-end insertions in AnnData)
  • Cluster assignments for each cell (from tl.leiden or equivalent clustering method)
  • Tile matrix or other sparse count matrix representing chromatin accessibility

Outputs

  • Per-cluster peak list (BED format or equivalent, called by MACS3)
  • Merged peak set (union or consensus of all cluster-specific peaks)
  • Peak matrix (annotation of cells by peak presence/absence, via pp.make_peak_matrix)

How to apply

Group fragments by cluster assignment and aggregate them into a single pseudo-bulk BAM or fragment file per cluster. Pass each pseudo-bulk file to tl.macs3 with appropriate parameters (e.g., genome size, p-value threshold, minimum read count). MACS3 will perform peak calling on the aggregated signal from all cells within a cluster, improving signal-to-noise compared to single-cell calling. After calling peaks independently for each cluster, merge overlapping peaks across clusters using tl.merge_peaks to create a unified peak set. This strategy exploits the population-level chromatin accessibility pattern while avoiding the sparsity problem of individual-cell peak calling. Validate peak calls by comparing cluster assignments and UMAP coordinates before and after peak calling to ensure clustering quality is preserved.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 104 lines · 63 tokens per session scan A 7b27d81f2f16

Subscribe to this mod's changes

peak-calling-pseudo-bulk-aggregation is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 1,611 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

gsva-analysis-and-visualization

Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…

aipoch/medical-research-skills · 88 tokens

medical-research-literature-reader-pro

A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…

aipoch/medical-research-skills · 199 tokens

adverse-event-narrative

Generates CIOMS I-compliant ICSR narratives from adverse event case data for FDA and EMA regulatory submission. Includes temporal analysis, MedDRA coding, causality assessment using WHO-UMC or Naranjo criteria, and multi-format output.

aipoch/medical-research-skills · 57 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

aipoch/medical-research-skills · 17 tokens

decision-curve-analysis

Use when evaluating the clinical utility of a binary prediction model from a single clinical CSV file by fitting a logistic decision-curve model, plotting decision and clinical-impact curves, and exporting summary outputs. NOT for: survival calibration, ROC-only discrimination analysis, nomogram construction, or…

aipoch/medical-research-skills · 64 tokens

elastic-net-feature-selection

Use when selecting predictive genes or other molecular features from bulk expression matrices for binary case-vs-control classification with elastic net logistic regression, including coefficient path and cross-validation plots. Trigger keywords: elastic net, glmnet, feature selection, binary classification…

aipoch/medical-research-skills · 83 tokens