先下载PopLDdecay软件(开源GitHub)

https://github.com/BGI-shenzhen/PopLDdecay

PopLDdecay的安装

1) INSTALL  Method1
----------------------------------------------------------------------------------------------------------------
################################################################################################################
Just execute as follows :
git clone https://github.com/BGI-shenzhen/PopLDdecay.git
chmod 755 configure ; ./configure ;
make;
mv PopLDdecay bin/ ;
**Note:** If fail to link,try to <b>re-install</b> the libraries [**_zlib_**](https://zlib.net/)
2) INSTALL Method2
----------------------------------------------------------------------------------------------------------------
################################################################################################################
A) Method2 For linux/Unix
For linux/Unix , execute as follows :
tar -zxvf PopLDdecayXXX.tar.gz
cd PopLDdecayXXX;
cd src;
make ; make clean
../bin/PopLDdecay
#I had compiled and installed these gz library packages [zlib] on the linux X64 platform
if Link do not work ,try Re-install the gz library and copy them to the library Dir
PopLDdecayXX/src/include/zlib B) Method2 For macOS platform INSTALL
you should must pre-install the library [zlib] and copy them to the corresponding library directory
#step1 :Should must <b>re-install</b> the gz library [zlib]
see [zlib] website
#step2 : # Copy these gz library file into the corresponding library directory
cp libz.a libz.so* PopLDdecayXX/src/include/zlib
#step3 :
sh make.sh # or [make && make clean] C) Other Method
Note if it can't work . follow below B1-B6 or use the static Compiled [BamDeal_Linux ]
############################################
#autoscan ./
#cp configure.scan configure.ac
# if can't work, follow below 6 commands
B1: aclocal #// src/automake-1.9/aclocal
B2: autoconf #// src/automake-1.9/autoconf
B3: autoheader #// src/automake-1.9/autoheader
B4: automake --add-missing #// src/automake-1.9/automake --add-missing
B5: ./configure
B6: make
#############################################
#swimming in the sky & flying in the sea#

  

PopLDdecay的使用

step1

查看PopLDdecay的使用方法

sample:

# 1)  For gatk VCF file deal , run PopLDdecay  direct
./bin/PopLDdecay -InVCF SNP.vcf.gz -OutStat Lddecay.stat.gz
# 2) For plink [.ped .map], chang plink 2 genotype first 2) run PopLDdecay
perl bin/mis/plink2genotype.pl -inPED in.ped -inMAP in.map -outGenotype out.genotype ; ./bin/PopLDdecay -InGenotype out.genotype -OutStat LDdecay.stat.gz
# 3) To Calculate the subgroup GroupA LDdecay in VCF Files # put GroupA sample names into GroupA_sample.list file
./bin/PopLDdecay -InVCF -OutStat -SubPop GroupA_sample.list

  

step2:

sample:

LDdecay计算和做图的更多相关文章

  1. 用 GraphScope 像 NetworkX 一样做图分析

    NetworkX 是 Python 上最常用的图分析包,GraphScoep 兼容 NetworkX 接口.本文中我们将分享如何用 GraphScope 像 NetworkX 一样在(大)图上进行分析 ...

  2. QiniuUpload- 一个方便用七牛做图床然后插入markdown的小工具

    最近一段时间有用markdown做笔记,其他都好,但是markdown插入图片挺麻烦的,特别是想截图之后直接插入的时候.需要首先把图片保存了,然后还要上传到一个地方生成链接才能插入.如果有个工具可以直 ...

  3. python做图笔记

    1. 工具选择 了解了基本python,rodeo,anaconda套件这三种工具. (1)基本python,下载安装python的最新版(目前是python3.7).注意要使用安装版.安装好后,一般 ...

  4. win10 uwp 使用 asp dotnet core 做图床服务器客户端

    原文 win10 uwp 使用 asp dotnet core 做图床服务器客户端 本文告诉大家如何在 UWP 做客户端和 asp dotnet core 做服务器端来做一个图床工具   服务器端 从 ...

  5. matplotlib 做图通过弹出窗口展示 spyder

    tools =>preferences=>Ipython console=>Graphics Graphics backend 中Backend 由Inline改为 Automati ...

  6. [Erlang07] Erlang 做图形化编程的尝试:纯Erlang做2048游戏

    用Erlang久了,以为erlang做类似于As3,JS的图形化界面是绝对不可能的,多少次,多少次想用erlang做个炫酷的图形游戏.终于:折腾出来了结果:纯Erlang也可以做到! 因为以前接触过W ...

  7. 矢量做图组件OTGisX的使用(类似Mapbase)

    一:组件添加到工具栏 要在应用程序中应用OTGisX控件,首先要把所下载的OTGisX组件添加到.Net工程中.并将其添加到工具箱托盘中.添加方式为:在工具箱上单击右键,选择“选择项”,会出现“选择工 ...

  8. 山东省济南市历城第二中学——洛谷图论入门题--基本题必做 图的遍历—3.骑马修栅栏(fence)

    由于我这个破题提交了十四五遍,所以我决定写篇博客来记录一下. 这个题的题目描述是这样的 首先一看这个题我瞬间就想到了一笔画问题(欧拉回路). 对于能够一笔画的图,我们有以下两个定理. 定理1:存在欧拉 ...

  9. 使用GitHub API上传文件及GitHub做图床

    本文介绍GitHub API基础及上传文件到仓库API,并应用API将GitHub作为图床 GitHub API官方页面 GitHub API版本 当前版本为v3,官方推荐在请求头中显示添加版本标识. ...

随机推荐

  1. PHP自动加载配置ArrayAccess类

    ArrayAccess是PHP的类,可以把对象当成数组来使用访问. Config.php   配置类 <?php namespace IMooc; class Config implements ...

  2. http头部信息解析

    HTTP 头部解释 1. Accept:告诉WEB服务器自己接受什么介质类型,*/* 表示任何类型,type/* 表示该类型下的所有子类型,type/sub-type. 2. Accept-Chars ...

  3. 算法优化》关于1D*1D的DP的优化

    关于这一主题的DP问题的优化方法,我以前写过一篇博客与其有关,是关于对递推形DP的前缀和优化,那么这种优化方法就不再赘述了. 什么叫1D*1D的DP捏,就是一共有N种状态,而每种状态都要N种决策,这就 ...

  4. php扩展开发环境搭建

    首先要安装编译php时要的几个扩展库 (1)libxml2,若无php安装一些解析xml的扩展时会提示xml2-config not found sudo apt-get install libxml ...

  5. 443. String Compression字符串压缩

    [抄题]: Given an array of characters, compress it in-place. The length after compression must always b ...

  6. tensor 维度 问题。

    tf.argmax takes two arguments: input and dimension. example: tf.argmx(arr, dimension = 1). or tf.arg ...

  7. Entity Framework edmx(mapping文件)

    <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="2.0" ...

  8. [GO]copy的使用

    package main import "fmt" func main() { srcslice := [],} dstslice := [],,,,,} copy(dstslic ...

  9. What is the AppData folder?

    Applies to Windows 8.1, Windows RT 8.1 The AppData folder contains app settings, files, and data spe ...

  10. android 多点触控

    多点触控 1.多点触控从字面意思讲就是你用大于等于2根的手指触摸子啊手机屏幕上. Android中监听触摸事件是onTouchEvent方法,它的参数为MotionEvent,下面列举MotionEv ...