How to generate MAP file?
1
0
Entering edit mode
5.3 years ago
sjunlee89 ▴ 10

I have .bim, .bgen, pgen, .fam files for analysis GWAS.

I would like to generate .map file to use Haploview software to make LD heatmap.

On the other hand, I have no idea how to make map file from .bim, .bgen, .pgen, .fam files.

Could you explain the process by plink or plink2.

Thank you advanced.

snp • 4.2k views
ADD COMMENT
2
Entering edit mode
5.3 years ago

You can read your data into PLINK with the --bgen flag. After, you can output the data in Haploview format with, for example:

plink --noweb --bfile MyData --chr 5 --from-bp 135364584 --to-bp 135399507 --snps-only no-DI --recodeHV --out MyData.HV ;

I then have this line written in my notes, which is likely still valid:

Start Haploview. In the ‘Welcome to Haploview’ window, select the ‘LINKAGE Format’ tab. Click the ‘browse’ button to enter the ‘Data File’ and select the PED file ‘MyData.ped’. Click the ‘browse’ button to enter the ‘Locus Information File’ and select the file ‘MyData.hmap’.

Kevin

ADD COMMENT
0
Entering edit mode

Thank you so much for your comment.

ADD REPLY

Login before adding your answer.

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