Convert from oxford to plink format with no missing genotypes
1
0
Entering edit mode
9.6 years ago

Hi,

I would like to convert my oxford files into plink format, but without any missing genotypes, so that I can use it in chromopainter.

I guess I have to modify the --hard-call-threshold from 0.1 to 0?

Or can I modify the plink files containing missing genotypes a posteriori so that they are filled in for the missing genotypes?

Any ideas?

Thanks!

plink impute2 chromopainter • 3.3k views
ADD COMMENT
1
Entering edit mode
9.6 years ago

You can use --hard-call-threshold random a few times; this will randomize genotypes according to the probabilities in the .gen file. i.e., each run will generate a slightly different fileset, and in your subsequent analysis you'll want to look for results which hold across all the filesets.

ADD COMMENT
0
Entering edit mode

Thank you, Chris.

Out of curiosity, is "--hard-call-threshold 0" a bad idea?

ADD REPLY
0
Entering edit mode

That does the opposite of what you want, i.e. it will cause all uncertain genotypes to be set to missing.

ADD REPLY

Login before adding your answer.

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