Investigation of viral DNA packaging using molecular mechanics models