Skip to content

A python program that parse HLA.dat file to generate a table (including ID, exon position, ethnic, etc.) for each reference.

License

Notifications You must be signed in to change notification settings

yenyen1/IPD-IMGT-HLA.dat-file-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

IPD-IMGT-HLA.dat-file-parser

A python program that parse HLA.dat file to generate a table (including ID, exon position, ethnic, etc.) for each reference.

DAT file from IPD-IMGT/HLA

IPD-IMGT/HLA Data can be download from https://www.ebi.ac.uk/ipd/imgt/hla/download.html

DAT Format information: https://github.com/ANHIG/IMGTHLA/blob/Latest/Manual.md

Table column

  1. basic info: ID, length, class, gene, ethnic

  2. field name: 4_field, 3_field, 2_field

  3. position: (suffix "_s" means start position, "_e" means end position)

    • UTR1_s, UTR1_e, UTR2_s, UTR2_e

    • exon1_s, exon1_e, ..., exon8_s, exon8_e

    • intron1_s, intron1_e, ..., intron8_s, intron8_e

    Note: 'NA' if not exist.

Requirement

python 3

Example usage

python HLA_dat_parser.py hla.dat 

About

A python program that parse HLA.dat file to generate a table (including ID, exon position, ethnic, etc.) for each reference.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages