rnaseq-differential-expression
Skill4 starsChanged 12 days agoMITView on GitHub
Statistical differential expression analysis using DESeq2 or edgeR in R, with support for count matrix or tximport input.
In this repository56 other files it gives its agents.
- bioinformatics-env-setupSkill
- design-thermostable-mutationsSkill
- download-gdcSkill
- download-geoSkill
- download-sraSkill
- source-summarizerSkill
- genome-alignment-qcSkill
- genome-read-alignmentSkill
- genome-variant-annotationSkill
- genome-variant-callingSkill
- genome-variant-filteringSkill
- metagenome-assemblySkill
- metagenome-binningSkill
- metagenome-functional-profilingSkill
- metagenome-host-removalSkill
- metagenome-taxonomic-profilingSkill
- ncbi-eutilities-assistantSkill
- ngs-quality-controlSkill
- ngs-read-preprocessingSkill
- paper-to-briefSkill
- predict-protein-heat-stabilitySkill
- researchSkill
- rnaseq-alignment-qcSkill
- rnaseq-functional-enrichmentSkill
- rnaseq-read-alignmentSkill
- rnaseq-read-countingSkill
- rnaseq-transcript-quantificationSkill
- rpsblast-assistantSkill
- scrnaseq-cellranger-countSkill
- scrnaseq-cell-type-annotationSkill
- scrnaseq-clusteringSkill
- scrnaseq-differential-expressionSkill
- scrnaseq-integrationSkill
- scrnaseq-quality-controlSkill
- scrnaseq-trajectory-analysisSkill
- search-enaSkill
- search-geoSkill
- search-gsaSkill
- search-ncbi-datasetsSkill
- search-sraSkill
- stat-analyze-distributionSkill
- stat-assess-data-qualitySkill
- stat-bayesian-estimationSkill
- stat-cluster-samplesSkill
- stat-compare-multiple-groupsSkill
- stat-compare-two-groupsSkill
- stat-fit-glmSkill
- stat-fit-linear-modelSkill
- stat-learn-bayesian-networkSkill
- stat-logistic-regressionSkill
- stat-nonlinear-embeddingSkill
- stat-pairwise-correlationSkill
- stat-pcaSkill
- stat-survival-analysisSkill
- structured-intelligence-skill-creatorSkill
- <skill-id>Skill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Read count matrix or import transcript-level estimates via tximport.
- Distinctive: line 30
Read sample metadata and validate that sample IDs match between counts and metadata.
- Very specific: line 32
If DESeq2: create DESeqDataSetFromMatrix (or DESeqDataSetFromTximport), run DESeq(), extract results().
- Very specific: line 33
If edgeR: create DGEList, calcNormFactors, estimateDisp, glmQLFit, glmQLFTest.
- Distinctive: line 36
Write results table sorted by adjusted p-value.
- Distinctive: line 53
Not suitable for single-cell RNA-seq without modifications.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: RNA-seq Differential Expression
Use When
- User has a count matrix or transcript quantification and wants to find differentially expressed genes
- User wants to perform statistical DE testing with proper normalization
- User needs volcano plots, MA plots, PCA, and heatmaps
- User wants to compare DESeq2 vs edgeR results
Inputs
- Required:
- Count matrix (TSV with gene IDs as rows, samples as columns) OR Salmon/kallisto quantification directories plus a tx2gene mapping file
- Sample metadata (TSV with columns: sample_id, condition, and optionally batch)
- Optional:
- Tool choice:
deseq2oredger(default:deseq2) - Contrast: condition levels to compare (e.g.,
treated,control) - FDR threshold (default:
0.05) - log2 fold-change threshold (default:
1) - Output directory (default:
./de_output)
- Tool choice:
Workflow
- Read count matrix or import transcript-level estimates via tximport.
- Read sample metadata and validate that sample IDs match between counts and metadata.
- Build design formula (
~ condition, or~ batch + conditionif batch column is provided). - If DESeq2: create
DESeqDataSetFromMatrix(orDESeqDataSetFromTximport), runDESeq(), extractresults(). - If edgeR: create
DGEList,calcNormFactors,estimateDisp,glmQLFit,glmQLFTest. - Extract results: gene ID, log2 fold-change, p-value, adjusted p-value, baseMean (DESeq2) or logCPM (edgeR).
- Generate plots: PCA of samples, volcano plot, MA plot, heatmap of top DE genes.
- Write results table sorted by adjusted p-value.
- Report: total genes tested, number significant (up-regulated and down-regulated), summary of top hits.
Output Contract
- DE results table (TSV): gene_id, log2FoldChange, pvalue, padj, baseMean/logCPM
- PCA plot (PDF)
- Volcano plot (PDF)
- MA plot (PDF)
- Heatmap of top DE genes (PDF)
- Normalized count matrix (TSV)
- R session info (text file)
Limits
- Requires R with DESeq2 or edgeR installed (Bioconductor packages).
- Minimum 3 biological replicates per condition recommended for reliable statistics.
- Not suitable for single-cell RNA-seq without modifications.
- Python alternative: PyDESeq2 for DESeq2-equivalent analysis.
- Common failure cases: sample ID mismatch between counts and metadata, too few replicates, incorrect contrast specification.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

