new script for random alignment subsampling