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

bulk-rna-seq-differential-expression-with-omicverse使用 omicverse 进行批量 rna seq 差异表达

Agent Skill

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

总安装

1,211

周安装

34

GitHub Stars

964

下载量

280
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

bulk-rna-seq-differential-expression-with-omicverse 提供端到端的差异基因分析方案。

  • 支持多种 ID 转换方式,自动下载 Ensembl 映射文件。
  • 集成火山图、热图和 GO 富集分析,全面解读结果。
  • 适用于肿瘤 vs 正常、处理组 vs 对照组等经典比较场景。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Bulk RNA-seq differential expression with omicverse

Overview

Follow this skill to run the end-to-end differential expression (DEG) workflow showcased in t_deg.ipynb. It assumes the user provides a raw gene-level count matrix (e.g., from featureCounts) and wants to analyse bulk RNA-seq cohorts inside omicverse.

Instructions

  1. Set up the session

- Import omicverse as ov, scanpy as sc, and matplotlib.pyplot as plt. - Call ov.plot_set() so downstream plots adopt omicverse styling.

  1. Prepare ID mapping assets

- When gene IDs must be converted to gene symbols, instruct the user to download mapping pairs via ov.utils.download_geneid_annotation_pair() and store them under genesets/. - Mention the available prebuilt genomes (T2T-CHM13, GRCh38, GRCh37, GRCm39, danRer7, danRer11) and that users can generate their own mapping from GTF files if needed.

  1. Load the raw counts

- Read tab-delimited featureCounts output with ov.pd.read_csv(..., sep='\t', header=1, index_col=0). - Strip trailing .bam segments from column names using list comprehension so sample IDs are clean.

  1. Map gene identifiers

- Run ov.bulk.Matrix_ID_mapping(counts_df, 'genesets/pair_<GENOME>.tsv') to replace gene_id entries with gene symbols.

  1. Initialise the DEG object

- Create dds = ov.bulk.pyDEG(mapped_counts). - Handle duplicate gene symbols with dds.drop_duplicates_index() to keep the highest expressed version.

  1. Normalise and estimate size factors

- Execute dds.normalize() to calculate DESeq2 size factors, correcting for library size and batch differences.

  1. Run differential testing

- Collect treatment and control replicate labels into lists. - Call dds.deg_analysis(treatment_groups, control_groups, method='ttest') for the default Welch t-test. - Offer optional alternatives: method='edgepy' for edgeR-like tests and method='limma' for limma-style modelling.

  1. Filter and threshold results

- Note that lowly expressed genes are retained by default; filter using dds.result.loc[dds.result['log2(BaseMean)'] > 1] when needed. - Set dynamic fold-change and significance cutoffs via dds.foldchange_set(fc_threshold=-1, pval_threshold=0.05, logp_max=6) (fc_threshold=-1 auto-selects based on log2FC distribution).

  1. Visualise differential expression

- Produce volcano plots with dds.plot_volcano(title=..., figsize=..., plot_genes=... or plot_genes_num=...) to highlight key genes. - Generate per-gene boxplots using dds.plot_boxplot(genes=[...], treatment_groups=..., control_groups=..., figsize=..., legend_bbox=...); adjust y-axis tick labels if required.

  1. Perform pathway enrichment (optional)

- Download curated pathway libraries through ov.utils.download_pathway_database(). - Load genesets with ov.utils.geneset_prepare(<path>, organism='Mouse'|'Human'|...). - Build the DEG gene list from dds.result.loc[dds.result['sig']!= 'normal'].index. - Run enrichment with ov.bulk.geneset_enrichment(gene_list=deg_genes, pathways_dict=..., pvalue_type='auto', organism=...). Encourage users without internet access to provide a background gene list. - Visualise single-library results via ov.bulk.geneset_plot(...) and combine multiple ontologies using ov.bulk.geneset_plot_multi(enr_dict, colors_dict, num=...).

  1. Document outputs

- Suggest exporting dds.result and enrichment tables to CSV for downstream reporting. - Encourage users to save figures generated by matplotlib (plt.savefig(...)) when running outside notebooks.

  1. Defensive validation # Before DEG: verify treatment/control groups exist as column names all_cols = set(dds.result.columns) if hasattr(dds, 'result') else set(counts_df.columns) for g in treatment_groups + control_groups: assert g in all_cols, f"Sample '{g}' not found in count matrix columns" # Verify groups don't overlap assert not set(treatment_groups) & set(control_groups), "Treatment and control groups must not overlap"
  2. Troubleshooting tips

- Ensure sample labels in treatment_groups/control_groups exactly match column names post-cleanup. - Verify required packages (omicverse, pyComplexHeatmap, gseapy) are installed for enrichment visualisations. - Remind users that internet access is required the first time they download gene mappings or pathway databases.

Examples

  • "I have a featureCounts matrix for mouse tumour samples—normalize it with DESeq2, run t-test DEG, and highlight the top 8 genes in a volcano plot."
  • "Use omicverse to compute edgeR-style differential expression between treated and control replicates, then run GO enrichment on significant genes."
  • "Guide me through converting Ensembl IDs to symbols, performing limma DEG, and plotting boxplots for Krtap9-5 and Lef1."

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.14%
按下载量换算101

Claude

27.82%
按下载量换算78

Cursor

17.23%
按下载量换算48

Gemini CLI

9.82%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills