RepositoryPythonGBVương quốc Anh
hardingnj

hardingnj/xpclr

Code to compute the XP-CLR statistic to infer natural selection

108sao
30fork
60issue
2lượt xem

🧬 xpclr — Công cụ tính XP-CLR để tìm dấu vết lựa chọn tự nhiên

Một công cụ Python tính thống kê XP-CLR theo Chen, Patterson & Reich 2010, khắc phục lỗi trong công cụ gốc.

xpclr là một module Python kèm script dòng lệnh, giúp tính giá trị XP-CLR — một thống kê dùng để phát hiện vùng gen bị lựa chọn tự nhiên ảnh hưởng. Dự án ra đời vì lỗ hổng tính toán trong công cụ gốc cùng phương pháp.

✨ Điểm nổi bật

  • Tính XP-CLR chuẩn: Theo thuật toán Chen, Patterson & Reich (2010).
  • Hỗ trợ đa định dạng: VCF, HDF5 (qua scikit-allel), và text (.geno/.map).
  • Cài đặt dễ dàng: Hỗ trợ cài qua conda (kênh bioconda) hoặc cài đặt thủ công bằng python setup.py install.
  • Tùy chỉnh cửa sổ trượt: Hỗ trợ cấu hình kích thước cửa sổ, bước nhảy, số SNPs tối đa/tối thiểu.
  • Điều chỉnh LD: Áp dụng ngưỡng LD (Linkage Disequilibrium) để trọng số hóa.
  • Hỗ trợ dữ liệu pha: Tính toán r² chính xác hơn khi dữ liệu đã được pha.
  • Xuất kết quả chuẩn: Bao gồm modelL, nullL, sel_coef, xpclr, xpclr_norm và thông tin cửa sổ.

💡 Vì sao đáng chú ý

Khác với công cụ gốc có lỗi, xpclr cung cấp một triển khai ổn định và có kiểm thử. Nó tích hợp tốt với HDF5 từ scikit-allel, phù hợp cho phân tích quy mô lớn. Kết quả đầu ra chi tiết giúp người dùng đánh giá độ tin cậy từng vùng gen.


#XPCLR #PopGen #Bioinformatics #Selection #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
hail-is/hail

Cloud-native genomic dataframes and batch computing

1.1k
Nov 18, 2026
RepositoryPython
sgkit-dev/sgkit

Scalable genetics toolkit

286
Oct 29, 2026
RepositoryPython
K-Dense-AI/scientific-agent-skills

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

58.3k
Nov 23, 2026
RepositoryPython
plotly/dash

Data Apps & Dashboards for Python. No JavaScript Required.

24.5k
Nov 18, 2026
RepositoryPython
biopython/biopython

Official git repository for Biopython (originally converted from CVS)

5.3k
Nov 16, 2026
RepositoryPython
google/deepvariant

DeepVariant is an analysis pipeline that uses a deep neural network to call genetic variants from next-generation DNA sequencing data.

3.8k
Oct 26, 2026
RepositoryPython
scverse/scanpy

Single-cell analysis in Python. Scales to >100M cells.

2.6k
Nov 23, 2026
RepositoryPython
aipoch/medical-research-skills

Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing.

2.1k
Sep 17, 2026
RepositoryPython
allenai/scispacy

A full spaCy pipeline and models for scientific/biomedical documents.

2.0k
Dec 4, 2025