It would be nice to implement a feature similar to what one can do with bcftools query. So instead of getting raw output formatted like the index ped file, we can choose provide a format string and possibly aggregation options (eg. summation, thresholding, etc.)