TCGA bulk data preprocessing with omicverse

Preprocess TCGA bulk data into annotated AnnData objects with expression and clinical metadata.

1.2k|145|Updated Mar 22, 2021
One-click install
npx skills add https://github.com/Starlitnightly/omicverse --skill tcga-bulk-data-preprocessing-with-omicverse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TCGA bulk data preprocessing with omicverse
Source: https://github.com/Starlitnightly/omicverse/tree/main/.claude/skills/tcga-preprocessing
Command: npx skills add https://github.com/Starlitnightly/omicverse --skill tcga-bulk-data-preprocessing-with-omicverse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires omicverse, scanpy, pandas, matplotlib, and includes references (resource) components.

What problem does it solves? Working with TCGA data involves navigating complex file structures, integrating diverse data types (expression, clinical, sample sheets), and preparing it for survival analysis. This Skill automates the entire preprocessing and survival analysis setup, saving significant manual effort.

Core Features & Use Cases

  • Automated Data Ingestion: Ingest TCGA sample sheets, expression archives, and clinical information into a unified AnnData object.
  • Metadata Initialization: Initialize AnnData objects with raw counts, FPKM, and TPM layers, and attach patient clinical data.
  • Survival Analysis Setup: Automatically prepare and integrate survival attributes for downstream analyses.
  • Gene-Level Survival Analysis: Plot and analyze gene-level survival curves using DESeq-normalized counts.
  • Use Case: Load a TCGA ovarian cancer dataset, preprocess all expression and clinical files, then perform survival analysis for a specific gene like MYC, and export the fully annotated AnnData object for further research.

Quick Start

Load my TCGA OV dataset, initialize clinical metadata, and plot the survival curve for the gene 'MYC'.

Frequently Asked Questions about TCGA bulk data preprocessing with omicverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preprocess TCGA bulk RNA-seq data for survival analysis?

Preprocess TCGA bulk RNA-seq data by ingesting sample sheets, expression archives, and clinical metadata into an AnnData object with raw counts, FPKM, and TPM layers, then attach patient clinical attributes for survival analysis. This Skill automates the entire workflow from file ingestion through metadata initialization to gene-level survival curve generation.

Can I use omicverse to load and normalize TCGA expression data with clinical metadata?

Yes. omicverse, combined with scanpy and pandas, enables loading TCGA expression matrices and clinical data into a unified AnnData object with multiple normalization layers (raw counts, FPKM, TPM) and attached sample and patient metadata for integrated analysis.

What's the best way to prepare TCGA cancer genomics data for downstream analysis?

Load your TCGA sample sheet, decompressed expression archives, and clinical cart into an annotated AnnData object with initialized expression layers and survival attributes. This unified format streamlines downstream gene-level analysis, survival plotting, and export for further research.

Do I need to manually integrate TCGA clinical data with expression matrices?

No. This Skill automatically integrates TCGA expression files, sample metadata, and clinical information into a single AnnData object, eliminating manual alignment steps and reducing preprocessing burden for survival analysis workflows.

How do I perform gene-level survival analysis on TCGA datasets?

After preprocessing TCGA data into an AnnData object with DESeq-normalized counts and survival attributes, plot gene-level survival curves using the integrated clinical metadata. This Skill automates both data preparation and survival analysis setup for genes like MYC.

What file formats do I need from the GDC to preprocess TCGA data?

Prepare a gdc_sample_sheet.tsv file, decompressed expression archives containing bulk RNA-seq matrices, and a clinical data cart from the GDC. This Skill ingests these three file types to initialize expression layers, metadata, and survival attributes in an AnnData object.