swap bases in snp tab file and cleanup filenames