text: Gag genes are part of a general architecture for retroviruses, viruses that replicate through reverse transcription, where the gag region of the genome encodes proteins that constitute the matrix, capsid and nucleocapsid of the mature virus particles. Like in HIVs replication cycle, these proteins are needed for viral budding from the host cells plasma membrane, where the fully formed virions leave the cell to infect other cells.