Viruses infecting marine picoplancton encode functional potassium ion channels.