Deadly fungus gene code cracked