Preparing Input data for H12 analysis
0
0
Entering edit mode
4.1 years ago

Dear all,

I am interested in exploring the H12 analysis to detect putative markers under selection using haplotype information. The approach fairly simple and is described in detail in Garud et al (2015). My question is: how can I get my vcf/ped/bed/ files into proper format?

According to the SelectionHapStats documentation in Github, the input file is a line-by-line listing of all the coordinates on the chromosome where there is a polymorphism and the nucleotide states in each individual in the sample

The input file should look something like this:

3948,A,A,A,N,T,A,A,A,T,…etc
7387,A,N,G,G,G,G,G,A,G,…etc
19921,T,G,T,T,T,G,G,T,G,T,…etc
etc..

Using --recode and --transpose flags in plink gives me a similar format, but not quite the same. Any ideas?

Thanks for your help

genome plink h12 haplotypes selectionscans • 786 views
ADD COMMENT
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode

Did you figure this out? I'm having the same issue.

ADD REPLY

Login before adding your answer.

Traffic: 2398 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6