Agent skill

Bio Atac Seq Differential Accessibility

by GPTomics in GPTomics/bioSkills

Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR.

MITAuto-check passedFrontend & Design

Install Bio Atac Seq Differential Accessibility

skills CLI
$ npx skills add GPTomics/bioSkills --skill bio-atac-seq-differential-accessibility -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GPTomics/bioSkills bio-atac-seq-differential-accessibility --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/atac-seq/differential-accessibility .claude/skills/bio-atac-seq-differential-accessibility && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bio-atac-seq-differential-accessibility
GitHub stars
1.2k
Used in
2 other repos
Token cost
~6k tokens
SKILL.md length
2,510 words
Files
3
Skills in repo
559
Repo updated
First seen
Licence
MIT

At a glance

Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR.

  • Comparing ATAC-seq accessibility between treatment groups
  • SKILL.md covers Version Compatibility, Algorithmic Taxonomy, Decision Tree by Experimental… and Consensus Peak Set Strategy, plus 13 more sections
  • Runs R scripts from its folder
  • Choosing between consensus-peak vs sliding-window approaches

What it does

Bio Atac Seq Differential Accessibility is an agent skill from GPTomics/bioSkills. Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR. Use when comparing ATAC-seq accessibility between treatment groups, choosing between consensus-peak vs sliding-window approaches, picking the correct normalization (full library vs reads-in-peaks), correcting batch with SVA/RUVseq, or interpreting log2FC and FDR thresholds in a chromatin context.

Its SKILL.md is about 6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `usage-guide.md`).

It sits in Frontend & Design, covering Bioinformatics, Accessibility and Database schema design. The repository describes itself as: a set of SKILLS.md for doing bioinformatics with agents like claude code. The licence is MIT.

When your agent uses it

  • Comparing ATAC-seq accessibility between treatment groups
  • Choosing between consensus-peak vs sliding-window approaches
  • Picking the correct normalization (full library vs reads-in-peaks)
  • Correcting batch with SVA/RUVseq

Example prompts

  • “/bio-atac-seq-differential-accessibility”

What it can do on your machine

Read from SKILL.md and the folder at commit d91ed3d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (R), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bio Atac Seq Differential Accessibility loads about 6k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 2,510 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from GPTomics/bioSkills at commit d91ed3d, republished under its MIT licence (© GPTomics). 2,510 words, ~6,014 tokens.

Download SKILL.mdSave it as .claude/skills/bio-atac-seq-differential-accessibility/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
bio-atac-seq-differential-accessibility
description
Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR. Use when comparing ATAC-seq accessibility between treatment groups, choosing between consensus-peak vs sliding-window approaches, picking the correct normalization (full library vs reads-in-peaks), correcting batch with SVA/RUVseq, or interpreting log2FC and FDR thresholds in a chromatin context.
tool_type
r
primary_tool
DiffBind

Version Compatibility

Reference examples tested with: DiffBind 3.12+, DESeq2 1.42+, edgeR 4.0+, csaw 1.36+, limma 3.58+, GenomicRanges 1.54+, ChIPseeker 1.38+, Subread 2.0+ (featureCounts), sva 3.50+, RUVSeq 1.36+.

Before using code patterns, verify installed versions match:

  • R: packageVersion('<pkg>') then ?function_name to verify parameters

If code throws unexpected errors, introspect the installed package and adapt rather than retrying.

Differential Accessibility

"Find chromatin regions that change accessibility between my conditions" -> Build a sample-by-region count matrix, normalize for library size and chromatin compaction, fit a generalized linear model (negative-binomial), and extract regions with significant accessibility change.

  • R (consensus-peak workflow): DiffBind -> count -> normalize -> contrast -> analyze
  • R (window-based, no peak set): csaw::windowCounts + filterWindowsGlobal + edgeR QL F-test
  • R (existing peak-count matrix): DESeq2 or edgeR directly on featureCounts output

DiffBind is a wrapper around DESeq2 / edgeR with ATAC-aware defaults. csaw is the only peak-free option; it tests fixed-width sliding windows. The choice depends on whether peaks are stable across conditions (use DiffBind) or whether some condition has dramatically different peak structure (use csaw or rebuild consensus peaks).

Algorithmic Taxonomy

ToolModelInputMin repsStrengthFails when
DiffBind 3.x (default DESeq2)NB GLM via DESeq2 on consensus peaksBAM + peak files2-3 per groupATAC-aware defaults; built-in QC; blocking factors. Default in 3.x is normalize=DBA_NORM_LIB with library=DBA_LIBSIZE_FULL (full library size, background-included)Peaks differ dramatically between conditions (closed -> open shifts width); fewer than 2 reps per group
DiffBind with edgeR backendNB GLM via edgeR-QL on consensus peaksSame2-3 per groupRobust at low replicates (n=2 OK); QL test calibrates dispersion better than DESeq2 at small nWhen global accessibility shifts dominate, switch to spike-in or full-library (library=DBA_LIBSIZE_FULL), never reads-in-peaks
DESeq2 directly on peak countsNB GLM with shrinkagefeatureCounts SAF3+Maximum control; integrates with apeglm shrinkage; modern interfaceNeed to manually build consensus peakset; per-region pre-filter required (low counts inflate dispersion)
edgeR QL F-test on peak countsNB QL (quasi-likelihood)featureCounts2Calibrated FDR at low n (n=2 viable); robust to outlier repsManual consensus peakset; small library bias unless normalization explicit
csaw (windows)edgeR-QL on sliding windowsBAM only2No peak set required; detects diffuse changes peaks miss; merges adjacent windowsComputationally heavy; window size choice biases results; harder to annotate downstream
limma-voomlinear model with mean-variance trendlog2(CPM+offset)3Fast; good calibration at moderate countMis-calibrated at very low counts (atac peaks often have dropouts); needs explicit voom normalization

Methodology evolves; verify the current consensus practice (Gontarz 2020 DA-strategy benchmark; Reske 2020 normalization comparison) before locking pipelines.

Decision Tree by Experimental Scenario

ScenarioRecommended workflowWhy
3+ reps, similar peak structure across conditionsDiffBind (DESeq2 backend), summits=250, normalize=DBA_NORM_NATIVEStandard pattern; peak-level inference is interpretable
2 reps per conditionDiffBind with edgeR backend OR raw edgeR QLDESeq2 underpowered at n=2; QL is robust
Peak structure differs dramatically (e.g., differentiation, KO of pioneer TF)csaw windows OR rebuild consensus peakset post-hoc per condition then take unionStable consensus peakset is invalid when chromatin landscape shifts
Multi-factor design (batch, sex, time)DiffBind with dba.contrast(..., design='~Batch + Condition')Standard linear model adjustment
Hidden batch / unknown varianceDESeq2 + SVA OR RUVseq before fittingEmpirical surrogate variables capture unknown nuisance
Long timecourse (5+ time points)DESeq2 LRT (likelihood ratio test) on ~time + condition + time:conditionCaptures temporal interaction; use differential-expression/timeseries-de patterns
Diffuse / broad accessibility change (super-enhancers)csaw with merged windows OR call broad peaks firstNarrow peaks fragment broad domains -> inflated peak count, deflated effect
Single-cell ATAC pseudobulkDESeq2 on aggregated counts OR Signac::FindMarkersSee atac-seq/single-cell-atac
Allele-specific accessibilitycsaw on heterozygous SNPs OR HOMER tagDirPeak-level invalid because alleles share peaks
Plant / non-model organismDiffBind works; just provide custom genome and disable annotationAnnotation step assumes UCSC TxDb; bypass if absent

Consensus Peak Set Strategy

The consensus peakset choice drives FDR calibration. DiffBind defaults rarely match what a chromatin biologist wants.

StrategyImplementationWhen to use
Intersection (peak in all reps)dba.count(minOverlap=N) with N = total repsStrict; for high-confidence reproducible analysis (matches IDR philosophy)
Union (peak in any rep)minOverlap=1Maximum sensitivity; risks single-rep artefact peaks
Majority rule (peak in >= half reps)minOverlap=ceiling(N/2)DiffBind default-ish; balance
Per-condition union, then union of unionsCompute consensus per group, then mergeBest when conditions have very different peak counts
Iterative overlap removal (Corces 2018)Sort peaks by significance; greedily keep non-overlapping; fixed-width 501 bpStandard for fixed-width consensus; required for peak-count matrices used in machine learning

Refer to atac-seq/consensus-peakset for full coverage of fixed-width re-centering and the iterative overlap algorithm. For DiffBind, the key parameter is summits=250 (re-center peaks on summit +/- 250 bp = 501 bp fixed width).

Normalization: The ATAC-Specific Choice

DiffBind 3.x conflates two orthogonal choices: the normalization method (normalize=) and the library-size definition (library=). The defaults are normalize=DBA_NORM_LIB with library=DBA_LIBSIZE_FULL (full mapped-read total).

ChoiceDiffBind argumentWhat it doesWhen to use
Normalize by library size onlynormalize=DBA_NORM_LIB (default)Scale counts by the chosen library sizeStandard; pairs with full or RiP library
Reads-in-peaks library sizelibrary=DBA_LIBSIZE_PEAKREADSLibrary size = reads in consensus peaks (RiP)When background varies independently of biology (protects against background drift)
Full mapped library sizelibrary=DBA_LIBSIZE_FULL (default)Library size = total mapped readsWhen global accessibility shifts must remain visible (e.g., chromatin compaction)
Native per-tool defaultnormalize=DBA_NORM_NATIVEDESeq2 RLE or edgeR TMM, depending on backendUse DESeq2/edgeR conventions directly
TMM (edgeR)normalize=DBA_NORM_TMMTrimmed mean of M-valuesRobust to a few highly-DA peaks dominating
RLE (DESeq2)normalize=DBA_NORM_RLEDESeq2 geometric-mean size factorsDESeq2-conventional analysis
Spike-in / externalnot built-in; pre-scale countsExogenous reference (e.g., spike-in chromatin)Required when global scaling is biological

Trigger: Treatment causes global chromatin compaction (e.g., HDAC inhibitor, DNMT inhibitor).

Mechanism: Full library-size normalization is robust to background but the default still scales background reads in; under uniform global compaction the magnitudes can collapse. RiP scaling (library=DBA_LIBSIZE_PEAKREADS) makes the opposite assumption (peak signal is stable, background absorbs the shift) and so erases the very biology of interest.

Symptom: Volcano plot is symmetric about zero; PCA shows treatment effect that vanishes after normalization.

Fix: Use spike-in normalization (add exogenous chromatin pre-Tn5; scale by spike-in reads), or keep the default library=DBA_LIBSIZE_FULL but interpret with the global shift in mind. Reske 2020 documented that the normalization choice materially changes which peaks are called differential under such a global shift.

Per-Tool Failure Modes

DiffBind -- Library-size choice confounds global change

Trigger: Treatment causes whole-genome accessibility shift; cell-cycle synchronized samples; differentiation timecourse.

Mechanism: Setting library=DBA_LIBSIZE_PEAKREADS (RiP-based) assumes total reads-in-peaks is comparable across samples. Global accessibility shifts break this assumption.

Symptom: Conditions clearly differ in PCA before normalization; after normalization PC1 is nearly noise.

Fix: Keep the default library=DBA_LIBSIZE_FULL (or use spike-in scaling) and re-run dba.contrast and dba.analyze. Re-inspect PCA; if treatment now drives PC1, the global-shift biology is preserved.

DiffBind summits parameter -- Width-driven differential

Trigger: Per-rep peaks have very different widths; consensus uses union.

Mechanism: Without summits=250, DiffBind counts reads in the original peak intervals. A peak called as 200 bp in one rep and 800 bp in another inflates the count for the wider rep.

Symptom: Top differential peaks track peak width, not signal intensity.

Fix: Always set summits=250 (or 100, depending on resolution). This re-centers all peaks on the summit and uses identical 501 (or 201) bp windows.

csaw -- Window size and filter choice dominates results

Trigger: Default width=spacing=50 bp windows; default filter=10 count cutoff.

Mechanism: Narrow windows have very low counts and inflated dispersion; the global background filter discards too many windows. Results are extremely sensitive to these.

Symptom: Number of significant windows ranges from 200 to 200,000 across reasonable parameter sweeps.

Fix: Use width=150 for ATAC (matches typical NFR fragment); threshold with filterWindowsGlobal(data, background)$filter > log2(3) to discard low-signal windows. Validate by running on technical replicates -- ~0 differential windows is the expected outcome.

DESeq2 -- Apeglm shrinkage with too few reps

Trigger: n=2 per condition; using lfcShrink(type='apeglm').

Mechanism: Apeglm shrinks log2FC toward zero based on dispersion estimate; at n=2 dispersion is unreliable, shrinkage is over-aggressive, and biology is masked.

Symptom: All log2FC values cluster near zero post-shrinkage; FDR list has high p-values across the board.

Fix: Skip shrinkage at n=2 OR switch to edgeR QL test. If n=2 is unavoidable, report unshrunken log2FC alongside FDR; do not use shrunken FCs as the effect size.

edgeR QL -- Filter must be aggressive enough

Trigger: Including peaks with mean count < 5 across all samples.

Mechanism: The QL F-test calibrates dispersion across all features. Including very-low-count peaks pulls dispersion estimates and inflates FDR.

Fix: filterByExpr(y, group=group) removes low-count peaks; restore peaks one at a time only if they are biologically critical and supported by at least one rep at depth.

Reconciliation: When Tools Disagree

PatternLikely causeAction
DiffBind + DESeq2 differ wildlyDifferent normalization (DiffBind default = full library DBA_NORM_LIB/DBA_LIBSIZE_FULL, DESeq2 default = RLE)Force same normalization; differences should shrink
DiffBind + csaw differcsaw catches diffuse changes peaks miss; DiffBind catches narrow peaks csaw smoothsBoth can be correct; report intersection as high-confidence
Top hits in DiffBind have FDR > 0.5 in DESeq2DiffBind's blacklist filter or width re-centering changes the per-region countRe-run DESeq2 on the exact DiffBind consensus matrix (dba.peakset extract)
Effect-size ranking differs across repsOne rep is an outlier -- check PCADrop or block as covariate; never silently include
No significant peaks despite obvious browser-track differencesLibrary-size normalization eaten the global shiftSwitch to spike-in or full-library normalization

Operational rule: For high-confidence reporting, require concordant detection in two methods from different families (DiffBind/DESeq2-style on consensus peaks AND csaw-style sliding windows agreeing within +/- 500 bp). Report the intersection as primary; the union as exploratory.

Show full SKILL.md (943 more words)Show less

Effect Size and Threshold Selection

QuestionThresholdRationale
Statistical significanceFDR < 0.05Standard BH FDR (DESeq2 / edgeR / DiffBind default)
Stringent biological changeabs(log2FC) >= 1 (= 2-fold)Within-noise effects below 2-fold are unreliable in chromatin
Conservative reportingFDR < 0.01 AND abs(log2FC) >= 1Per ENCODE differential reporting guidance
Exploratory / discoveryFDR < 0.1 OR shrunken log2FC >= 0.585 (1.5x)For follow-up validation, not final claim
Proper effect-size reportingUse shrunken log2FC (apeglm or DESeq2 lfcShrink) when n >= 3Raw log2FC at low counts is volatile

abs(log2FC) >= 1 is not universal. ATAC effects in primary cells (immune subsets, neurons) often max at 1.5-fold; require log2FC >= 0.585 with FDR < 0.05 for those settings.

Hidden Batch with SVA / RUVseq

Goal: Recover differential accessibility signal when unknown batch effects swamp the contrast.

Approach: Estimate surrogate variables on normalized counts via svaseq, append them to the DESeq2 design, refit the model, and extract the contrast.

r
library(DESeq2); library(sva)

dds <- DESeqDataSetFromMatrix(countData=counts, colData=coldata, design=~condition)
dds <- estimateSizeFactors(dds)
dat <- counts(dds, normalized=TRUE)
dat <- dat[rowMeans(dat) > 1, ]

mod  <- model.matrix(~condition, colData(dds))
mod0 <- model.matrix(~1, colData(dds))
svobj <- svaseq(dat, mod, mod0, n.sv=2)

dds$SV1 <- svobj$sv[, 1]; dds$SV2 <- svobj$sv[, 2]
design(dds) <- ~SV1 + SV2 + condition
dds <- DESeq(dds)
res <- results(dds, contrast=c('condition', 'treated', 'control'))

RUVseq is the alternative when negative-control regions (ChrM peaks NOT changing) or technical replicates are available. SVA is preferred when no controls exist.

Spike-in Normalization

Trigger: Treatment causes whole-genome accessibility shift (HDAC inhibitor, DNMT inhibitor); RPM/CPM/RiP normalization erases the global biology.

Mechanism: Exogenous chromatin spike-in (Drosophila S2 nuclei) is added at constant cell number ratio pre-Tn5; reads aligning to dm6 quantify the constant exogenous baseline. Sample-level scaling factor = inverse of dm6 reads per sample, applied to human-aligned counts.

Goal: Preserve global accessibility shifts that RiP / library-size normalization would erase.

Approach: Compute per-sample size factors from inverse spike-in read counts, override DESeq2's default size factors, then run the standard DESeq2 fit and contrast.

r
library(DESeq2)

# spike_counts: per-sample dm6 read counts (one column per sample)
sf_spike <- 1 / spike_counts
sf_spike <- sf_spike / mean(sf_spike)                 # Geometric mean = 1 for stability

dds <- DESeqDataSetFromMatrix(countData=counts, colData=coldata, design=~condition)
sizeFactors(dds) <- sf_spike                          # Override library-size factors
dds <- DESeq(dds)
res <- results(dds, contrast=c('condition', 'treated', 'control'))

After spike-in normalization, log2FC reflects absolute accessibility change (not just relative redistribution). Spike-in is the most direct control for global-shift biology.

Permutation Testing for Low Replicate Designs

Trigger: n=2 per condition; parametric NB tests give over-confident p-values.

Mechanism: csaw provides a permutation framework: the null is generated by shuffling sample labels; test statistic is the count-difference per window; per-region p is the rank under permutation.

Goal: Generate empirical per-region p-values when parametric NB tests are over-confident at low replicate counts.

Approach: Fit the observed edgeR QL F statistic, repeatedly shuffle group labels and refit, then compute per-region p as the rank of the observed F under the shuffled null.

r
library(csaw); library(edgeR)

# Standard csaw counts (windows or peaks)
counts <- regionCounts(bam_files, regions, ext=200)

# Standard NB fit
y <- DGEList(counts=assay(counts), group=condition)
y <- calcNormFactors(y, method='TMM')
design <- model.matrix(~condition)
y <- estimateDisp(y, design)
fit <- glmQLFit(y, design)

# Permutation: shuffle group labels n_perms times; track per-region rank statistic
n_perms <- 1000
perm_p <- replicate(n_perms, {
    shuffled <- sample(condition)
    design_p <- model.matrix(~shuffled)
    fit_p <- glmQLFit(estimateDisp(y, design_p), design_p)
    glmQLFTest(fit_p, coef=2)$table$F
})
observed_F <- glmQLFTest(fit, coef=2)$table$F
permp <- rowMeans(perm_p >= observed_F)

Permutation requires ~1000 shuffles for stable per-region p; computationally expensive but essential when parametric tests cannot be trusted.

DESeq2 Likelihood Ratio Test for Time-Courses

Goal: Identify peaks whose accessibility trajectory differs between conditions across a timecourse.

Approach: Fit a DESeq2 LRT comparing a full model with a spline-by-condition interaction against a reduced model lacking the interaction; significant peaks have time-dependent condition response.

r
library(DESeq2); library(splines)

# Spline-modeled time course (5+ time points)
dds <- DESeqDataSetFromMatrix(countData=counts, colData=coldata,
                              design=~ns(timepoint, df=3) + condition + ns(timepoint, df=3):condition)
dds_full <- DESeq(dds, test='LRT', reduced=~ns(timepoint, df=3) + condition)
res <- results(dds_full)

The LRT compares the full model (with time:condition interaction) to a reduced model without; significant peaks have time-dependent condition response. Use df=3 natural splines for typical 5-7 timepoints; df=4-5 for >= 8.

Hi-C-Loop-Anchored Differential

Trigger: Combined ATAC-seq + Hi-C/HiChIP datasets; want to test enhancer-promoter pair-level differential.

Mechanism: Aggregate peak-level differential signal at HiCCUPS loop anchors (or ABC-predicted enhancer-gene pairs). Combined enhancer + promoter accessibility change has more statistical power than either alone.

Goal: Test enhancer-promoter pair-level differential accessibility by aggregating peak-level signal at loop anchors.

Approach: Import HiCCUPS loops, map consensus peaks to anchor positions, then aggregate per-peak log2FC across both anchors of each loop to get loop-level effect sizes.

r
# Pseudo-pattern: per loop, sum DESeq2 log2FC at both anchors
loops <- makeGenomicInteractionsFromFile('hiccups_loops.bedpe', type='bedpe',
                                         experiment_name='hiccups', description='HiCCUPS loops')
peak_to_loop <- findOverlaps(consensus_peaks, c(anchorOne(loops), anchorTwo(loops)))

loop_lfc <- aggregate(res$log2FoldChange[queryHits(peak_to_loop)],
                      by=list(loop=ceiling(subjectHits(peak_to_loop) / 2)),
                      FUN=function(x) sum(x, na.rm=TRUE))

For implementation, use the InteractionSet Bioconductor package which preserves loop-pair structure during testing. Reference: Mumbach 2017 Nat Genet (HiChIP enhancer connectome).

Annotate Differential Peaks

Goal: Assign each differentially accessible peak to its nearest gene and feature class for downstream interpretation.

Approach: Pull DiffBind / DESeq2 results as GRanges, annotate via ChIPseeker against a TxDb with a custom promoter window, then plot annotation distribution and extract gene IDs for enrichment.

r
library(ChIPseeker); library(TxDb.Hsapiens.UCSC.hg38.knownGene)

diff_peaks <- dba.report(dba)
peakAnno <- annotatePeak(diff_peaks, TxDb=TxDb.Hsapiens.UCSC.hg38.knownGene,
                         tssRegion=c(-2000, 500), level='gene')
plotAnnoPie(peakAnno); plotDistToTSS(peakAnno)
genes <- as.data.frame(peakAnno)$geneId          # for GO enrichment via pathway-analysis/go-enrichment

tssRegion=c(-2000, 500) defines promoter as TSS-2kb to TSS+500bp; ChIPseeker default (-3000, 3000) over-counts promoter assignments. Adjust per cell type / organism.

Common Errors

Error / symptomCauseSolution
DiffBind very slowCounting all peaks across all BAMs sequentiallydba.count(..., bParallel=TRUE) and provide BPPARAM
unable to use the provided design matrix (DESeq2)Confounded design (e.g., batch perfectly aligns with condition)Replicate in a way that breaks the confound, or drop the batch term
FDR list empty despite obvious differencesRiP scaling (library=DBA_LIBSIZE_PEAKREADS) removed global biologyUse spike-in or keep default library=DBA_LIBSIZE_FULL; verify with browser tracks
Top peaks all on chrMchrM not removed from BAM before countingAlways strip chrM upstream
dispersion estimate failure (DESeq2)Too few peaks pass filter; too few repsfilterByExpr less aggressively; check rep count
Error in if (any(out))(csaw)Window count below thresholdReduce bin.size; check BAM is paired-end
ChIPseeker error on non-human TxDbWrong organism db loadedUse make_org_db from biomartr or AnnotationDbi for non-model
Volcano plot symmetric about zero with no significant peaksHidden batch swamping signalRun SVA/RUVseq

References

  • Stark R & Brown G 2011 DiffBind (Bioconductor; canonical reference)
  • Lun ATL & Smyth GK 2014 NAR 42:e95 (csaw windowed differential method)
  • Love MI et al 2014 Genome Biol 15:550 (DESeq2)
  • Robinson MD et al 2010 Bioinformatics 26:139 (edgeR)
  • Chen Y et al 2016 F1000Res 5:1438 (edgeR-QL framework)
  • Leek JT 2014 NAR 42:e161 (svaseq for hidden batch)
  • Risso D et al 2014 Nat Biotechnol 32:896 (RUVseq)
  • Reske JJ et al 2020 Epigenetics Chromatin 13:22 (ATAC normalization-method comparison; ARID1A/PIK3CA global-shift case study)
  • Gontarz P et al 2020 Sci Rep 10:10150 (comparison of differential-accessibility analysis strategies for ATAC-seq)
  • Corces MR et al 2018 Science 362:eaav1898 (iterative overlap, fixed-width 501 bp consensus)
  • Yu G et al 2015 Bioinformatics 31:2382 (ChIPseeker)
  • atac-seq/atac-peak-calling - Generate per-replicate peaks
  • atac-seq/consensus-peakset - Build the differential-ready consensus peakset
  • atac-seq/atac-qc - Pre-screen and drop failing replicates
  • atac-seq/single-cell-atac - Pseudobulk-level differential per cluster
  • atac-seq/co-accessibility - Identify cis-regulatory connections among DA peaks
  • differential-expression/deseq2-basics - Underlying DESeq2 patterns
  • differential-expression/de-results - Effect-size reporting and shrinkage
  • chip-seq/differential-binding - Same DiffBind workflow, ChIP context
  • pathway-analysis/go-enrichment - Downstream gene-level enrichment of DA-associated genes

© GPTomics, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in atac-seq/differential-accessibility of GPTomics/bioSkills.

  • SKILL.md
  • examples/diff_accessibility.R
  • usage-guide.md

Open the folder on GitHubat commit d91ed3d

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in GPTomics/bioSkills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Bio Atac Seq Differential Accessibility next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bio Atac Seq Differential Accessibility compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bio Atac Seq Differential Accessibility this skillGPTomics/bioSkills1.2k2 repos~6kAutomated safety check: PassMIT
Bio Atac Seq Differential AccessibilityFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~1.8kAutomated safety check: PassNone
Kb Severity MappingCommunity-Access/accessibility-agents423—~908Automated safety check: PassMIT
Ariasickn33/agentic-awesome-skills47k1 repos~1.5kAutomated safety check: PassMIT
Hot3dwu-yc/LabClaw1.1k1 repos~1.3kAutomated safety check: PassCC-BY-NC-4.0
Bio Atac Seq Motif DeviationFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~2.3kAutomated safety check: PassNone

Similar skills

  • Bio Atac Seq Differential Accessibility

    FreedomIntelligence/OpenClaw-Medical-Skills

    Find differentially accessible chromatin regions between conditions using DiffBind or DESeq2.

    3.1k GitHub stars~1.8k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Kb Severity Mapping

    Community-Access/accessibility-agents

    Reference data, not a reviewer. An agent skill from Community-Access/accessibility-agents.

    423 GitHub stars~908 tokensUpdated 16 days ago
    Frontend & DesignAuto-check passed
  • Aria

    sickn33/agentic-awesome-skills

    Designs the data model, API contracts, and structural foundation of the system.

    47k GitHub starsUsed in 1 repo~1.5k tokens
    Backend & APIsAuto-check passed
  • Hot3d

    wu-yc/LabClaw

    HOT3D (Hand-Object 3D Dataset) by Meta Facebook - multi-view egocentric hand and object 3D tracking for Aria/Quest smart glasses.

    1.1k GitHub starsUsed in 1 repo~1.3k tokens
    Frontend & DesignAuto-check passed
  • Bio Atac Seq Motif Deviation

    FreedomIntelligence/OpenClaw-Medical-Skills

    Analyze transcription factor motif accessibility variability using chromVAR.

    3.1k GitHub stars~2.3k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • Viennarna Structure Prediction

    jaechang-hits/SciAgent-Skills

    Predict RNA secondary structure, MFE folding, base-pair probabilities, RNA-RNA interactions via ViennaRNA Python bindings.

    374 GitHub starsUsed in 1 repo~5.4k tokens
    Research & ScienceAuto-check passed

More from GPTomics/bioSkills

All 559 skills in this repo
  • Bio Alignment Io

    GPTomics/bioSkills

    Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO.

    1.2k GitHub starsUsed in 3 repos~4.9k tokens
    Auto-check passed
  • bioSkills Installer

    GPTomics/bioSkills

    Installs the bioSkills collection of 425 bioinformatics skills in one step, or only chosen categories, so sequencing, RNA-seq, single-cell and variant tasks get specialized help.

    1.2k GitHub starsUsed in 1 repo~789 tokens
    Auto-check passed
  • Bio Write Sequences

    GPTomics/bioSkills

    Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO.

    1.2k GitHub starsUsed in 3 repos~2.1k tokens
    Auto-check passed
  • Amplicon Primer Clipping

    GPTomics/bioSkills

    Soft- or hard-clips PCR primer footprints from aligned amplicon BAMs so primer bases stop masquerading as confirmed reference sequence.

    1.2k GitHub starsUsed in 2 repos~2.2k tokens
    Auto-check passed
  • Filters BAM alignments by FLAG bits, mapping quality and regions with samtools view or pysam, with recipes for common keep and drop cases.

    1.2k GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed
  • Bio Alignment Indexing

    GPTomics/bioSkills

    Create and use BAI/CSI indices for BAM/CRAM files using samtools and pysam.

    1.2k GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed

Questions about Bio Atac Seq Differential Accessibility

What does Bio Atac Seq Differential Accessibility do?

Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR. Bio Atac Seq Differential Accessibility is an agent skill from GPTomics/bioSkills. Identify differentially accessible chromatin regions across conditions using DiffBind, csaw, DESeq2, or edgeR.

When should I use Bio Atac Seq Differential Accessibility?

Bio Atac Seq Differential Accessibility fits situations like: comparing ATAC-seq accessibility between treatment groups; choosing between consensus-peak vs sliding-window approaches; picking the correct normalization (full library vs reads-in-peaks); correcting batch with SVA/RUVseq.

How do I install Bio Atac Seq Differential Accessibility in Claude Code?

Run `npx skills add GPTomics/bioSkills --skill bio-atac-seq-differential-accessibility -a claude-code`. Or copy the skill folder (atac-seq/differential-accessibility in GPTomics/bioSkills) into .claude/skills/bio-atac-seq-differential-accessibility in your project. Claude Code loads it when a task matches its description.

How do I install Bio Atac Seq Differential Accessibility in Codex?

Run `npx skills add GPTomics/bioSkills --skill bio-atac-seq-differential-accessibility -a codex`. Or copy the skill folder (atac-seq/differential-accessibility in GPTomics/bioSkills) into .agents/skills/bio-atac-seq-differential-accessibility in your project. Codex loads it when a task matches its description.

Can I use Bio Atac Seq Differential Accessibility in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GPTomics/bioSkills --skill bio-atac-seq-differential-accessibility -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bio-atac-seq-differential-accessibility, .gemini/skills/bio-atac-seq-differential-accessibility, .github/skills/bio-atac-seq-differential-accessibility and .opencode/skills/bio-atac-seq-differential-accessibility in your project.

What does Bio Atac Seq Differential Accessibility need to run?

Going by SKILL.md and its folder, Bio Atac Seq Differential Accessibility needs R for the scripts in its folder.

Does Bio Atac Seq Differential Accessibility access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bio Atac Seq Differential Accessibility safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bio Atac Seq Differential Accessibility use?

Bio Atac Seq Differential Accessibility is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bio Atac Seq Differential Accessibility use?

About 6k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bio Atac Seq Differential Accessibility?

Skills that share tags, products or a category with Bio Atac Seq Differential Accessibility: Bio Atac Seq Differential Accessibility (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars), Kb Severity Mapping (Community-Access/accessibility-agents, 423 stars), Aria (sickn33/agentic-awesome-skills, 47k stars) and Hot3d (wu-yc/LabClaw, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bio Atac Seq Differential Accessibility?

GPTomics (a GitHub organization) maintains it in GPTomics/bioSkills, which has 1,218 GitHub stars. The repository holds 559 skills in this directory. The repository was last updated on August 15, 2026.

Source: GPTomics/bioSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.