Resampling methods in genetics and the effect of family structure in genetic data