The component parts of bacteriophage virions accurately defined by a machine-learning approach built on evolutionary features.