The gag gene is encoded as a large gag-pol protein with another gene then cleaved to the precursor protein assembling, which is then cleaved to Gag. It is involved in virion assembly and produces some of the capsid and nucleocapsid proteins. It does not encode for the lipid bilayer of the virus.