mageck
Skill này làm gì
Công cụ này phân tích dữ liệu từ các thí nghiệm gen gọi là “màn hình CRISPR”. Nó kiểm tra chất lượng dữ liệu, so sánh các điều kiện khác nhau và xác định gen nào quan trọng đối với sự phát triển hoặc sống còn của tế bào.
Khi nào nên dùng
- ✓Khi bạn có dữ liệu giải trình tự từ thí nghiệm màn hình CRISPR.
- ✓Để so sánh cách các gen khác nhau ảnh hưởng đến tế bào trong những điều kiện nhất định.
- ✓Để kiểm tra xem thư viện gen dùng trong thí nghiệm có đúng không.
Liên kết skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/mageck/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Phân tích dữ liệu màn hình CRISPR của tôi bằng thư viện “my_lib.tsv” và các tệp FASTQ c1.fastq.gz, c2.fastq.gz, t1.fastq.gz, t2.fastq.gz, so sánh nhóm đối chứng c1, c2 với nhóm xử lý t1, t2.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ trước hết đếm các trình tự gen trong dữ liệu thô. Sau đó, nó thực hiện các kiểm định thống kê để xem gen nào có tác động đáng kể, có tính đến chất lượng dữ liệu và các phép so sánh bạn yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
MAGeCK pooled-screen analysis
When to use
Use this skill to count existing sequencing reads against a supplied guide library or compare already-counted pooled screens. Deliver the count matrix, QC, guide and gene results, contrast provenance, and a short interpretation of enrichment/depletion. This workflow analyzes screens; it does not design guides or infer gene function from a hit alone.
Runtime
The tested source installation and external-runtime caveat are in
references/runtime.md. Verify both mageck --version and
mageck test --help before an analysis. The bundled Python helper is standard-library only.
MAGeCK itself also needs NumPy, SciPy, and the RRA binary. PDF/R reporting is optional and not
needed by the helper.
The official release directory still lists 0.5.9.5 as its latest MAGeCK release. Upstream now links the separate MAGeCK2 project; these commands and the helper target MAGeCK 0.5.9.5, not an interchangeable MAGeCK2 installation. This is a local CLI workflow with no service API or authentication.
Workflow
- Establish the library version, perturbation modality, sample names, selection direction, biological replicates, baseline material, time point, and batch. Separate sequencing lanes from independent biological replicates. A plasmid baseline and a cell day-zero baseline answer different questions. Require an explicit treatment/control contrast; the helper never silently assigns all unused samples to the control group.
- Validate a headerless TSV library containing guide ID, DNA sequence, gene. IDs and
sequences must be unique. The helper requires a count-table header beginning
sgRNA,Gene, followed by unique nonnumeric sample names such asc1. MAGeCK can interpret numeric names as column indices or count values; rename them before analysis. Guide/gene IDs must have no whitespace. The helper rejects ambiguous sequences and any count/library ID or gene mismatch; resolve intentional multi-target guides explicitly upstream. These are deliberate helper restrictions; native MAGeCK also accepts other input variants. - For FASTQ, inspect read structure and known guide sequences to establish trimming and
orientation. Use MAGeCK
count, with one space-separated argument per biological sample; comma-join lanes only when they are technical replicates of that same sample. Preserve unmapped-read and count-summary evidence when mapping is poor. A zero-count guide remains in the library; do not drop it to improve QC. - Run QC before statistical testing. Review library representation, median reads per guide, zero fractions, Gini coefficients, and within-condition replicate correlations. The helper's 10% zero and 0.8 correlation flags are review prompts, not universal acceptance thresholds. High correlation can coexist with systematic artifacts. Read depth is not experimental cell coverage. The helper uses a raw-count population Gini; MAGeCK's native count-summary Gini uses log(count + 1) with a finite-sample correction. Do not compare their values or thresholds as the same statistic.
- Choose normalization based on the screen. Median normalization assumes most guides are
stable. For a strong global shift, supplied validated negative-control guides may support
--normalization control. These must be guide IDs, one per line; a gene list is not interchangeable. Biological control samples and negative-control guides serve different roles. At least two controls must be present, and every guide assigned to a control gene must be designated a control. Supplying--control-guidesalso changes the RRA null distribution, even with median normalization. Record their origin and check their count distribution. MAGeCK 0.5.9.5 switches median normalization to total-count scaling for a zero median or more than 45% zero guides in any selected sample; for control normalization it evaluates the control-guide subset. Check the report's applied method, size factors, and warnings. - Use
testfor a two-group comparison.--pairedrequires both lists in corresponding biological order and equal length; matching lengths alone do not establish pairing. The helper reports genes at the requested FDR in both directions and retains full rankings.
…
Câu hỏi thường gặp
“Màn hình CRISPR” là gì?
Đó là thí nghiệm dùng công nghệ CRISPR để tắt hoặc bật gen trong nhiều tế bào cùng lúc, cho phép nghiên cứu chức năng của hàng trăm hoặc hàng nghìn gen nhanh chóng.
“FASTQ reads” là gì?
Đây là dữ liệu thô do máy giải trình tự DNA tạo ra, chứa các trình tự DNA đã được đọc.
“Làm giàu” (enrichment) hoặc “làm cạn” (depletion) nghĩa là gì?
Làm giàu nghĩa là các tế bào mang một gen nào đó có lợi thế và nhân lên nhiều hơn. Làm cạn nghĩa là các tế bào mang gen đó bị ảnh hưởng xấu và giảm số lượng.
Chi tiết
Mô tả gốc của tác giả
Analyzes pooled CRISPR screen FASTQ reads and guide-count matrices with MAGeCK, validates guide libraries and contrasts, measures replicate and library QC, and produces gene hit rankings with effect sizes and FDR. Use for new knockout, CRISPRi, or CRISPRa screen analysis, enrichment or depletion contrasts, and MAGeCK count/test workflows; existing public dependency-score lookup belongs to DepMap.
Độ phổ biến
- Sao GitHub
- 51k
- Vị trí xếp hạng
- #3490
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
13c-metabolic-flux
51kƯớc tính thông lượng chuyển hóa bằng dữ liệu theo dõi đồng vị carbon-13. Hữu ích để phân tích chuyển hóa tế bào và các con đường sinh hóa.
adaptyv
51kThiết kế thí nghiệm đặc trưng protein bằng Adaptyv API. Hỗ trợ ước tính chi phí, gửi trình tự và theo dõi kết quả phòng thí nghiệm.
aeon
51kThực hiện các tác vụ học máy trên dữ liệu chuỗi thời gian. Hữu ích để phân loại, dự báo, phát hiện bất thường và tìm mẫu trong dữ liệu tuần tự.
alphagenome
51kTra cứu các tác động di truyền đã được tính trước cho biến thể gen. Cung cấp điểm số và giải thích để hiểu ảnh hưởng của biến thể lên bộ gen.
Skill tương tự
pytorch-patterns
280kGiúp agent của bạn dùng PyTorch cho các mô hình học máy. Áp dụng thực hành tốt nhất để huấn luyện mô hình hiệu quả và đảm bảo kết quả có thể lặp lại.
evm-token-decimals
280kGiúp agent tránh lỗi về số thập phân khi làm việc với các mạng blockchain khác nhau. Đảm bảo giá trị token chính xác trong giao dịch và phép tính.
ito-inference
280kGiúp agent kiểm tra xem các mô hình AI đã sẵn sàng để dùng chưa. Kết nối yêu cầu tài nguyên tính toán với dịch vụ mô hình đã sẵn sàng.