Scientists spent two years trawling the oceans for bacteria and viruses, and in the process discovered 6 million new genes, doubling the number known on Earth and holding promise for new antibiotics and alternative energy sources.