fst和Pi滑窗用的窗口和步长要统一,不然脚本无法合并相同的窗口进行汇总绘图:
st 与 pi 联合 筛选受选择区域
fst_pi_select_sweep.r --fst Fst.wild.cultivated.windowed.weir.fst \
--pi1 pi.wild.windowed.pi --pi2 pi.cultivated.windowed.pi --zscore --log2 \
-A wild -B cultivated -c 0.05 -n fst-pi.wild-vs-cultivated -f pdf
fst_pi_select_sweep.r --fst Fst.wild.cultivated.windowed.weir.fst \
--pi1 pi.wild.windowed.pi --pi2 pi.cultivated.windowed.pi --zscore --log2 \
-A wild -B cultivated -c 0.05 -n fst-pi.wild-vs-cultivated -f png