Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计提醒

bulk-rna-seq-deseq2-analysis-with-omicverse使用 omicverse 进行批量 rna seq deseq2 分析

Agent Skill

bulk-rna-seq-deseq2-analysis-with-omicverse 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,088

周安装

44

GitHub Stars

964

下载量

341
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bulk-rna-seq-deseq2-analysis-with-omicverse(使用 omicverse 进行批量 rna seq deseq2 分析)
来源仓库:https://github.com/starlitnightly/omicverse
仓库路径:skills/bulk-rna-seq-deseq2-analysis-with-omicverse
安装命令:
npx skills add https://github.com/starlitnightly/omicverse --skill bulk-rna-seq-deseq2-analysis-with-omicverse
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/starlitnightly/omicverse --skill bulk-rna-seq-deseq2-analysis-with-omicverse

简介

bulk-rna-seq-deseq2-analysis-with-omicverse 执行 DESeq2 差异表达分析全流程。

  • 处理 featureCounts 生成的原始计数矩阵,映射基因 ID 到符号。
  • 调用 PyDESeq2 进行分析,并提供富集可视化结果。
  • 需准备 TSV 格式表达数据和样本分组信息方可运行。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Bulk RNA-seq DESeq2 analysis with omicverse

Overview

Use this skill when a user wants to reproduce the DESeq2 workflow showcased in t_deseq2.ipynb. It covers loading raw featureCounts matrices, mapping Ensembl IDs to symbols, running PyDESeq2 via ov.bulk.pyDEG, and exploring downstream enrichment plots.

Instructions

  1. Import and format the expression matrix

- Call import omicverse as ov and ov.style() to standardise visuals. - Read tab-separated count data from featureCounts using ov.io.read(..., index_col=0, header=1). - Strip trailing .bam from column names with [c.split('/')[-1].replace('.bam', '') for c in data.columns].

  1. Map gene identifiers

- Ensure the appropriate mapping pair exists by running ov.utils.download_geneid_annotation_pair(). - Replace gene_id with gene symbols using ov.bulk.Matrix_ID_mapping(data, 'genesets/pair_<GENOME>.tsv').

  1. Initialise the DEG object

- Create dds = ov.bulk.pyDEG(data) from the mapped counts. - Resolve duplicate gene names with dds.drop_duplicates_index() and confirm success in logs.

  1. Define contrasts and run DESeq2

- Collect sample labels into treatment_groups and control_groups lists that match column names exactly. - Execute dds.deg_analysis(treatment_groups, control_groups, method='DEseq2') to invoke PyDESeq2.

  1. Filter and tune thresholds

- Inspect result shape (dds.result.shape) and optionally filter low-expression genes, e.g. dds.result.loc[dds.result['log2(BaseMean)'] > 1]. - Set thresholds via dds.foldchange_set(fc_threshold=-1, pval_threshold=0.05, logp_max=6) to auto-pick fold-change cutoffs.

  1. Visualise differential genes

- Draw volcano plots with dds.plot_volcano(...) and summarise key genes. - Produce per-gene boxplots: dds.plot_boxplot(genes=[...], treatment_groups=..., control_groups=..., figsize=(2, 3)).

  1. Run enrichment analyses (optional)

- Download enrichment libraries using ov.utils.download_pathway_database() and load them through ov.utils.geneset_prepare. - Rank genes for GSEA with rnk = dds.ranking2gsea(). - Instantiate gsea_obj = ov.bulk.pyGSEA(rnk, pathway_dict) and call gsea_obj.enrichment() to compute terms. - Plot enrichment bubble charts via gsea_obj.plot_enrichment(...) and GSEA curves with gsea_obj.plot_gsea(term_num=...,...).

  1. Defensive validation # Before PyDESeq2: verify count matrix contains raw integers (not log-transformed) import numpy as np if hasattr(data, 'values'): sample = data.values.flatten()[:1000] else: sample = np.array(data).flatten()[:1000] if np.any(sample!= sample.astype(int)): print("WARNING: Data may not be raw counts. PyDESeq2 requires integer counts, not log-transformed.") # Verify treatment/control groups match column names for g in treatment_groups + control_groups: assert g in data.columns, f"Sample '{g}' not in count matrix columns: {list(data.columns)}"
  2. Troubleshooting

- If PyDESeq2 raises errors about size factors, remind users to provide raw counts (not log-transformed data). - gene_id mapping depends on species; direct them to download the correct genome pair when results look sparse. - Large pathway libraries may require raising recursion limits or filtering to the top N terms before plotting.

Examples

  • "Run PyDESeq2 on treated vs control replicates and highlight the top enriched WikiPathways terms."
  • "Filter DEGs to genes with log2(BaseMean) > 1, auto-select fold-change cutoffs, and create volcano and boxplots."
  • "Generate the ranked gene list for GSEA and plot the enrichment curve for the top pathway."

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.56%
按下载量换算131

Claude

27.83%
按下载量换算95

Cursor

20.2%
按下载量换算69

Gemini CLI

9.97%
按下载量换算34

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills