LDdecay计算和做图
先下载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计算和做图的更多相关文章
- 用 GraphScope 像 NetworkX 一样做图分析
NetworkX 是 Python 上最常用的图分析包,GraphScoep 兼容 NetworkX 接口.本文中我们将分享如何用 GraphScope 像 NetworkX 一样在(大)图上进行分析 ...
- QiniuUpload- 一个方便用七牛做图床然后插入markdown的小工具
最近一段时间有用markdown做笔记,其他都好,但是markdown插入图片挺麻烦的,特别是想截图之后直接插入的时候.需要首先把图片保存了,然后还要上传到一个地方生成链接才能插入.如果有个工具可以直 ...
- python做图笔记
1. 工具选择 了解了基本python,rodeo,anaconda套件这三种工具. (1)基本python,下载安装python的最新版(目前是python3.7).注意要使用安装版.安装好后,一般 ...
- win10 uwp 使用 asp dotnet core 做图床服务器客户端
原文 win10 uwp 使用 asp dotnet core 做图床服务器客户端 本文告诉大家如何在 UWP 做客户端和 asp dotnet core 做服务器端来做一个图床工具 服务器端 从 ...
- matplotlib 做图通过弹出窗口展示 spyder
tools =>preferences=>Ipython console=>Graphics Graphics backend 中Backend 由Inline改为 Automati ...
- [Erlang07] Erlang 做图形化编程的尝试:纯Erlang做2048游戏
用Erlang久了,以为erlang做类似于As3,JS的图形化界面是绝对不可能的,多少次,多少次想用erlang做个炫酷的图形游戏.终于:折腾出来了结果:纯Erlang也可以做到! 因为以前接触过W ...
- 矢量做图组件OTGisX的使用(类似Mapbase)
一:组件添加到工具栏 要在应用程序中应用OTGisX控件,首先要把所下载的OTGisX组件添加到.Net工程中.并将其添加到工具箱托盘中.添加方式为:在工具箱上单击右键,选择“选择项”,会出现“选择工 ...
- 山东省济南市历城第二中学——洛谷图论入门题--基本题必做 图的遍历—3.骑马修栅栏(fence)
由于我这个破题提交了十四五遍,所以我决定写篇博客来记录一下. 这个题的题目描述是这样的 首先一看这个题我瞬间就想到了一笔画问题(欧拉回路). 对于能够一笔画的图,我们有以下两个定理. 定理1:存在欧拉 ...
- 使用GitHub API上传文件及GitHub做图床
本文介绍GitHub API基础及上传文件到仓库API,并应用API将GitHub作为图床 GitHub API官方页面 GitHub API版本 当前版本为v3,官方推荐在请求头中显示添加版本标识. ...
随机推荐
- Android输入法部分遮挡UI的问题(与EditText框相切)
首先,我们来看看遇到问题的图片 遇到的问题是,当点击输入框之后,输入法会切到红线的位置,理想状态应该是在绿线位置 那么,是什么原因造成的呢? 问题其实很简单,是因为drawableleft图片比该输入 ...
- SpringMVC第二天
SpringMVC第二天 框架课程 1. 课程计划 1.高级参数绑定 a) 数组类型的参数绑定 b) List类型的绑定 2.@RequestMapping注解的使用 3.Controller方法 ...
- Java方法学习疑问
此方法不理解 finalize() 方法 Java允许定义这样的方法,它在对象被垃圾收集器析构(回收)之前调用,这个方法叫做finalize( ),它用来清除回收对象. 例如,你可以使用finaliz ...
- c++ 指向类成员函数的函数指针
// ConsoleApplication34.cpp : 定义控制台应用程序的入口点. // #include "stdafx.h" #include <iostream& ...
- eclipse——Maven插件创建java工程
目录结构如下 注意默认JDK为1.5 更改默认JDK 方式一 右键工程 选中JRE1.5 Remove 双击JRE System Library 点击Finish 更改完成 方式二 配置maven ...
- 简单基础路径配置(单用JSP)EASYUI
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"% ...
- SVN常见问题及解决方式(一)
1.每天早上上班要update SVN,每天下班要commit SVN.2.查看是谁动了我的代码,右键 tortoise 后查看 log 日志.3.文件被别人删除,在空白处右击,show log,可以 ...
- HTML总结之:HTML5的DOCTYPE 与 meta 属性介绍
HTML5头部常用介绍: [DOCTYPE html] 声明文档类型为HTML5文件. [meta标签] <meta> 元素可提供有关页面的元信息(meta-information), ...
- APP压力稳定性测试
转自:https://www.cnblogs.com/nuonuozhou/p/8643735.html 1.android系统自带monkey程序,模拟用户触摸屏幕,滑动track ball,按键等 ...
- 数据库去重与join连表
join连表删除的效率与检测存在之后删除的效率比,后者的效率低了很多