Rna Seq Analysis logo

Rna Seq Analysis

Organization
awslabs
rna-seq-analysis

Bulk RNA-seq analysis pipeline covering alignment (STAR), quantification (Salmon, featureCounts), and differential expression (DESeq2). Triggers on RNA-seq, STAR, Salmon, DESeq2, differential expression, gene expression, tximport, featureCounts, transcriptomics, "bulk RNA-seq", "STAR alignment", "Salmon quantification", "gene counts", "DESeq2 results", "shrinkage estimator", "volcano plot RNA-seq".

Overview

Publisherawslabs
Repositoryhcls-agent-skills
Skill namerna-seq-analysis
Stars
71
Forks
14
Bundled files
1
LicenseMIT-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.

  • 1 bundled files

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

  • Open source

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

Installation

Install the Rna Seq Analysis 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/awslabs/hcls-agent-skills/tree/main/skills/rna-seq-analysis
  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/awslabs/hcls-agent-skills.git /tmp/hcls-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hcls-agent-skills/skills/rna-seq-analysis .claude/skills/rna-seq-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rna Seq Analysis 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 Rna Seq Analysis 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 Rna Seq Analysis 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.

RNA-seq Analysis — Pipeline Skill (Thin Scaffold)

Overview

Adds decision logic for choosing quantification paths (STAR vs Salmon), strandedness determination, and DESeq2 modeling pitfalls that LLMs routinely get wrong.

Usage

  • Activate when choosing between alignment-based (STAR+featureCounts) vs alignment-free (Salmon) quantification
  • Activate when setting up DESeq2 from either count source
  • Activate when debugging unexpected low counts or weak DE signal

Core Concepts

Decision Logic

Need BAMs? (variant calling, fusions, novel transcripts)
├── YES → STAR two-pass + featureCounts
└── NO → Salmon (faster, lower RAM, bias-corrected)

Salmon output → DESeq2:
└── Use DESeqDataSetFromTximport (preserves length offset)
    └── NEVER round txi$counts and pass to DESeqDataSetFromMatrix

Filtering strategy (VQSR equivalent):
├── ≥30 samples → VQSR-like (default DESeq2 shrinkage works well)
└── <30 samples → still works, but pre-filter aggressively

Strandedness determination (MUST verify before counting):

KitfeatureCounts -sSalmon -l
TruSeq Stranded / dUTP2ISR (PE) / SR (SE)
Ligation / forward1ISF / SF
Unstranded0IU / U

Verify with: infer_experiment.py (RSeQC) or Salmon's lib_format_counts.json.

Critical Parameters

ParameterValueWhen to change
--sjdbOverhangreadLength - 1 (default 100)Non-100bp reads
--twopassMode BasicAlways for DESkip only for speed in QC runs
Salmon --gcBias --seqBiasAlways onNever skip for Illumina
Salmon --validateMappingsAlways onEnables selective alignment
featureCounts -sKit-dependentALWAYS verify empirically
DESeq2 pre-filterrowSums(counts >= 10) >= smallest_groupAdjust 10 for shallow sequencing
lfcShrink type"apeglm"Use "ashr" for arbitrary contrasts
Design formula~ batch + condition (interest LAST)Always put interest term last

Common Mistakes

  • Wrong: Guessing strandedness (-s) instead of verifying empirically Right: Check with infer_experiment.py or Salmon lib_format_counts.json before running featureCounts Why: Wrong strandedness causes 2–10× lower counts and weak DE signal

  • Wrong: Passing normalized counts (TPM, FPKM, CPM) to DESeq2 Right: Always start from raw integer counts Why: Normalized values break the negative-binomial model

  • Wrong: Rounding txi$counts and passing to DESeqDataSetFromMatrix Right: Use DESeqDataSetFromTximport(txi, ...) which preserves the length offset Why: Rounding discards per-gene length correction for transcript-length bias

  • Wrong: Placing variable of interest first in design (~ condition + batch) Right: Put interest last: ~ batch + condition Why: DESeq2 tests the last term by default

  • Wrong: Assuming DESeq2 reorders samples to match Right: Assert stopifnot(all(colnames(cts) == rownames(coldata))) before creating DESeq object Why: DESeq2 silently mislabels samples if order doesn't match

  • Wrong: Skipping pre-filtering of low-count genes Right: Filter with rowSums(counts(dds) >= 10) >= smallest_group_size Why: Near-zero genes inflate runtime and dilute multiple-testing correction

  • Wrong: Using STAR ReadsPerGene.out.tab column 2 for stranded libraries Right: Use column 3 (forward) or column 4 (reverse) matching your kit Why: Column 2 is unstranded; using it for stranded data halves effective counts

  • Wrong: Including samples with <10M mapped reads or <70% mapping rate Right: Exclude or flag before fitting Why: Low-quality samples distort size factors and dispersion estimates

  • Wrong: Modeling when batch is perfectly confounded with condition Right: Check table(coldata$batch, coldata$condition) first Why: No statistical model can separate perfectly correlated effects

Response Format

  • Lead with the command or code the user needs — explain after
  • Structure as: confirm inputs → working code → key parameters explained → gotchas
  • One complete working example per task; do not show every alternative
  • Keep code comments minimal and functional (what, not why-it-exists)
  • Target: 50-100 lines of code with brief surrounding explanation

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 Rna Seq Analysis AI skill do?

Bulk RNA-seq analysis pipeline covering alignment (STAR), quantification (Salmon, featureCounts), and differential expression (DESeq2). Triggers on RNA-seq, STAR, Salmon, DESeq2, differential expression, gene expression, tximport, featureCounts, transcriptomics, "bulk RNA-seq", "STAR alignment", "Salmon quantification", "gene counts", "DESeq2 results", "shrinkage estimator", "volcano plot RNA-seq".

Why use Rna Seq Analysis on TypingMind?

Because you install it once and use it with any model. Rna Seq Analysis 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 Rna Seq Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/awslabs/hcls-agent-skills/tree/main/skills/rna-seq-analysis. 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 Rna Seq Analysis?

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 Rna Seq Analysis?

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

Is the Rna Seq Analysis AI skill free?

Yes. It is published on GitHub by awslabs under the MIT-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 👇