In virology, a nonstructural protein is a protein encoded by a virus but that is not part of the viral particle.