Chromosomes have a long arm (q) and a short arm (p)
To distinguish various segments of the arms, they are divided, by nomenclature, into "bands" that correspond to histological staining. Hence 5q 31.1 means "short arm of chromosome 5, band 31, sub-band 1".