Imputation of X chromosome non-PAR for male subjects
1
0
Entering edit mode
5.2 years ago
Apprentice ▴ 170

Hi.

I did an imputation of X chromosome SNPs for male subjects by using Minimac3.

I got a vcf file of the imputed SNPs. The males on the non-pseudoautosomal part of the X chromosome were coded as 0 or 1. However, I hope that males on the non-pseudoautosomal part of the X chromosome were coded as 0 or 2 (all genotypes as diploid homozygotes).

Could you how to do it?

SNP imputation X chromsoome • 1.8k views
ADD COMMENT
0
Entering edit mode
3.4 years ago

Hi,

If you want to convert your haploid genotype in diploid just do it using bcftools +fixploidy:

bcftools +fixploidy {vcf_file} -- -s {ploidy_file} 

where {ploidy_file} is something like:

sample_name1 M
sample_name2 F

where M --> MALE , F --> Female.

Cheers,

Adriano from SelfDecode

ADD COMMENT
0
Entering edit mode

I'm sorry for my late reply. Thank you for your advice.

My data is imputed genotype. So, the imputed data is coded as [0,1], and continuous values. This method that you suggested is available for the imputed data?

ADD REPLY

Login before adding your answer.

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