tooluniverse-crispr-screen-analysis
FreeRuns bundled scriptsNot checkedAnalyze CRISPR-Cas9 genetic screens — MAGeCK gene-level scores, sgRNA count QC, replicate correlation, hit prioritization, and pathway GSEA on screen output…
by mims-harvard★ 1,813 GitHub starsAbout this skill
ToolUniverse CRISPR Screen Analysis
Compute the answer from the data
Do the analysis yourself, from the data files, with the recipe below. Do not take the answer from a notebook that has already been run, a result table, or the output of a script that ships with the data: those are not inputs to the analysis, and copying their numbers is not doing it.
Comprehensive skill for analyzing CRISPR-Cas9 genetic screens to identify essential genes, synthetic lethal interactions, and therapeutic targets through robust statistical analysis and pathway enrichment.
Overview
CRISPR screens enable genome-wide functional genomics by systematically perturbing genes and measuring fitness effects. This skill provides an 8-phase workflow for:
- Processing sgRNA count matrices
- Quality control and normalization
- Gene-level essentiality scoring (MAGeCK-like and BAGEL-like approaches)
- Synthetic lethality detection
- Pathway enrichment analysis
- Drug target prioritization with DepMap integration
- Integration with expression and mutation data
Core Workflow
Phase 1: Data Import & sgRNA Count Processing
Load sgRNA count matrix (MAGeCK format or generic TSV). Expected columns: sgRNA, Gene, plus sample columns. Create experimental design table linking samples to conditions (baseline/treatment) with replicate assignments.
Phase 2: Quality Control & Filtering
Assess sgRNA distribution quality:
- Library sizes per sample (total reads)
- Zero-count sgRNAs: Count across samples
- Low-count filtering: Remove sgRNAs below threshold (default: <30 reads in >N-2 samples)
- Gini coefficient: Assess distribution skewness per sample
- Report filtering recommendations
Phase 3: Normalization
Normalize sgRNA counts to account for library size differences:
- Median ratio (DESeq2-like): Calculate geometric mean reference, compute size factors as median of ratios
- Total count (CPM-like): Divide by library size in millions
Calculate log2 fold changes (LFC) between treatment and control conditions with pseudocount.
Phase 4: Gene-Level Scoring
Two scoring approaches:
- MAGeCK-like (RRA): Rank all sgRNAs by LFC, compute mean rank per gene. Lower mean rank = more essential. Includes sgRNA count and mean LFC per gene.
- BAGEL-like (Bayes Factor): Use reference essential/non-essential gene sets to estimate LFC distributions. Calculate likelihood ratio (Bayes Factor) for each gene. Higher BF = more likely essential.
Phase 5: Synthetic Lethality Detection
Compare essentiality scores between wildtype and mutant cell lines:
- Merge gene scores, calculate delta LFC and delta rank
- Filter for genes essential in mutant (LFC < threshold) but not wildtype (LFC > -0.5) with large rank change
- Sort by differential essentiality
Query DepMap/literature for known dependencies using PubMed search.
Phase 6: Pathway Enrichment Analysis
Submit top essential genes to Enrichr for pathway enrichment:
- KEGG pathways
- GO Biological Process
- Retrieve enriched terms with p-values and gene lists
Phase 7: Drug Target Prioritization
Composite scoring combining:
- Essentiality (50% weight): Normalized mean LFC from CRISPR screen
- Expression (30% weight): Log2 fold change from RNA-seq (if available)
- Druggability (20% weight): Number of drug interactions from DGIdb
Query DGIdb for each candidate gene to find existing drugs, interaction types, and sources.
Phase 8: Report Generation
Generate markdown report with:
- Summary statistics (total genes, essential genes, non-essential genes)
- Top 20 essential genes table (rank, gene, mean LFC, sgRNAs, score)
- Pathway enrichment results (top 10 terms per database)
- Drug target candidates (rank, gene, essentiality, expression FC, druggability, priority score)
- Methods section
ToolUniverse Tool Integration
Key Tools Used:
PubMed_search_articles- Literature search for gene essentiality and drug resistanceReactomeAnalysis_pathway_enrichment- Pathway enrichment (param:identifiersnewline-separated,page_size)enrichr_gene_enrichment_analysis- Enrichr enrichment (param:gene_listarray,libsarray)DGIdb_get_drug_gene_interactions- Drug-gene interactions (param:genesas array)DGIdb_get_gene_druggability- Druggability categoriesSTRING_get_network- Protein interaction networkskegg_search_pathway- Pathway search by keywordkegg_get_pathway_info- Pathway details by ID
Cancer Context (essential for drug resistance screens):
civic_search_evidence_items- Clinical evidence for drug resistance/sensitivityCOSMIC_get_mutations_by_gene- Somatic mutation landscapecBioPortal_get_mutations- Mutations in specific cancer cohortsChEMBL_search_targets- Structural druggability assessment
Expression & Variant Integration:
GEO_search_rnaseq_datasets/geo_search_datasets- Expression datasetsClinVar_search_variants- Known
Install tooluniverse-crispr-screen-analysis in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the tooluniverse-crispr-screen-analysis skill do?
Analyze CRISPR-Cas9 genetic screens — MAGeCK gene-level scores, sgRNA count QC, replicate correlation, hit prioritization, and pathway GSEA on screen output. Use for genome-wide essentiality screens, synthetic-lethality discovery, dropout vs positive-selection screen analysis, target identification, and resistance-screen interpretation. Includes screen-QC and statistical thresholds.
How do I install the tooluniverse-crispr-screen-analysis skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the tooluniverse-crispr-screen-analysis skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic