Genome study sheds light on water mold