The DNA secrets of a flower thought to have inspired a Greek legend have been cracked by scientists.