先下载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. Java中long和Long的区别

    Java的数据类型分两种: 1.基本类型:long,int,byte,float,double,char,short,boolean 2. 对象类型(类): Long,Integer,Byte,Flo ...

  2. google/dense_hash_map

    这个库使用时需要注意的地方: 1.在插入数据之前,需要先调用set_empty_key()设置一个空Key,Key的值可以为任意符合类型的.但请注意之后插入的Key不能和空Key相同,否则会abort ...

  3. codeforce452DIV2——F. Letters Removing

    题意:给一个字符串和m个操作,每次给出l,r,c,把字符串中l-r这段区间的字符为c的字符删掉,求最后的字符串.(n,m<=2e5)线段树.注意这个区间修改和普通区间修改的区别. 他们都是用树状 ...

  4. 优化tomcat配置(从内存、并发、缓存3个方面)优化

    Tomcat有很多方面,我从内存.并发.缓存三个方面介绍优化方法. 一.Tomcat内存优化 Tomcat内存优化主要是对 tomcat 启动参数优化,我们可以在 tomcat 的启动脚本 catal ...

  5. ajax load事件

    ajax.load  使用ajax 来改变div元素文本. load( url [, data][, callback] ) load()方法的传递方式根据参数data来自动指定.如果没有参数传递,则 ...

  6. windows7 Sql server 2012 尝试读取或写入受保护的内存。这通常指示其他内存已损坏的修复

    项目中,使用了sql server2012数据库,服务端是2012,客户端如果是2008的话,就会报错: 索引错误. 没办法,就安装了sql server2012客户端.但是还是报错,无法连上数据库服 ...

  7. linux内核被加载的过程

    二,linux内核被加载的过程 一,linux安装时遇到的概念解析 内核必须模块vmlinz(5M左右)不认识硬盘,原本是需要写跟loader中一样的内容,来加载非必要模块. 内核非必要的功能被编译为 ...

  8. aspx 与 ashx cs

    1. aspx 与 ashx 我们知道 aspx :继承自 System.Web.UI.Page 然而Page:IHttpHandler public class Page : TemplateCon ...

  9. div高度自适应窗口高度布局

    给body和html都设置height:100%:然后子元素用百分比设置高度

  10. HTML5移动应用开发入门经典 中文pdf扫描版

    HTML5是关注度ZUI高的前沿Web技术,而移动互联网则是近两年ZUI炙手可热的Web领域.<HTML5移动应用开发入门经典>将这两者巧妙结合起来,详细讲解了如何利用HTML5进行移动应 ...