Gene
HLA-B
major histocompatibility complex, class I, B
HLA-B makes a protein found on almost all cells that shows fragments of other proteins to immune T cells[1]. The gene has hundreds of versions, and some are strongly associated with ankylosing spondylitis, an inflammatory arthritis that affects the spine, especially HLA-B*27[2],[3]. Some versions are also linked to unusual reactions to medicines: HLA-B*38:02 predicts agranulocytosis, a severe drop in white blood cells, caused by an antithyroid drug[4]. Serious skin reactions such as Stevens-Johnson syndrome can also follow some medicines[5].
- HGNC 4932↗(opens in a new tab)
- Ensembl gene ENSG00000234745↗(opens in a new tab)
- NCBI Gene 3106↗(opens in a new tab)
Summary
- Cytogenetic location
- 6p21.33
- Coordinates
- Chromosome 6: 31,353,875–31,357,179 (GRCh38)
- Exons
- 8 exons across 3.3 kb
- Protein
- 362 amino acids, 40.5 kDa
- Previous symbols
- AS
- MANE Select transcript
- ENST00000412585.7NM_005514.8
- Locus type
- Protein-coding
- Very high
- Confident
- Low
- Very low
Share this page
Cite this page
Dante Labs. (n.d.). HLA-B gene: major histocompatibility complex, class I, B. Retrieved 24 November 2026, from https://dantelabs.com/genes/hla-b
Dante Labs. HLA-B gene: major histocompatibility complex, class I, B [Internet]. [cited 24 November 2026]. Available from: https://dantelabs.com/genes/hla-b
This page as data
Add .json to the page's address, or ask for application/json, to read it as JSON.
library(jsonlite)
url <- "https://dantelabs.com/genes/hla-b.json"
page <- fromJSON(url)
page$gene$nameimport requests
url = "https://dantelabs.com/genes/hla-b.json"
page = requests.get(url).json()
print(page["gene"]["name"])curl -H "Accept: application/json" "https://dantelabs.com/genes/hla-b"const page = await fetch("https://dantelabs.com/genes/hla-b.json").then((response) => response.json());
console.log(page.gene.name);Read HLA-B, and the rest of your genome, with one test.
Free shipping · Results in 6–8 weeks
Get my Genome TestRead HLA-B, and the rest of your genome, with one test.
Free shipping · Results in 6–8 weeks
Get my Genome TestHow HLA-B is laid out
- Coding sequence
- Untranslated region
- Intron
- Direction of transcription
- Stretches short reads find hard
Exons of the gene's MANE Select transcript (release v1.5), from NCBI and EMBL-EBI, on the GRCh38 reference genome.
Chromosome bands from UCSC's GRCh38 ideogram (2022-10-29).
Nearby genes from Ensembl release 116, on GRCh38.
Exons make up 1.5 kb of the gene's 3.3 kb; 1,089 of those bases code for the protein.
Sequencing HLA-B
10Easy
How hard HLA-B is to sequence with short reads, out of 100
0 · Easy100 · Hard
Almost all of HLA-B's exons sit where short reads map cleanly.
What adds to it: the share of HLA-B's exons in each kind of hard region
- MappabilityStretches where 100 or 250 bp reads cannot be placed uniquely, so a call there may be missing or wrong. On its own, a gene wholly in this kind of region would score 100.1.8%
- HomologySegmental duplications: copies elsewhere in the genome, such as paralogues and pseudogenes, at 90% identity or more. On its own, a gene wholly in this kind of region would score 60.0%
- Shared with chrYThe pseudoautosomal regions and the X-transposed region, where chrX and chrY carry the same or nearly the same sequence, so a read from one may be placed on the other. On its own, a gene wholly in this kind of region would score 60.0%
- Reference coverageGaps in the reference assembly nearby, where there is no sequence for reads to align to. On its own, a gene wholly in this kind of region would score 50.0%
- RepeatsTandem repeats and runs of one base, which reads slip on and may not span. On its own, a gene wholly in this kind of region would score 30.0.5%
- GC contentWindows under 25% or over 65% G and C, which library preparation covers thinly. On its own, a gene wholly in this kind of region would score 20.42%
A Dante Labs score from our own research, built on NIST's Genome in a Bottle maps of hard-to-sequence regions.How it's scoredEach bar is the share of HLA-B's exon bases in that kind of difficult region. Any one kind can make a gene hard on its own, and each further kind adds less: 0 when no base is in any, 100 when every base is where reads cannot be placed uniquely.
Traits linked to HLA-B
The Human Phenotype Ontology lists these as features of the rare conditions HLA-B can cause. Each trait's page lists the other genes linked to it.
Abnormality of the cardiovascular system
- Abnormal heart valve morphology
- Aneurysm
- Disruption of blood oxygen supply to brain
- Hypertensive crisis
- Inflammation of artery
- Inflammation of blood vessel
- Narrowing of an artery
- Redness of skin or mucous membrane
Show 33 more traits
- Abnormal aortic valve morphology
- Abnormal systemic blood pressure
- Absent pulse
- Asymmetric blood pressure between arms
- Blood pressure substantially higher in legs than arms
- Bulging of wall of large artery located above heart
- Heart attack
- High blood pressure
- Increased blood pressure in blood vessels of lungs
- Intermittent claudication
- Jaw pain while chewing
- Narrowing of kidney artery
- Abdominal aortic aneurysm
- Abnormal endocardium morphology
- Abnormal heart rate
- Abnormal myocardium morphology
- Absent superficial temporal artery pulse
- Aortic regurgitation
- Blood clot in artery of lung
- Cardiac failure
- Double outlet right ventricle with subpulmonary ventricular septal defect without pulmonary stenosis
- Endocarditis
- Increased spleen size
- Inflammation of heart muscle
- Mini stroke
- Mitral regurgitation
- Stretched and thinned heart muscle
- Stroke
- Sudden cardiac death
- Swelling or irritation of membrane around heart
- Swollen lymph nodes
- Swollen lymph nodes in center of chest
- Tear in inner wall of large artery that carries blood away from heart
Abnormality of the nervous system
- Cognitive impairment
- Headache
- Migraine
- Abnormal gait
- Confusion
- Depression
- Epilepsy
- Weakness of one side of body
Show 15 more traits
- Abnormal pyramidal sign
- Abnormal speech pattern
- Ataxia
- Behavioral abnormality
- Cranial nerve paralysis
- Difficulty articulating speech
- Disturbances of consciousness
- Increased reflexes
- Irritability
- Loss of developmental milestones
- Memory impairment
- Peripheral neuropathy
- Pins and needles feeling
- Rise in pressure inside skull
- Visual hallucinations
Abnormality of the eye
- Extreme sensitivity of the eyes to light
- Blurred vision
- Inflammation of iris
- Nongranulomatous uveitis
- Panuveitis
- Visual impairment
- Weakness of muscles controlling eye movement
- Amaurosis fugax
Show 14 more traits
- Blindness
- Clouding of the lens of the eye
- Damage to outer layer of the cornea of the eye
- Double vision
- Drooping upper eyelid
- Involuntary, rapid, rhythmic eye movements
- Noninflammatory retina disease
- Optic atrophy
- Optic neuritis
- Partial loss of field of vision
- Retrobulbar optic neuritis
- Uveitis
- Visual loss
- Anterior uveitis
Abnormality of the genitourinary system
- Inflammation of testicles
- Genital ulcers
- Balanitis
- Dull burning sensation with urination
- Dyspareunia
- Epididymitis
- Frequent urinary tract infections
- Glomerulopathy
Show 4 more traits
Abnormality of the integument
- Abnormal blistering of the skin
- Abnormality of the nail
- Acantholysis
- Firm lump under the skin
- Flat, discolored area of skin
- Hyperkeratosis
- Papule
- Poor fingernail formation
Show 4 more traits
Abnormality of blood and blood-forming tissues
- Abnormality of neutrophils
- Blood clot in vein
- Gastrointestinal bleeding
- Hyperfibrinogenemia
- Low number of red blood cells or hemoglobin
- Superficial thrombophlebitis
- Blood clot in artery
- Bloody nose
Show 2 more traits
Abnormality of head or neck
- Chewing difficulties
- Mouth sore
- Pink eye
- Recurrent canker sores
- Excessive salivation
- Dry eye syndrome
- Eyelid folded in
- Inflammation of the tongue
Show 2 more traits
External links
Gene records
Transcript
Protein
References
- Olson E, Geng J, Raghavan M, 2020. Polymorphisms of HLA-B: influences on assembly and immunity. Current opinion in immunology
- Dashti N, Mahmoudi M, Aslani S, Jamshidi A, 2018. HLA-B*27 subtypes and their implications in the pathogenesis of ankylosing spondylitis. Gene
- Akkoç N, Yarkan H, Kenar G, Khan MA, 2017. Ankylosing Spondylitis: HLA-B*27-Positive Versus HLA-B*27-Negative Disease. Current rheumatology reports
- Cheung CL, Sing CW, Tang CS, Cheng VK, Pirmohamed M, Choi CH, Hung CS, Lau EY, Lee KF, Mak MW, Leung JY, Wong TW, Ho AY, Chan KW, Hung V, Tam V, Siu SC, Pang HK, Wat WZ, Lee HH, Chung CT, Hue RS, Sham PC, Cheung BM, Wong IC, Tan KC, Kung A, 2016. HLA-B*38:02:01 predicts carbimazole/methimazole-induced agranulocytosis. Clinical pharmacology and therapeutics
- Harr T, French LE, 2012. Stevens-Johnson syndrome and toxic epidermal necrolysis. Chemical immunology and allergy
Where this comes from
- HGNC: the gene's symbol, name, other symbols and location.
- MANE Select v1.5, from NCBI and EMBL-EBI: the transcript, its exons and coding sequence.
- The Genome in a Bottle genome stratifications, from NIST: the sequencing difficulty score.
- The Human Phenotype Ontology, release 2026-09-01: the traits linked to the gene. Find out more at hpo.jax.org.
- AlphaFold DB model AF-P01889-F1, version 6, from Google DeepMind and EMBL-EBI (CC BY 4.0): the protein's structure as AlphaFold predicts it, not as measured, and its confidence in each part.
Cite this page
Dante Labs. (n.d.). HLA-B gene: major histocompatibility complex, class I, B. Retrieved 24 November 2026, from https://dantelabs.com/genes/hla-b
Dante Labs. HLA-B gene: major histocompatibility complex, class I, B [Internet]. [cited 24 November 2026]. Available from: https://dantelabs.com/genes/hla-b
One test. A lifetime of answers.
Free shipping · Results in 6–8 weeks