[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVYAZ3114BQAV9597QVBFT":3,"skill-same:01M7EVYAZ3114BQAV9597QVBFT":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EVYAZ3114BQAV9597QVBFT","single-cell-rnaseq",null,"Single-cell RNA-seq analysis — QC, normalization, clustering, annotation, and trajectory inference.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-single-cell-rnaseq\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: single-cell-rnaseq\ndescription: Single-cell RNA-seq analysis — QC, normalization, clustering, annotation, and trajectory inference.\ncategory: scientific\n---\n\n## Overview\n\nsingle-cell-rnaseq covers the standard scRNA-seq analysis pipeline: quality control at the cell\nlevel, normalization for sparse count data, dimensionality reduction, clustering, cell-type\nannotation, differential expression, and trajectory inference. Single-cell data is sparse,\nnoisy, and batch-sensitive — the pipeline choices matter more here than in bulk RNA-seq.\n\n## When to use\n\n- QC: doublet detection, ambient RNA, mitochondrial content, empty droplets.\n- Normalization: log-normalization, SCTransform, size factors for sparse data.\n- Dimensionality reduction: PCA, UMAP\u002Ft-SNE (and their limits).\n- Clustering: Louvain\u002FLeiden, resolution selection, cluster validation.\n- Cell-type annotation: marker genes, reference mapping (Azimuth, SingleR).\n- Differential expression between clusters or conditions (pseudobulk vs single-cell tests).\n- Trajectory\u002Fpseudotime: Monocle, Slingshot, RNA velocity — with skepticism.\n- Integration: Harmony, Seurat integration, scVI for batch correction.\n\n## Core concepts\n\n- **QC metrics per cell.** nUMI (total counts), nGene (detected genes), mitochondrial %\n  (high = dying\u002Fstressed cells; threshold tissue-dependent, typically 10-20%), ribosomal %.\n  Filter dead cells and empty droplets — but set thresholds from the data distribution, not\n  from a tutorial's defaults. Doublet detection (Scrublet, DoubletFinder): expected rate rises\n  with cell loading; remove predicted doublets before clustering.\n- **Ambient RNA.** Soup from lysed cells contaminates every droplet (SoupX, CellBender).\n  Decontamination matters most for tissues with fragile cell types — marker genes of absent\n  cell types appearing everywhere is the telltale sign.\n- **Normalization.** Log-normalize (counts per 10k, log1p) is the baseline; SCTransform\n  (regularized negative binomial) stabilizes variance better for heterogeneous data. The\n  choice affects variable-gene selection and clustering — check robustness.\n- **Highly variable genes.** Select 2000-3000 HVGs for PCA; exclude cell-cycle genes if cell\n  cycle isn't of interest (or regress it out); beware that HVG selection drives everything\n  downstream — it's a choice, not a fact.\n- **Clustering.** PCA → nearest-neighbor graph → Leiden\u002FLouvain; resolution parameter sets\n  granularity — there is no \"correct\" resolution, only resolutions matched to the biological\n  question. Validate clusters with marker genes; over-clustering creates meaningless\n  subdivisions (check with differential expression — clusters without markers are suspect).\n- **Annotation.** Manual (canonical markers — the gold standard, requires expertise),\n  reference-based (Azimuth, SingleR, scArches — fast, but reference quality limits results),\n  or hybrid. Never trust automated labels blindly — verify with marker expression.\n- **Differential expression.** Pseudobulk (aggregate by sample, then DESeq2\u002FedgeR) is\n  statistically sound for condition comparisons — single-cell-level tests (Wilcoxon on cells)\n  inflate significance massively by treating cells as independent replicates. This is the\n  most consequential analysis choice in the field.\n- **Integration.** Harmony, Seurat CCA, scVI align batches\u002Fconditions. Danger: over-correction\n  erases real biological differences between conditions. Integrate for cell-type structure;\n  be conservative when conditions are the comparison of interest — check that known biology\n  survives integration.\n- **Trajectories.** Pseudotime orders cells along inferred paths; RNA velocity adds direction\n  via spliced\u002Funspliced ratios. Both are inference, not measurement — validate with lineage\n  tracing or time-series data; velocity is fragile to gene-selection and kinetic assumptions.\n\n## Practical workflow\n\n1. **QC.** Distributions of nUMI\u002FnGene\u002Fmito%; doublet detection; ambient RNA removal;\n   filter with data-driven thresholds.\n2. **Normalize + HVG.** SCTransform or log-normalize; select HVGs; decide on cell-cycle\n   handling.\n3. **Reduce + cluster.** PCA (check elbow), UMAP for visualization, Leiden at 2-3\n   resolutions; marker-based validation.\n4. **Annotate.** Canonical markers first; reference mapping as support; document evidence\n   per cluster.\n5. **Compare conditions.** Pseudobulk DE; compositional analysis (proportions need proper\n   methods — scDC, propeller — not t-tests on percentages).\n6. **Trajectories (if warranted).** With validation, not as default output.\n7. **Report.** QC thresholds and cell counts at each step, normalization, resolution,\n   annotation evidence, and the code + count matrices.\n\nExample (scanpy sketch):\n```python\nimport scanpy as sc\nsc.pp.filter_cells(adata, min_genes=200); sc.pp.filter_genes(adata, min_cells=3)\nsc.pp.normalize_total(adata); sc.pp.log1p(adata)\nsc.pp.highly_variable_genes(adata, n_top_genes=2000)\nsc.tl.pca(adata); sc.pp.neighbors(adata); sc.tl.leiden(adata, resolution=0.5)\nsc.tl.umap(adata); sc.pl.umap(adata, color=[\"leiden\", \"CD3D\", \"MS4A1\"])\n```\n\n## Common pitfalls\n\n- Single-cell-level DE tests treating cells as replicates (massive false positives).\n- Over-integration erasing condition differences.\n- Clustering resolution chosen to produce \"interesting\" results.\n- Automated annotation accepted without marker verification.\n- Pseudotime presented as measured developmental time.\n- QC thresholds copied from tutorials, inappropriate for the tissue.\n- Doublets\u002Fambient RNA ignored (phantom cell types).\n","## Overview\n\nsingle-cell-rnaseq covers the standard scRNA-seq analysis pipeline: quality control at the cell\nlevel, normalization for sparse count data, dimensionality reduction, clustering, cell-type\nannotation, differential expression, and trajectory inference. Single-cell data is sparse,\nnoisy, and batch-sensitive — the pipeline choices matter more here than in bulk RNA-seq.\n\n## When to use\n\n- QC: doublet detection, ambient RNA, mitochondrial content, empty droplets.\n- Normalization: log-normalization, SCTransform, size factors for sparse data.\n- Dimensionality reduction: PCA, UMAP\u002Ft-SNE (and their limits).\n- Clustering: Louvain\u002FLeiden, resolution selection, cluster validation.\n- Cell-type annotation: marker genes, reference mapping (Azimuth, SingleR).\n- Differential expression between clusters or conditions (pseudobulk vs single-cell tests).\n- Trajectory\u002Fpseudotime: Monocle, Slingshot, RNA velocity — with skepticism.\n- Integration: Harmony, Seurat integration, scVI for batch correction.\n\n## Core concepts\n\n- **QC metrics per cell.** nUMI (total counts), nGene (detected genes), mitochondrial %\n  (high = dying\u002Fstressed cells; threshold tissue-dependent, typically 10-20%), ribosomal %.\n  Filter dead cells and empty droplets — but set thresholds from the data distribution, not\n  from a tutorial's defaults. Doublet detection (Scrublet, DoubletFinder): expected rate rises\n  with cell loading; remove predicted doublets before clustering.\n- **Ambient RNA.** Soup from lysed cells contaminates every droplet (SoupX, CellBender).\n  Decontamination matters most for tissues with fragile cell types — marker genes of absent\n  cell types appearing everywhere is the telltale sign.\n- **Normalization.** Log-normalize (counts per 10k, log1p) is the baseline; SCTransform\n  (regularized negative binomial) stabilizes variance better for heterogeneous data. The\n  choice affects variable-gene selection and clustering — check robustness.\n- **Highly variable genes.** Select 2000-3000 HVGs for PCA; exclude cell-cycle genes if cell\n  cycle isn't of interest (or regress it out); beware that HVG selection drives everything\n  downstream — it's a choice, not a fact.\n- **Clustering.** PCA → nearest-neighbor graph → Leiden\u002FLouvain; resolution parameter sets\n  granularity — there is no \"correct\" resolution, only resolutions matched to the biological\n  question. Validate clusters with marker genes; over-clustering creates meaningless\n  subdivisions (check with differential expression — clusters without markers are suspect).\n- **Annotation.** Manual (canonical markers — the gold standard, requires expertise),\n  reference-based (Azimuth, SingleR, scArches — fast, but reference quality limits results),\n  or hybrid. Never trust automated labels blindly — verify with marker expression.\n- **Differential expression.** Pseudobulk (aggregate by sample, then DESeq2\u002FedgeR) is\n  statistically sound for condition comparisons — single-cell-level tests (Wilcoxon on cells)\n  inflate significance massively by treating cells as independent replicates. This is the\n  most consequential analysis choice in the field.\n- **Integration.** Harmony, Seurat CCA, scVI align batches\u002Fconditions. Danger: over-correction\n  erases real biological differences between conditions. Integrate for cell-type structure;\n  be conservative when conditions are the comparison of interest — check that known biology\n  survives integration.\n- **Trajectories.** Pseudotime orders cells along inferred paths; RNA velocity adds direction\n  via spliced\u002Funspliced ratios. Both are inference, not measurement — validate with lineage\n  tracing or time-series data; velocity is fragile to gene-selection and kinetic assumptions.\n\n## Practical workflow\n\n1. **QC.** Distributions of nUMI\u002FnGene\u002Fmito%; doublet detection; ambient RNA removal;\n   filter with data-driven thresholds.\n2. **Normalize + HVG.** SCTransform or log-normalize; select HVGs; decide on cell-cycle\n   handling.\n3. **Reduce + cluster.** PCA (check elbow), UMAP for visualization, Leiden at 2-3\n   resolutions; marker-based validation.\n4. **Annotate.** Canonical markers first; reference mapping as support; document evidence\n   per cluster.\n5. **Compare conditions.** Pseudobulk DE; compositional analysis (proportions need proper\n   methods — scDC, propeller — not t-tests on percentages).\n6. **Trajectories (if warranted).** With validation, not as default output.\n7. **Report.** QC thresholds and cell counts at each step, normalization, resolution,\n   annotation evidence, and the code + count matrices.\n\nExample (scanpy sketch):\n```python\nimport scanpy as sc\nsc.pp.filter_cells(adata, min_genes=200); sc.pp.filter_genes(adata, min_cells=3)\nsc.pp.normalize_total(adata); sc.pp.log1p(adata)\nsc.pp.highly_variable_genes(adata, n_top_genes=2000)\nsc.tl.pca(adata); sc.pp.neighbors(adata); sc.tl.leiden(adata, resolution=0.5)\nsc.tl.umap(adata); sc.pl.umap(adata, color=[\"leiden\", \"CD3D\", \"MS4A1\"])\n```\n\n## Common pitfalls\n\n- Single-cell-level DE tests treating cells as replicates (massive false positives).\n- Over-integration erasing condition differences.\n- Clustering resolution chosen to produce \"interesting\" results.\n- Automated annotation accepted without marker verification.\n- Pseudotime presented as measured developmental time.\n- QC thresholds copied from tutorials, inappropriate for the tissue.\n- Doublets\u002Fambient RNA ignored (phantom cell types).\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-single-cell-rnaseq",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill single-cell-rnaseq",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill single-cell-rnaseq",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill single-cell-rnaseq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-single-cell-rnaseq\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]