先下载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. 如何给网页标题栏上添加图标(favicon.ico)(转)

    如何给网页标题栏上添加图标(favicon.ico)   favicon.ico详解:     favicon是Favorites Icon的缩写,favicon.ico是指显示在浏览器收藏夹.地址栏 ...

  2. c++ 适配器模式(adapter)

    当两个系统的接口不一样时,我们就要重新封装一下接口,以便于当前系统的调用.这种模式叫做适配器模式.适配器模式分为两种: 1.对象组合适配器(Object Adapter) 2.类适配器(Class A ...

  3. java日期和时间转换字符

    日期和时间转换字符 字符 描述 例子 c 完整的日期和时间 Mon May 04 09:51:52 CDT 2009 F ISO 8601 格式日期 2004-02-09 D U.S. 格式日期 (月 ...

  4. python gridsearchcv 里的评价准则

    http://scikit-learn.org/stable/modules/model_evaluation.html 3.3.1. The scoring parameter: defining ...

  5. MYSQL优化——索引覆盖

    索引覆盖:如果查询的列恰好是索引的一部分,那么查询只需要在索引文件上进行,不需要进行到磁盘中找数据,若果查询得列不是索引的一部分则要到磁盘中找数据. 建表: create table test_ind ...

  6. combogrid change check multiple

    this.SetDict = function (obj, dicType, multiple, Ischeckbox, callback, change) { obj.combogrid({ pan ...

  7. 云存储上传控件(cloud2)-Xproer.CloudUploader

    版权所有 2009-2016荆门泽优软件有限公司 保留所有权利 官方网站:http://www.ncmem.com/ 产品首页:http://www.ncmem.com/webapp/up6.2/in ...

  8. 第08章-使用Spring Web Flow

    使用Spring Web Flow Spring Web Flow是Spring MVC的扩展,它支持开发基于流程的应用程序.它将流程的定义与实现流程行为的类和视图分离开来. 1 在Spring中配置 ...

  9. NAO机器人

    NAO机器人是Aldebaran Robotics公司研制的一款人工智能机器人.它拥有着讨人喜欢的外形,并具备有一定程度的人工智能和约一定程度的情感智商并能够和人亲切的互动. 教学研究类/NAO机器人 ...

  10. 树形DP-HDU1561 The more, The Better

    很好的树形DP入门题,看着和选课那道题如出一辙. Problem Description ACboy很喜欢玩一种战略游戏,在一个地图上,有N座城堡,每座城堡都有一定的宝物,在每次游戏中ACboy允许攻 ...