bed-format-generation-from-dataframe

bed-format-generation-from-dataframe is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 55 tokens per session (1,391 once invoked), scanned A, original, Apache-2.0.

A procedure for converting genomic measurements in a pandas DataFrame into BED files, a text format used to describe genome regions.

In plain words
What is it for?
It is for exporting coordinates and annotations such as insulation scores or boundary calls for tools including IGV and UCSC Genome Browser.
Why use it?
It turns extracted genomic features into a format that genome browsers and interval-analysis tools can read.

Skill for Claude CodeCodex

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

Good fit It is for exporting coordinates and annotations such as insulation scores or boundary calls for tools including IGV and UCSC Genome Browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/bed-format-generation-from-dataframe
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 bed-format-generation-from-dataframe
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 bed-format-generation-from-dataframe

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/bed-format-generation-from-dataframe.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/bed-format-generation-from-dataframe)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/bed-format-generation-from-dataframe"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/bed-format-generation-from-dataframe.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,391 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.00055 $0.01391
Opus 5 $0.00028 $0.00696
Sonnet 5 $0.00011 $0.00278
Haiku 4.5 $0.00006 $0.00139

Measured 8d ago against content hash 4a360c20a8fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bed-format-generation-from-dataframe 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 8d 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/bed-format-generation-from-dataframe/SKILL.md · 97 lines

How it starts

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

BED-format generation from dataframe

Summary

Convert a pandas DataFrame containing genomic coordinates and annotations (such as insulation scores and boundary calls from Hi-C analysis) into BED format for downstream visualization and analysis. This skill bridges computational feature extraction and standard genome browser interchange.

When to use

You have extracted quantitative genomic features (e.g., insulation scores, boundary annotations) as a pandas DataFrame with bin coordinates and boolean or numeric columns, and need to export them as BED format for visualization in genome browsers (e.g., IGV, UCSC) or for intersection with other genomic interval datasets.

When NOT to use

  • Input data is not a pandas DataFrame or does not contain coordinate columns (chrom, start, end).
  • Feature columns are already in a compressed or binary format (e.g., HDF5, bigBed) — convert back to text-based BED only if re-annotation is needed.
  • Coordinates are already 1-based (use conversion or validation to confirm 0-based half-open convention before writing).

Inputs

  • pandas DataFrame with bin coordinates (chrom, chromStart, chromEnd columns)
  • Feature columns (e.g., is_boundary_*, insulation_score, numeric or boolean annotations)

Outputs

  • BED-format text file (.bed) with tab-delimited columns: chrom, chromStart, chromEnd, [name], [score], [strand]
  • Validated BED file suitable for genome browser visualization and downstream analysis

How to apply

Start with a pandas DataFrame containing at minimum three columns: region/bin start coordinate, region/bin end coordinate, and a feature column (e.g., boolean is_boundary flag or numeric insulation score). Select or rename columns to align with BED format requirements (chrom, chromStart, chromEnd, and optional name/score/strand fields). Convert numeric or boolean feature columns to appropriate score values (e.g., 1/0 for boundaries or scaled insulation values). Write the DataFrame to a tab-delimited text file with .bed extension, ensuring coordinates are 0-based half-open intervals as per BED specification. Validate the output by checking that (1) row count matches input, (2) coordinate columns are numeric and properly ordered, (3) file is tab-delimited, and (4) the file can be loaded into a genome browser or validated with bedtools.

Read the full file on GitHub · 97 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. 8d ago First seen · 97 lines · 55 tokens per session scan A 4a360c20a8fa

Subscribe to this mod's changes

bed-format-generation-from-dataframe is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 1,391 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

estimate-immune-score-analysis

Use this skill to compute ESTIMATE immune-related microenvironment scores from a bulk expression matrix, generate an ESTIMATE score heatmap, and optionally generate group-wise ESTIMATE score boxplots plus significance tables when a sample group file is supplied. Trigger keywords: ESTIMATE, immune score, stromal score…

aipoch/medical-research-skills · 90 tokens

external-model-validation

Use when validating an existing prognostic risk signature on an external bulk expression cohort with survival outcomes, producing risk scores, Kaplan-Meier curves, risk distribution plots, heatmap, and time-dependent ROC curves. NOT for: model training, feature selection, nomogram construction, calibration analysis…

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