Text this: Measurement of selection coefficients from genomic samples of adapting populations by computer modeling