Agent skill
bio-crispr-screens-base-editing-analysis
Analyzes base editing and prime editing outcomes including editing efficiency, bystander edits, and indel frequencies. Use when quantifying CRISPR base editor results, comparing ABE vs CBE efficiency, or assessing prime editing fidelity.
Install this agent skill to your Project
npx add-skill https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-crispr-screens-base-editing-analysis
SKILL.md
Version Compatibility
Reference examples tested with: CRISPResso2 2.2+, pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - CLI:
<tool> --versionthen<tool> --helpto confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Base Editing Analysis
"Analyze my base editing outcomes" → Quantify base editing efficiency, bystander edits, and indel frequencies from amplicon sequencing data for CBE, ABE, and prime editing experiments.
- CLI:
CRISPResso --fastq_r1 reads.fq --amplicon_seq ATGC --base_editor_output
CRISPResso2 for Base Editing
Goal: Quantify base editing efficiency and bystander edits from amplicon sequencing.
Approach: Run CRISPResso with --base_editor_output and the expected edited amplicon sequence to measure target base conversion, bystander edits, and indel frequencies.
# Analyze base editing with expected outcome
CRISPResso --fastq_r1 reads.fq.gz \
--amplicon_seq ATGCGATCGATCGATCGATCGATCG \
--guide_seq TCGATCGATCGATCGAT \
--expected_hdr_amplicon_seq ATGCGATCGATCGTTCGATCGATCG \
--base_editor_output \
-o results/
Key Metrics
| Metric | Description |
|---|---|
| Editing efficiency | % reads with target base change |
| Bystander edits | Unintended edits in editing window |
| Indel frequency | Insertions/deletions (should be low) |
| Purity | Target edit without bystanders |
Base Editor Types
Cytosine Base Editors (CBE)
# C->T conversion (or G->A on opposite strand)
CRISPResso --fastq_r1 reads.fq.gz \
--amplicon_seq $AMPLICON \
--guide_seq $GUIDE \
--base_editor_output \
--conversion_nuc_from C \
--conversion_nuc_to T
Adenine Base Editors (ABE)
# A->G conversion (or T->C on opposite strand)
CRISPResso --fastq_r1 reads.fq.gz \
--amplicon_seq $AMPLICON \
--guide_seq $GUIDE \
--base_editor_output \
--conversion_nuc_from A \
--conversion_nuc_to G
Prime Editing Analysis
# Prime editing with pegRNA
CRISPResso --fastq_r1 reads.fq.gz \
--amplicon_seq $AMPLICON \
--guide_seq $SPACER \
--expected_hdr_amplicon_seq $EDITED_AMPLICON \
--prime_editing_pegRNA_extension_seq $EXTENSION \
-o prime_edit_results/
Editing Window Analysis
import pandas as pd
# Load CRISPResso quantification
quant = pd.read_csv('CRISPResso_output/Quantification_window_nucleotide_percentage_table.txt',
sep='\t')
# Calculate per-position editing
editing_window = quant[(quant['Position'] >= -5) & (quant['Position'] <= 5)]
Quality Thresholds
- Editing efficiency: >30% considered good for most applications
- Indel rate: <5% ideal for base editors
- Bystander rate: depends on application; <10% often acceptable
Related Skills
- crispr-screens/crispresso-editing - General editing QC
- crispr-screens/library-design - Guide design considerations
- variant-calling/vcf-basics - Downstream variant analysis
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
vcf-annotator
Annotate VCF variants with VEP, ClinVar, gnomAD frequencies, and ancestry-aware context. Generates prioritised variant reports.
chemist-analyst
Analyzes events through chemistry lens using molecular structure, reaction mechanisms, thermodynamics, kinetics, and analytical techniques (spectroscopy, chromatography, mass spectrometry). Provides insights on chemical processes, material properties, reaction pathways, synthesis, and analytical methods. Use when: Chemical reactions, material analysis, synthesis planning, process optimization, environmental chemistry. Evaluates: Molecular structure, reaction mechanisms, yield, selectivity, safety, environmental impact.
bio-alignment-io
Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO. Supports Clustal, PHYLIP, Stockholm, FASTA, Nexus, and other alignment formats for phylogenetics and conservation analysis. Use when reading, writing, or converting alignment file formats.
sleep-analyzer
分析睡眠数据、识别睡眠模式、评估睡眠质量,并提供个性化睡眠改善建议。支持与其他健康数据的关联分析。
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
bio-hi-c-analysis-matrix-operations
Balance, normalize, and transform Hi-C contact matrices using cooler and cooltools. Apply iterative correction (ICE), compute expected values, and generate observed/expected matrices. Use when normalizing or transforming Hi-C matrices.
Didn't find tool you were looking for?