Dr. Lee says the majority of the new HIV cases came from sexual transmission , while a smaller number contracted the virus from contaminated needles .