Hydrogen-based metabolism as an ancestral trait in lineages sibling to the Cyanobacteria