[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMEJA1SJXKMBY1MWGSSTYS":3,"skill-same:01M7EMEJA1SJXKMBY1MWGSSTYS":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},"01M7EMEJA1SJXKMBY1MWGSSTYS","bulk-rna-seq",null,"Bulk RNA-seq differential expression — experimental design, count modeling with DESeq2\u002FedgeR, and enrichment.","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-bulk-rna-seq\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bulk-rna-seq\ndescription: Bulk RNA-seq differential expression — experimental design, count modeling with DESeq2\u002FedgeR, and enrichment.\ncategory: scientific\n---\n\n## Overview\n\nbulk-rna-seq covers the standard bulk RNA-seq workflow: experimental design (replicates,\nbatching, depth), read quantification, differential expression with DESeq2\u002FedgeR\u002Flimma-voom,\nand downstream interpretation (enrichment, visualization). Bulk RNA-seq remains the workhorse\ntranscriptomic assay — cheaper and statistically better-powered than single-cell for\ncondition comparisons.\n\n## When to use\n\n- Experimental design: replicate numbers, randomization, batch planning, depth.\n- Quantification: Salmon\u002Fkallisto (fast, bias-aware) vs STAR + featureCounts.\n- Differential expression: DESeq2, edgeR, limma-voom — choosing and configuring.\n- Contrasts and complex designs: interactions, time series, paired designs.\n- QC: PCA, sample correlations, outlier handling, batch-effect diagnosis.\n- Enrichment: ORA, GSEA, and background-set discipline.\n- Visualization: volcano plots, heatmaps, MA plots.\n\n## Core concepts\n\n- **Design first.** ≥3 biological replicates per condition (more for variable systems —\n  clinical samples need 6+); randomize processing order; block batches across conditions\n  (never confound batch with condition — the cardinal sin); decide depth by question\n  (20-30M reads standard; more for splicing\u002Frare transcripts). Power analysis via\n  Scotty\u002FRNASeqPower for grant proposals.\n- **Quantification.** Salmon\u002Fkallisto with GC\u002Fsequence-bias correction are fast and accurate\n  for gene-level DE; STAR + featureCounts when you need alignments (splicing, variants).\n  Summarize to gene level with tximport (transcript-level uncertainty matters — don't\n  ignore it). Use the same annotation (GENCODE\u002FEnsembl version) throughout.\n- **Count models.** RNA-seq counts are overdispersed — Poisson is wrong. DESeq2\u002FedgeR fit\n  negative binomial models with empirical-Bayes dispersion shrinkage; limma-voom transforms\n  for linear modeling (good for complex designs). All three agree most of the time —\n  pick one and know it well.\n- **Normalization.** DESeq2 size factors \u002F edgeR TMM estimate library-size + compositional\n  effects. Never run DE on TPM\u002FFPKM\u002FRPKM. Check size factors for outliers (a sample with\n  extreme size factor is telling you something).\n- **The DESeq2 workflow.** `DESeqDataSetFromTximport` → `DESeq` → results with contrast →\n  lfcShrink (apeglm\u002Fashr — shrinkage stabilizes noisy fold changes, essential for ranking\n  and visualization) → FDR control (Benjamini-Hochberg, typically padj \u003C 0.05 + |log2FC|\n  threshold chosen biologically, not by default).\n- **QC before DE.** PCA and sample-distance heatmaps first: outliers, batch effects, and\n  mislabeled samples show up here. Investigate before modeling — removing an outlier\n  post-hoc because it \"ruins\" the result is p-hacking; prespecified QC criteria aren't.\n- **Batch effects.** Include batch in the design formula when unconfounded; use\n  RUVSeq\u002Fsva when batch is unknown but PCA shows structure; ComBat-seq for\n  batch-corrected counts. If batch is confounded with condition, the experiment is\n  uninterpretable — redesign, don't \"correct.\"\n- **Enrichment.** ORA (hypergeometric on DE gene lists — threshold-dependent, use the\n  detected gene universe as background, not the whole genome); GSEA (ranked-list, no\n  threshold — generally preferred); both need multiple-testing correction and\n  redundancy-aware interpretation (GO terms overlap heavily — use REVIGO or enrichment\n  maps). An enriched pathway is a hypothesis, not a mechanism.\n- **Complex designs.** Paired samples (`~patient + condition`), interactions\n  (`~genotype*treatment`), time series (likelihood-ratio tests, impulse models). Write the\n  design formula from the experimental structure, not by trial and error.\n\n## Practical workflow\n\n1. **Design.** Replicates, randomization, batch blocking, depth — on paper, before libraries.\n2. **Quantify.** Salmon with bias correction → tximport to gene level; MultiQC over logs.\n3. **QC.** PCA, distances, size factors; handle outliers by prespecified criteria.\n4. **Model.** DESeq2\u002FedgeR with the design reflecting the experiment; check dispersion plots.\n5. **Extract.** Contrasts of interest; lfcShrink; padj + effect-size thresholds.\n6. **Interpret.** Volcano\u002FMA plots; GSEA on ranked lists; heatmaps of top genes (z-scored,\n   annotated with condition bars).\n7. **Validate.** qPCR on key genes (independent samples ideally); functional follow-up for\n   load-bearing claims.\n8. **Report.** Design, software versions, thresholds, full results tables (not just\n   \"significant\" genes), GEO deposition.\n\nExample (R sketch):\n```r\nlibrary(DESeq2)\ndds \u003C- DESeqDataSetFromTximport(txi, colData, ~batch + condition)\ndds \u003C- DESeq(dds)\nres \u003C- lfcShrink(dds, coef=\"condition_treated_vs_control\", type=\"apeglm\")\nplotMA(res); EnhancedVolcano(res, lab=rownames(res), x=\"log2FoldChange\", y=\"padj\")\n```\n\n## Common pitfalls\n\n- Batch confounded with condition (unfixable).\n- DE on TPM\u002FFPKM instead of raw counts.\n- Unshrunk log2FCs ranked and interpreted (noise at low counts).\n- Outliers removed post-hoc to improve results.\n- GO enrichment with whole-genome background (inflated).\n- Enriched pathways reported as mechanistic findings.\n- n=2 per group presented as adequately powered.\n","## Overview\n\nbulk-rna-seq covers the standard bulk RNA-seq workflow: experimental design (replicates,\nbatching, depth), read quantification, differential expression with DESeq2\u002FedgeR\u002Flimma-voom,\nand downstream interpretation (enrichment, visualization). Bulk RNA-seq remains the workhorse\ntranscriptomic assay — cheaper and statistically better-powered than single-cell for\ncondition comparisons.\n\n## When to use\n\n- Experimental design: replicate numbers, randomization, batch planning, depth.\n- Quantification: Salmon\u002Fkallisto (fast, bias-aware) vs STAR + featureCounts.\n- Differential expression: DESeq2, edgeR, limma-voom — choosing and configuring.\n- Contrasts and complex designs: interactions, time series, paired designs.\n- QC: PCA, sample correlations, outlier handling, batch-effect diagnosis.\n- Enrichment: ORA, GSEA, and background-set discipline.\n- Visualization: volcano plots, heatmaps, MA plots.\n\n## Core concepts\n\n- **Design first.** ≥3 biological replicates per condition (more for variable systems —\n  clinical samples need 6+); randomize processing order; block batches across conditions\n  (never confound batch with condition — the cardinal sin); decide depth by question\n  (20-30M reads standard; more for splicing\u002Frare transcripts). Power analysis via\n  Scotty\u002FRNASeqPower for grant proposals.\n- **Quantification.** Salmon\u002Fkallisto with GC\u002Fsequence-bias correction are fast and accurate\n  for gene-level DE; STAR + featureCounts when you need alignments (splicing, variants).\n  Summarize to gene level with tximport (transcript-level uncertainty matters — don't\n  ignore it). Use the same annotation (GENCODE\u002FEnsembl version) throughout.\n- **Count models.** RNA-seq counts are overdispersed — Poisson is wrong. DESeq2\u002FedgeR fit\n  negative binomial models with empirical-Bayes dispersion shrinkage; limma-voom transforms\n  for linear modeling (good for complex designs). All three agree most of the time —\n  pick one and know it well.\n- **Normalization.** DESeq2 size factors \u002F edgeR TMM estimate library-size + compositional\n  effects. Never run DE on TPM\u002FFPKM\u002FRPKM. Check size factors for outliers (a sample with\n  extreme size factor is telling you something).\n- **The DESeq2 workflow.** `DESeqDataSetFromTximport` → `DESeq` → results with contrast →\n  lfcShrink (apeglm\u002Fashr — shrinkage stabilizes noisy fold changes, essential for ranking\n  and visualization) → FDR control (Benjamini-Hochberg, typically padj \u003C 0.05 + |log2FC|\n  threshold chosen biologically, not by default).\n- **QC before DE.** PCA and sample-distance heatmaps first: outliers, batch effects, and\n  mislabeled samples show up here. Investigate before modeling — removing an outlier\n  post-hoc because it \"ruins\" the result is p-hacking; prespecified QC criteria aren't.\n- **Batch effects.** Include batch in the design formula when unconfounded; use\n  RUVSeq\u002Fsva when batch is unknown but PCA shows structure; ComBat-seq for\n  batch-corrected counts. If batch is confounded with condition, the experiment is\n  uninterpretable — redesign, don't \"correct.\"\n- **Enrichment.** ORA (hypergeometric on DE gene lists — threshold-dependent, use the\n  detected gene universe as background, not the whole genome); GSEA (ranked-list, no\n  threshold — generally preferred); both need multiple-testing correction and\n  redundancy-aware interpretation (GO terms overlap heavily — use REVIGO or enrichment\n  maps). An enriched pathway is a hypothesis, not a mechanism.\n- **Complex designs.** Paired samples (`~patient + condition`), interactions\n  (`~genotype*treatment`), time series (likelihood-ratio tests, impulse models). Write the\n  design formula from the experimental structure, not by trial and error.\n\n## Practical workflow\n\n1. **Design.** Replicates, randomization, batch blocking, depth — on paper, before libraries.\n2. **Quantify.** Salmon with bias correction → tximport to gene level; MultiQC over logs.\n3. **QC.** PCA, distances, size factors; handle outliers by prespecified criteria.\n4. **Model.** DESeq2\u002FedgeR with the design reflecting the experiment; check dispersion plots.\n5. **Extract.** Contrasts of interest; lfcShrink; padj + effect-size thresholds.\n6. **Interpret.** Volcano\u002FMA plots; GSEA on ranked lists; heatmaps of top genes (z-scored,\n   annotated with condition bars).\n7. **Validate.** qPCR on key genes (independent samples ideally); functional follow-up for\n   load-bearing claims.\n8. **Report.** Design, software versions, thresholds, full results tables (not just\n   \"significant\" genes), GEO deposition.\n\nExample (R sketch):\n```r\nlibrary(DESeq2)\ndds \u003C- DESeqDataSetFromTximport(txi, colData, ~batch + condition)\ndds \u003C- DESeq(dds)\nres \u003C- lfcShrink(dds, coef=\"condition_treated_vs_control\", type=\"apeglm\")\nplotMA(res); EnhancedVolcano(res, lab=rownames(res), x=\"log2FoldChange\", y=\"padj\")\n```\n\n## Common pitfalls\n\n- Batch confounded with condition (unfixable).\n- DE on TPM\u002FFPKM instead of raw counts.\n- Unshrunk log2FCs ranked and interpreted (noise at low counts).\n- Outliers removed post-hoc to improve results.\n- GO enrichment with whole-genome background (inflated).\n- Enriched pathways reported as mechanistic findings.\n- n=2 per group presented as adequately powered.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-bulk-rna-seq",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 bulk-rna-seq",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill bulk-rna-seq",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill bulk-rna-seq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-bulk-rna-seq\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",[],[]]