Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Single cell RNA seq pipeline

Runs a full single cell RNA seq analysis in Seurat or Scanpy, so you go from 10x counts to cell types and results.

What we improved

Replaced the fixed QC cutoffs (under 5,000 genes, under 20% mito and so on) in every code path with per-sample outlier flags based on the median absolute deviation, plus two floors that only remove obvious empties. The original advised MAD-

Improved by YourAISkill from the original by GPTomics, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Thorough scRNA-seq pipeline with correct step order, per-sample MAD QC, Harmony, pseudobulk DESeq2 and differential abundance, with runnable Seurat and Scanpy code and real gotchas.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Orchestrates the end-to-end single-cell RNA-seq pipeline from 10x Cell Ranger output to annotated cell types, chaining ambient-RNA removal, doublet detection, MAD-adaptive QC, normalization, integration, clustering, marker annotation, and (separately) pseudobulk DE + differential abundance. Use when honoring the made-once counting commitments (reference build/Ensembl vintage, --include-introns, cell-calling, feature namespace), ordering correct-then-detect-then-normalize (ambient before doublet before normalize), running per-sample QC before merge, integrating-then-clustering (never testing on integrated values), aggregating to pseudobulk for condition DE instead of cells-as-replicates, or pairing DE with differential abundance. Hands mechanism to the single-cell component skills; not a re-teach of any single step.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: bio-workflows-scrnaseq-pipeline
description: End-to-end single-cell RNA-seq workflow from 10x Cell Ranger output to annotated cell types and condition-level results, in Seurat (R) or Scanpy (Python). Covers the choices fixed at counting (reference version, introns, raw vs filtered matrix, feature types), ambient RNA removal with SoupX or CellBender on the raw matrix, doublet calling per capture, per-sample MAD-based QC instead of fixed cutoffs, normalization, Harmony integration before clustering, marker-based and reference-based (SingleR) annotation, pseudobulk differential expression with DESeq2 using samples as replicates, and differential abundance with propeller. Use when running or reviewing a full scRNA-seq analysis, deciding the order of steps, setting QC thresholds, integrating several samples, or testing what changes between conditions.
tool_type: mixed
primary_tool: Seurat
workflow: true
qc_checkpoints:
  - after_loading: "Cells per sample match the Cell Ranger web summary; ambient contamination estimated per capture"
  - after_qc: "Per-sample MAD flags and doublet calls reviewed; no cell type removed wholesale"
  - after_integration: "Samples mix within shared cell types; populations expected in only one condition still separate"
  - after_clustering: "Clusters are explained by marker genes, not by sample, doublet score or mito fraction"
---

<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by GPTomics. See CHANGES.md. -->

## Version Compatibility

Written for Seurat 5.x (layers, `IntegrateLayers`), SoupX 1.6+, scDblFinder 1.16+, harmony (R) or harmonypy (Python), DESeq2, speckle, SingleR with celldex, and Scanpy 1.10+ (`sc.pp.scrublet`, `sc.get.aggregate`, `leiden(flavor='igraph')`).

Before running code, check what is installed:
- R: `packageVersion('<pkg>')`, then `?function_name` for the arguments
- Python: `pip show <package>`, then `help(module.function)`

If a call fails with an unknown argument or missing function, read the installed help page and adapt the call rather than retrying it unchanged.

# Single-Cell RNA-seq Pipeline

**"Analyze my single-cell RNA-seq data from counts to cell types"** -> remove ambient RNA, call doublets per capture, flag low-quality cells per sample from the data (MAD), normalize, integrate samples, cluster, find markers, annotate, then answer condition questions with pseudobulk DE and a differential abundance test.

This skill owns the order of the steps and the hand-offs between them, and it carries working code for every step. Complete scripts are in `examples/seurat_workflow.R` and `examples/scanpy_workflow.py`.

## Decisions made once at counting (inherited by everything downstream)

| Decision | What it changes downstream |
|----------|----------------------------|
| Reference genome and annotation version | Gene IDs, marker lookups and cross-dataset merges. 10x publishes references by name (for example 2020-A, 2024-A), each built from one GENCODE/Ensembl release; record which one from the reference folder's own metadata or the web summary. Join datasets on `gene_ids` (Ensembl IDs), not symbols, which change between releases. |
| `--include-introns` (default on since Cell Ranger 7) | Total UMIs per cell and whether single-nucleus and single-cell data are comparable. Nuclei need introns. Mixing intron-on and intron-off samples adds a hidden batch axis. |
| Cell calling (raw vs filtered matrix) | The filtered matrix is cell calling only, not ambient corrected. SoupX, CellBender and rescuing low-RNA cells all need the RAW droplet matrix, so keep it. |
| Feature types | Scanpy's `sc.read_10x_h5(..., gex_only=True)` (the default) keeps Gene Expression only and drops Antibody Capture, CRISPR and hashtag features; pass `gex_only=False` and split on `adata.var['feature_types']` for CITE-seq or hashed pools. Seurat's `Read10X` returns a named list (one matrix per feature type) when several are present. |

...

From GPTomics's repository, MIT licence.

Related skills

  • Checked

    Single cell ATAC analysis

    Takes 10x single cell ATAC data through QC, clustering and peak calling, so you end up with labelled cell types.

    by GPTomics 1.3k
    8/101 credit
  • Checked

    Molfeat Molecule Features

    Turns molecules into fingerprints and descriptors for chemistry machine learning, with no misaligned rows.

    by K-Dense-AI 59k
    7/101 credit
  • Checked

    Single Cell Omics Models

    Fits probabilistic single cell models with scvi-tools for batch integration, annotation and multimodal data.

    by K-Dense-AI 59k
    7/101 credit
  • Checked

    Chemistry File Conversion

    Reads and converts SMILES, SDF, MOL2 and PDB files without losing stereochemistry or charges.

    by GPTomics 1.3k
    8/101 credit
  • Checked

    SceneKit 3D Product Scenes

    Builds polished 3D product animations in SwiftUI apps with SceneKit, with fixes for shadows, hitches and lighting.

    by dembsky 115
    7/101 credit
  • Checked

    Roblox Physics and Hit Checks

    Fixes Roblox parts that jitter or fall through, sets up reliable raycasts and keeps hit checks safe from exploits.

    by gamedev-skills 13k
    8/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added