2013年3月26日星期二

a bash script that loops through chromosomes

#to write a bash script that loops through chromosomes
#!/bin/bash
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
do
   cbatch "plink --bfile /home/GWAS/GeneralRelease/Imputed/Release3/CleanPlink/GRclean${i} --extract  c${i}.keep1 --maf .05 --out GRclean2 --make-bed"
done

没有评论:

发表评论