how can I recode phased haplotype?
2
1
Entering edit mode
10.4 years ago
mary ▴ 210

Dear all

I have reconstructed haplotype from fastPHASE for each chromosome, as you know it has 0 /1 code, is there any way to recode it to A=1, C=2, G=3, T=4 by PLINK or any other software.

Any help will be appreciated

recode haplotype • 3.1k views
ADD COMMENT
1
Entering edit mode

Hello,I got the same question,I think sweep needs the 1/2/3/4 code format,Have you found the way to solve the problem?Thank u.

ADD REPLY
0
Entering edit mode

Could you add sample output of fastPHASE?

ADD REPLY
1
Entering edit mode
10.4 years ago
mary ▴ 210
Output files for inferred haplotypes or imputed genotypes contain two lines per given diploid individual, with the order of individuals corresponding to that supplied in the input file. In addition, summary information is given, such as a recapitulation of some of the parameters from the fastPHASE run, and the command line supplied by the user. for example #IDA01 111110101010101010 100101011010100111 #IDA02 111111010101010101 111111111111111101 * * *
ADD COMMENT
1
Entering edit mode
9.8 years ago
evo_genomics ▴ 60

SeqPHASE can be used for conversion

ADD COMMENT

Login before adding your answer.

Traffic: 1848 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