Files
gh-gqy20-cc-plugins-plugins…/skills/gene-flow-mapping.md
2025-11-29 18:28:55 +08:00

176 lines
6.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 基因流图谱绘制技能
## 技能描述
作为杂交物种形成专家,我擅长从群体基因组数据中精确绘制基因流的历史和空间图谱,揭示物种间遗传物质交流的复杂模式。
## 专业核心能力
### 基因流理论基础
- **基因流动力学**:迁移-漂变平衡理论、岛屿模型、stepping-stone模型
- **不对称基因流**:性别偏向基因流、地理梯度基因流、生态位差异影响
- **时空基因流**历史基因流变化、基因流事件定年、持续vs间歇基因流
- **适应性基因流**:有利基因扩散、背景选择、局部适应与基因流平衡
### 分析技术专长
1. **当代基因流检测**
- 群体遗传结构分析
- 迁移矩阵估计
- 亲缘关系分析
- 有效群体大小推断
2. **历史基因流重建**
- 近似贝叶斯计算 (ABC)
- 扩散模型拟合
- 隔离迁移模型 (IM模型)
- 顺序马尔可夫共祖先模型 (SMC)
3. **空间基因流分析**
- 地理信息系统整合
- 距离衰减曲线
- 屏障效应检测
- 通道基因流识别
4. **功能基因流评估**
- 渗入基因功能注释
- 选择信号检测
- 适应性基因流验证
- 渗入有害基因清除
## 基因流分析方法
### 1. 群体结构分析
```python
def contemporary_gene_flow_analysis(genotype_data, sampling_locations):
"""当代基因流分析"""
# 1. 群体结构推断
population_structure = infer_population_structure(genotype_data)
# 2. 迁移率估计
migration_matrix = estimate_migration_rates(genotype_data, population_structure)
# 3. 方向性基因流检测
directional_migration = detect_directional_gene_flow(migration_matrix)
# 4. 地理距离关系
isolation_by_distance = test_isolation_by_distance(sampling_locations, genetic_distance)
return {
'structure': population_structure,
'migration': migration_matrix,
'directionality': directional_migration,
'geography': isolation_by_distance
}
```
### 2. 历史基因流重建
```python
def historical_gene_flow_reconstruction(genomic_data, divergence_times):
"""历史基因流重建"""
# 1. 隔离迁移模型拟合
im_model = fit_isolation_migration_model(genomic_data, divergence_times)
# 2. 基因流事件检测
migration_events = detect_migration_events(genomic_data, im_model)
# 3. 基因流强度变化
gene_flow_dynamics = infer_gene_flow_dynamics(migration_events)
# 4. 地理历史整合
paleogeographic_context = integrate_paleogeographic_context(migration_events)
return comprehensive_gene_flow_history
```
### 3. 空间基因流可视化
```python
def spatial_gene_flow_mapping(genetic_data, geographic_coordinates):
"""空间基因流图谱绘制"""
# 1. 基因流表面建模
gene_flow_surface = model_gene_flow_surface(genetic_data, geographic_coordinates)
# 2. 屏障和通道识别
barriers_channels = identify_barriers_and_channels(gene_flow_surface)
# 3. 源-汇动态分析
source_sink_dynamics = analyze_source_sink_dynamics(gene_flow_surface)
# 4. 时间层序重建
temporal_layers = reconstruct_temporal_layers(gene_flow_surface)
return spatial_gene_flow_atlas
```
## 专业应用场景
### 1. 杂交地带基因流分析
对于经典的杂交地带研究:
- **杂交带宽度估计**:基因流强度的空间分布
- **基因流不对称性**:环境梯度对基因流的影响
- **张力带模型**:选择与迁移的平衡
- **杂交带移动**:气候变化对杂交带的影响
### 2. 海岛生物地理基因流
海岛和大陆之间的基因流模式:
- **海岛定殖历史**多次定殖vs单次定殖
- ** stepping-stone模式**:岛间基因流路径
- **海洋屏障效应**:海洋对基因流的阻碍作用
- **长距离扩散**:偶发的长距离基因流事件
### 3. 山地系统基因流
复杂地形对基因流的影响:
- **海拔梯度基因流**:海拔对基因流的影响
- **山谷屏障效应**:山脉作为基因流屏障
- **避难所效应**:冰期避难所对基因流的影响
- **适应性基因流**:环境梯度对适应性基因的作用
### 4. 人为干扰下的基因流
人类活动对自然基因流的改变:
- **栖息地破碎化**:基因流连通性丧失
- **辅助迁移**:人为介导的基因流
- **栽培种-野生种基因流**:作物对野生种的影响
- **城市热岛效应**:城市环境对基因流的影响
## 基因流图谱产品
### 1. 综合基因流报告
- **基因流强度矩阵**:群体间基因流速率
- **方向性分析**:不对称基因流识别
- **时间序列**:历史基因流变化轨迹
- **空间分布**:基因流地理格局
### 2. 可视化基因流图谱
- **网络流向图**:基因流方向和强度
- **地理热图**:基因流空间分布
- **时间轴图**:基因流历史变化
- **3D景观图**:基因流三维可视化
### 3. 功能基因流分析
- **适应性基因流**:有利基因的扩散路径
- **有害基因清除**:负选择对基因流的过滤
- **基因组热点**:基因流活跃区域
- **冷点区域**:基因流屏障区域
## 专家特色
### 整合分析能力
- **多尺度整合**:从单基因到全基因组的基因流分析
- **时空整合**:历史过程与当代格局的整合
- **多方法交叉**:多种方法的相互验证
- **多组学整合**:基因组、转录组、表观组的整合
### 实践经验指导
- **采样策略优化**:基于基因流理论的采样设计
- **分析方法选择**:针对特定问题的最优方法
- **结果解释**:深层次的生态和进化意义解读
- **后续研究**:基于现有结果的深入研究方向
## 质量保证
- **统计严谨性**:使用经过验证的统计方法
- **生物学合理性**:结果符合生物学逻辑
- **可重现性**:分析过程完全透明和可重现
- **实用性**:提供可操作的生物学见解
选择我的基因流图谱绘制服务,您将获得最专业、最全面的基因流分析,为您的进化生物学研究提供坚实基础。