downsampling seq data, calculating standard deviations