Genotype Data in PLINK
0
0
Entering edit mode
3.6 years ago

Hello,

In PLINK file formats can we represent genotype data as allelic dosage. Or is that a must to represent them as biallelic?

Thank You

Genotype PLINK • 2.1k views
ADD COMMENT
1
Entering edit mode
3.6 years ago
Sam ★ 4.8k

Depends. Think PLINK-2.0 has a new format pgen which can account for allelic dosage

ADD COMMENT
0
Entering edit mode

But .pgen file is a binary file right? How can we make it as alelic dosage?

ADD REPLY
1
Entering edit mode

You mean dosage in terms of imputation? Think it does https://www.cog-genomics.org/plink/2.0/input#pgen

ADD REPLY
0
Entering edit mode

I mean if genotype is 00 then allelic dosage is 0, 10 or 01 it is 1 and 11 allelic dosage is 2.

ADD REPLY
0
Entering edit mode

For that, you can do it with --recode in plink 1.9, though the results will be plain text format, not PLINK file format

https://www.cog-genomics.org/plink/1.9/data#recode

ADD REPLY
0
Entering edit mode

But --recode creates .ped+ .fam files right? So can not we consider it as PLINK file formats?

ADD REPLY
2
Entering edit mode

PLINK 1.9's core file format is .bed + .bim + .fam. Any other format is automatically converted by PLINK 1.9 to a .bed + .bim + .fam temporary fileset. This conversion is less efficient for .ped than for VCF, so it is fair to say that .ped has been less supported by PLINK than VCF since 2014, despite the historical origin of .ped.

No PLINK 2.0 build over the last four years can either read or write .ped.

ADD REPLY

Login before adding your answer.

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