for chr in {1..22}; do awk -v nvar="${chr}" '{print $1"\t"nvar"\t"$4"\t"$3"\t"$4}' chr"${chr}"_LD.map >chr"${chr}"_LD1.map; done