contact-distance-binning-logarithmic

contact-distance-binning-logarithmic is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 53 tokens per session (1,309 once invoked), scanned A, original, Apache-2.0.

A method for grouping genomic contact-frequency measurements into logarithmically spaced distance ranges. Genomic contact frequency describes how often two DNA regions interact at different distances.

In plain words
What is it for?
Processing a precomputed TSV table from cooler files into a log-binned P(s) contact-probability curve, where P(s) shows contact probability by genomic distance.
Why use it?
It compresses a large, noisy table into a smoother curve that is easier to plot and analyse across many distance scales.

Skill for Claude CodeCodex

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

Good fit Processing a precomputed TSV table from cooler files into a log-binned P(s) contact-probability curve, where P(s) shows contact probability by genomic distance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/contact-distance-binning-logarithmic
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 contact-distance-binning-logarithmic
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 contact-distance-binning-logarithmic

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/contact-distance-binning-logarithmic"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/contact-distance-binning-logarithmic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,309 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.
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.00053 $0.01309
Opus 5 $0.00026 $0.00655
Sonnet 5 $0.00011 $0.00262
Haiku 4.5 $0.00005 $0.00131

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

Security

Grade A, and why

contact-distance-binning-logarithmic 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 11d 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/contact-distance-binning-logarithmic/SKILL.md · 87 lines

How it starts

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

contact-distance-binning-logarithmic

Summary

Apply logarithmic binning to genomic distance values in a precomputed contact frequency table, grouping distances into log-spaced bins and smoothing contact frequencies within each bin to produce a log-binned P(s) contact probability curve. This skill is essential for compressing high-resolution Hi-C contact data into a manageable number of distance-dependent bins suitable for downstream analysis.

When to use

You have a precomputed expected contact frequency table (TSV format with columns: dist_bp, contact_frequency, n_valid) derived from cooler files and need to compress distance-dependent contact probabilities into log-spaced bins. This is necessary when you want to plot or analyze the P(s) curve (contact probability as a function of genomic distance) with reduced noise and improved interpretability, particularly when the raw frequency table spans multiple orders of magnitude in genomic distance.

When NOT to use

  • The input is already a log-binned contact probability table or does not require smoothing.
  • You need per-bin contact counts for individual genomic regions rather than genome-wide expected contact frequency.
  • The precomputed expected table is in a non-standard format lacking the required dist_bp and contact_frequency columns.

Inputs

  • precomputed expected_cis table (TSV format with columns: dist_bp, contact_frequency, n_valid)

Outputs

  • log-binned and smoothed P(s) table (TSV with columns: dist_bp, count.avg.smoothed, and bin statistics)

How to apply

Load the precomputed expected_cis table (TSV) containing dist_bp, contact_frequency, and n_valid columns. Apply the cooltools logbin_expected function, which performs logarithmic binning by grouping distance values into log-spaced bins and applies an integrated smoothing algorithm to each bin's contact frequencies. The function computes the mean smoothed contact frequency for each log bin, outputting a reduced table with binned distance (dist_bp), mean smoothed contact frequency (count.avg.smoothed), and associated bin statistics. Save the output as a TSV file with appropriate numeric precision. The logarithmic binning is motivated by the observation that Hi-C contact frequencies follow a power-law decay with distance; log-spacing ensures equal representation across the range of distances while the smoothing algorithm reduces noise within each bin.

Read the full file on GitHub · 87 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. 11d ago First seen · 87 lines · 53 tokens per session scan A 9d1ea75a9466

Subscribe to this mod's changes

contact-distance-binning-logarithmic is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 1,309 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

cibersort-immune-infiltration-analysis

Use when estimating relative immune cell infiltration from a bulk expression matrix with a CIBERSORT-style nu-SVR deconvolution workflow based on an LM22 signature matrix, comparing one case group against one control group, and generating structured tables plus immune-fraction plots. NOT for single-cell RNA-seq…

aipoch/medical-research-skills · 92 tokens

cerna-analysis

Use when building a ceRNA regulatory network from a key gene list by combining bundled miRNA-mRNA and miRNA-lncRNA database files, with flat-file CSV exports and PDF visualization in a single output directory. NOT for: differential expression, single-cell analysis, enrichment analysis, or workflows without a key gene…

aipoch/medical-research-skills · 68 tokens

gene-protein-expression-matrix-normalization

Use when normalizing bulk gene or protein expression matrices with log2 transform, z-score standardization, or min-max scaling before downstream visualization or exploratory analysis. NOT for count-model normalization such as TPM/DESeq2 size factors, batch correction, or single-cell preprocessing.

aipoch/medical-research-skills · 63 tokens

primekg

Query the Precision Medicine Knowledge Graph (PrimeKG) for multiscale biological relationships across genes and proteins, drugs, diseases, phenotypes, pathways, biological processes, exposures and anatomy. Use this skill to search entities by name, pull direct neighbours and their evidence types, summarise the local…

K-Dense-AI/drug-discovery-agent-skills · 121 tokens

rdkit-qsar-pharmacophore

Computes 2048-bit ECFP4 Morgan fingerprints from SMILES, trains LightGBM regressors for pIC50 prediction, and extracts SHAP feature attributions.

YuliaNuzhnenko/bioinformatics-agent-skills · 46 tokens

plotly-interactive-plots

Interactive scientific visualization with Plotly. Two APIs: plotly.express (px) for one-liner DataFrame plots, plotly.graphobjects (go) for trace-level control. 40+ chart types with hover, zoom, pan, animation. Exports HTML or static PNG/SVG/PDF via kaleido. Use for volcano plots with gene hover, dose-response…

jaechang-hits/SciAgent-Skills · 105 tokens