barcode-fragment-mapping

barcode-fragment-mapping is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 65 tokens per session (1,348 once invoked), scanned A, original, Apache-2.0.

A bioinformatics tool that turns a coordinate-sorted BAM file from a single-cell ATAC-seq experiment into a compressed fragment file. ATAC-seq measures which regions of DNA are accessible, and a BAM file stores aligned sequencing reads.

In plain words
What is it for?
Extracting cell barcodes, fragment positions, and quality information from compatible paired-end ATAC-seq BAM files for SnapATAC2 or similar tools.
Why use it?
It converts read alignments into the cell-level genomic fragments needed for later chromatin-accessibility analysis.

Skill for Claude CodeCodex

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

Good fit Extracting cell barcodes, fragment positions, and quality information from compatible paired-end ATAC-seq BAM files for SnapATAC2 or similar tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping
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 barcode-fragment-mapping
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 barcode-fragment-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping/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 barcode-fragment-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/barcode-fragment-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,348 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.00065 $0.01348
Opus 5 $0.00032 $0.00674
Sonnet 5 $0.00013 $0.00270
Haiku 4.5 $0.00006 $0.00135

Measured 10d ago against content hash 44d98b41e2a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

barcode-fragment-mapping 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 10d 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/barcode-fragment-mapping/SKILL.md · 100 lines

How it starts

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

barcode-fragment-mapping

Summary

Convert coordinate-sorted BAM files into compressed fragment files with cell barcode and quality annotations using SnapATAC2's pp.make_fragment_file. This preprocessing step is essential for single-cell ATAC-seq analysis, enabling efficient storage and downstream processing of chromatin accessibility data.

When to use

You have a coordinate-sorted BAM file from a single-cell ATAC-seq experiment (especially 10X Genomics platforms) and need to extract per-fragment information including cell barcodes, fragment coordinates, and quality metrics for downstream analysis in SnapATAC2 or compatible tools.

When NOT to use

  • Input BAM file is not coordinate-sorted; use samtools sort to order by chromosome and position first.
  • Fragment file already exists in validated BED.gz or zst format; re-processing is redundant.
  • Data source is unstranded or non-ATAC-seq (e.g., whole-genome bisulfite sequencing); barcode-fragment mapping assumes paired-end ATAC-seq reads with valid cell barcodes.

Inputs

  • coordinate-sorted BAM file
  • 10X Genomics BAM file (optional source specification)

Outputs

  • compressed fragment file (BED.gz or .zst format)
  • fragment metadata with barcode annotations
  • QC metrics (duplication rate, read count)

How to apply

Load the coordinate-sorted BAM file and invoke pp.make_fragment_file with source='10x' if processing 10X BAM input, or with default settings for standard BAM files. The function generates a compressed fragment file (BED.gz or zst format) containing canonical BED fields (chrom, start, end) plus barcode and count columns. After execution, validate output file integrity by confirming non-empty content, verifying BED format compliance, and checking that QC metrics (duplication rate, read counts) are computed and accessible via the output metadata. The compressed output enables scalable processing of large cell numbers while preserving fragment-level information needed for tile matrix construction and peak calling.

Read the full file on GitHub · 100 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. 10d ago First seen · 100 lines · 65 tokens per session scan A 44d98b41e2a7

Subscribe to this mod's changes

barcode-fragment-mapping is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 4d ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,348 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-08-30.

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

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

wgcna-analysis

Use when building a weighted gene co-expression network from a bulk expression matrix and a sample group file, filtering variable genes by MAD, identifying co-expression modules with WGCNA, correlating modules with traits, and exporting module-level plots and gene tables. NOT for single-cell RNA-seq, differential…

aipoch/medical-research-skills · 85 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