跳到正文
cccskills
免费在 GitHub 公开

ngs-bulk-rnaseq-differential-expression

Plan or run bulk RNA-seq analysis to find genes whose expression differs between conditions. Check sample replication, study design, batch effects, and data quality, then produce comparison tables, diagnostic plots, and ranked gene lists.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Run or plan bulk RNA-seq differential-expression analysis from count matrices with replicate, design formula, contrast, batch, normalization, QC plot, and result-table checks.

查看安装方法

适用场景

  • Comparing gene expression between experimental conditions
  • Planning analyses with donor pairing or batch variables
  • Checking sample quality with PCA and distance plots
  • Preparing ranked gene tables and GSEA-ready lists

包含的文件(2)

  • SKILL.md3.5 KB
  • agents/openai.yaml268 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Bulk RNA-seq Differential Expression

Use this skill when the user has raw counts or a count-generation output and wants differential expression, contrasts, QC plots, or ranked gene tables.

Essential Inputs

Confirm:

  • raw count matrix path and sample metadata path
  • gene ID type and annotation mapping requirement
  • biological conditions, replicates, batch variables, donor pairing, covariates, and exclusions
  • exact contrasts and baseline levels
  • preferred statistical framework: DESeq2, edgeR, limma-voom, or existing lab standard
  • output needs: normalized counts, PCA, sample distance, volcano plots, heatmaps, ranked tables, GSEA-ready lists

Preconditions

Do not start differential expression until:

  • raw counts are preserved
  • each requested contrast has enough biological replication
  • sample metadata row names match count matrix columns
  • batch/covariate choices are explicit
  • exploratory PCA/sample-distance plots do not reveal obvious swaps or failed libraries

Route

For most count matrices, use DESeq2 or edgeR. Use limma-voom when the study design or lab standard favors it. Keep the analysis in R when using Bioconductor unless the user specifically asks for a Python-only workflow.

The plugin-owned local runner is:

python plugins/ngs-analysis/scripts/run_bulk_rnaseq_de.py \
  --count-matrix count_matrix.tsv \
  --sample-metadata sample_metadata.tsv \
  --contrasts contrasts.tsv \
  --execute

Use --method auto unless the user or lab standard specifies DESeq2, edgeR, or limma_log2. Auto mode uses DESeq2 when integer-like counts and the package are available, falls back to edgeR for integer-like counts, and uses limma_log2 for non-integer expression matrices.

Use --input-mode to declare whether the matrix is raw_counts, normalized_expression, or log_expression. When --input-mode auto is used, the runner infers the mode and records a warning if normalization is skipped because the matrix is already transformed.

Preflight command:

python plugins/ngs-analysis/scripts/ngs_preflight.py --pipeline bulk_rnaseq_differential_expression --emit-install-plan

Decision Points

  • Never compare groups without stating the design formula and contrast.
  • Treat batch correction in modeling separately from visual batch removal.
  • Do not filter genes using post-hoc knowledge of the contrast.
  • For paired or repeated-measures designs, model subject/donor explicitly.
  • Report genes with effect size, uncertainty, adjusted p-value, and filtering status.

Outputs

Produce:

  • design formula and contrast manifest
  • QC plots: library size, detected genes, PCA/sample distance, mean-variance trend, and outlier review
  • input-mode-aware matrix exports plus the modeling/log-scale matrix used for DE
  • differential-expression tables per contrast
  • explicit .not_tested.tsv stubs for contrasts blocked by insufficient replication or confounding
  • auto-launched localhost Marimo review app recorded in notebooks/marimo_server.json
  • caveats for small n, confounded designs, failed samples, or batch variables that cannot be estimated
  • standard run envelope: run_manifest.json, config.json, validation/, logs/, versions/, visualizations/, notebooks/, artifact_index.json, and summary.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review charts, diagrams, and dashboards for accessibility, including color contrast, keyboard access, and text alternatives. Get specific guidance for preserving key findings in screen readers, static exports, and reduced-motion views.

中文简介正在准备中。当前显示英语简介。

  • Reviewing dashboard colors and keyboard access
  • Writing chart alt text and long descriptions
  • Preparing accessible figures for PDF reports
openai/plugins75062026年10月8日 更新

Give a photo collection a consistent look using Adobe tools to adjust color, tone, presets, and optional crops. Review a before-and-after sample before processing the full set, then receive links to the edited images.

中文简介正在准备中。当前显示英语简介。

  • Giving travel photos a consistent look
  • Unifying photos taken in mixed lighting
  • Applying a warm or cinematic style across a photo set
openai/plugins75062026年10月8日 更新

Visualize a logo, sketch, or design on products such as mugs, shirts, and business cards. Review a pilot image, generate a visually consistent set, and collect the results on a shareable Firefly Board.

中文简介正在准备中。当前显示英语简介。

  • Preview a logo on mugs and shirts
  • Turn a hand-drawn sketch into product mockups
  • Create consistent brand presentation images
openai/plugins75062026年10月8日 更新

Prepare images and videos for social platforms using Adobe tools. Create image crops that keep the subject in view, expand backgrounds when available, preview a full-set sample, and resize videos while preserving their aspect ratio.

中文简介正在准备中。当前显示英语简介。

  • Creating image variants for multiple social platforms
  • Cropping photos for Instagram Stories
  • Preparing LinkedIn images and YouTube thumbnails
openai/plugins75062026年10月8日 更新

Create flyers, social posts, business cards, and other visuals from Adobe Express templates. Choose a template, customize its text and background color, and receive a design link, with additional editing and export options depending on the available tools.

中文简介正在准备中。当前显示英语简介。

  • Creating an event flyer
  • Designing an Instagram post
  • Customizing business card text and colors
openai/plugins75062026年10月8日 更新

Turn an uploaded video into three highlight edits with Adobe Quick Cut. Choose a target length and style, then compare versions that feature different moments and download the ones you prefer.

中文简介正在准备中。当前显示英语简介。

  • Creating a short highlight video for social media
  • Condensing interview footage into a highlight reel
  • Comparing three edits with different moment selections
openai/plugins75062026年10月8日 更新

查看 openai 的全部技能

报告此技能的问题