Count Based Differential Expression logo

Count Based Differential Expression

Community
SteveTangent
count-based-differential-expression

Analyze raw count matrices and sample metadata for one declared differential-expression contrast. Use the bounded local DESeq2 adapter when compatible; exclude FASTQ processing, enrichment and cross-adapter parity claims.

Overview

PublisherSteveTangent
Repositorygoose-bio-skills
Skill namecount-based-differential-expression
Stars
64
Forks
0
Bundled files
8
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SteveTangent on GitHub. Read the source before you install it.

Installation

Install the Count Based Differential Expression AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/count-based-differential-expression
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SteveTangent/goose-bio-skills.git /tmp/goose-bio-skills
mkdir -p .claude/skills
cp -r /tmp/goose-bio-skills/skills/count-based-differential-expression .claude/skills/count-based-differential-expression
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Count Based Differential Expression in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Count Based Differential Expression on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Count Based Differential Expression is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Count-based Differential Expression

Preview + reviewed; the helper self-test and one small public-data execution smoke check passed. Agent evaluation, scientific benchmarking and expert review were not performed.

Execution behavior

Use supplied and safely inspected facts first. Explain an unfamiliar term only when it changes the decision. If a critical fact is missing or inconsistent, follow the dialogue guide: ask one focused question, explain why, recommend a defensible route, and wait on dependent work. Continue independent authorized work; never guess scientific facts or repeat a resolved question. With complete inputs, proceed. Show relevant figures/tables and their meaning; preserve the host's permissions and the boundaries below. Finish with outputs, key findings and concrete remaining limits.

Detailed scope: A user has declared raw counts plus sample metadata and needs a group or covariate differential-expression analysis. Exclude: FASTQ-to-count processing; pathway enrichment; assuming two software adapters are numerically identical.

Owns

Estimate a declared contrast from counts with a defensible design, diagnostics and multiple-testing record. Apply the detailed scope below.

Inputs

  • feature-by-sample count matrix
  • sample metadata
  • design formula and target contrast
  • filtering and independent-filter policy

Intake

Inspect inputs, tools, versions, and safe metadata first. Ask one unresolved result-changing question with a recommendation, then wait. Continue approved safe local work; seek permission for new material side effects.

Decision order:

  1. primary-contrast. What is the primary differential-expression contrast? Recommended: Declare one estimable contrast before fitting the model.

Bounded local execution

Read the adapter contract before using the bundled helper. Require explicit count semantics, contrast, covariate, filtering and diagnostic policies. It accepts one two-level contrast and at most one categorical adjustment; unsupported designs stay with a separately declared adapter. Tool installation is outside this helper.

text
python3 scripts/run_count_de.py --counts COUNTS.tsv --metadata SAMPLES.tsv \
  --output NEW_REPORT.json --numerator TREATED --denominator CONTROL \
  --covariate BATCH_COLUMN --alpha 0.05 --min-count 10 --min-samples 3 \
  --fit-type local --independent-filtering enabled --cooks-cutoff enabled \
  --deseq2-version 1.52.0

Values above illustrate an explicitly chosen analysis, not scientific defaults. Omit --covariate only when the declared design has no adjustment term.

Workflow

  1. Validate counts, sample alignment, replication and design rank.
  2. Resolve the target contrast and blocking or batch terms from supplied facts; ask only when missing.
  3. Fit one declared count model with recorded versions and settings.
  4. Report effects, uncertainty, diagnostics, multiplicity and limitations.
  5. Without a compatible declared adapter, return needs-tool or dry-run; never imply execution.

Output contract

Return completed, dry-run, needs-tool, or invalid-input. completed includes:

  • effect sizes, uncertainty, raw and adjusted significance
  • design and contrast record
  • QC, dispersion, outlier and confounding diagnostics

Record fingerprints, parameters, versions, warnings, limitations, and remaining judgment. Never fabricate a run.

Next outputs

For requested follow-up work, hand the completed result to the local identifier mapping Skill, then choose ORA or complete-ranking GSEA according to the question. Use the visualization Skill for figures and the reporting Skill for a source-linked summary. Do not run every downstream step automatically when only DE was requested.

Runtime and scientific boundaries

Read runtime-boundaries.md. Network adapters disclose provider, purpose, data sent, and credentials; no silent fallback.

Guardrails

  • Require raw counts or a declared transcript-estimate import contract, sample alignment, biological replication, and an estimable full-rank design
  • Declare the exact contrast, filtering, normalization, outlier, shrinkage, and multiplicity policy
  • Write only to a user-approved new output location; never mutate inputs or overwrite a path
  • Partial output is never completed; use the truthful non-completed status
  • Record skipped complex-tool execution as unverified, never as passed
  • Keep credentials, private paths, patient and controlled data out of artifacts
  • Require researcher review for biological interpretation; no clinical authority

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Count Based Differential Expression AI skill do?

Analyze raw count matrices and sample metadata for one declared differential-expression contrast. Use the bounded local DESeq2 adapter when compatible; exclude FASTQ processing, enrichment and cross-adapter parity claims.

Why use Count Based Differential Expression on TypingMind?

Because you install it once and use it with any model. Count Based Differential Expression is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Count Based Differential Expression in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/count-based-differential-expression. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Count Based Differential Expression?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Count Based Differential Expression?

As many as you like. As long as a model supports skills, you can use Count Based Differential Expression with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Count Based Differential Expression AI skill free?

Yes. It is published on GitHub by SteveTangent under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇