Any of the usually linear bodies in the cell nucleus that contain the genetic material.