bug fixes to subsample_sra.pl