Assessing the effect of natural selection in malaria parasites