AgentStack
SKILL verified Apache-2.0 Self-run

Bootstrap Confidence Interval Computation

skill-holobiomicslab-asb-skill-collections-bootstrap-confidence-interval-computation · by HolobiomicsLab

Use when when you have computed z-score deviations for genomic annotations (e.g., motifs) across multiple cells or samples and need to quantify uncertainty in their variability rankings before performing differential or comparative analyses.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-holobiomicslab-asb-skill-collections-bootstrap-confidence-interval-computation

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Bootstrap Confidence Interval Computation? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

bootstrap-confidence-interval-computation

Summary

Compute bootstrap confidence intervals around variability metrics (e.g., standard deviations of z-scores) for genomic annotations by resampling cells or samples with replacement. This skill provides uncertainty quantification for ranking and hypothesis testing of motif variability across chromatin accessibility datasets.

When to use

When you have computed z-score deviations for genomic annotations (e.g., motifs) across multiple cells or samples and need to quantify uncertainty in their variability rankings before performing differential or comparative analyses. Use this when sample size is small or variability estimates may be unstable.

When NOT to use

  • Input is already a pre-computed confidence interval table or posterior distribution — do not resample.
  • Sample size is very large (n >> 1000) and asymptotic methods are more efficient.
  • Variability is computed on aggregated bulk data with no cell/sample structure to resample.

Inputs

  • chromVARDeviations object (bias-corrected z-score deviations for annotations × samples)
  • Variability metric (standard deviation of z-scores per annotation)
  • Annotation labels (e.g., motif IDs)
  • Sample/cell metadata (colData)

Outputs

  • Bootstrap confidence intervals (lower and upper bounds per annotation)
  • Bootstrap replicate distributions (variability scores across resamples)
  • Ranked annotations by variability with uncertainty bands

How to apply

After computing variability scores (e.g., standard deviation of z-scores across samples for each motif), resample cells or samples with replacement multiple times (bootstrap replicates) to recompute the variability metric for each annotation in each replicate. Collect the distribution of bootstrap estimates and compute percentile-based confidence intervals (e.g., 2.5th and 97.5th percentiles for 95% CI). These intervals quantify the range of plausible variability values and support downstream hypothesis testing against a null variability threshold (e.g., 1.0 for normalized deviations).

Related tools

  • chromVAR (Core R package providing computeVariability() function to compute standard deviation of z-scores and bootstrap confidence intervals for motif variability) — https://github.com/GreenleafLab/chromVAR
  • SummarizedExperiment (Data structure container for storing chromVARDeviations object with assays (z-scores) and colData (sample annotations))
  • BiocParallel (Enables parallelized bootstrap resampling across multiple cores for computational efficiency)

Examples

dev 10,000 annotations.
- Does not account for spatial or temporal structure in the data; independent resampling assumes i.i.d. samples.

## Evidence

- [other] Variability computation with bootstrap: "Call computeVariability(dev) to compute standard deviation of z-scores across samples for each motif, generate bootstrap confidence intervals by resampling cells/samples"
- [readme] chromVAR package purpose: "chromVAR is an R package for the analysis of sparse chromatin accessibility data from single cell or bulk ATAC or DNAse-seq data"
- [other] Hypothesis testing context: "perform hypothesis tests against null variability of 1"
- [readme] Annotation identification: "aims to identify motifs or other genomic annotations associated with variability in chromatin accessibility between individual cells or samples"

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [HolobiomicsLab](https://github.com/HolobiomicsLab)
- **Source:** [HolobiomicsLab/asb-skill-collections](https://github.com/HolobiomicsLab/asb-skill-collections)
- **License:** Apache-2.0
- **Homepage:** https://holobiomicslab.cnrs.fr

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.