Software-based analysis of bacteriophage genomes, physical ends, and packaging strategies