Using genetic markers to investigate natural selection in fungal populations