Resistance testing and other genetic mapping of viruses