Created
April 24, 2015 15:02
-
-
Save explodecomputer/b2aa9ebd81e5baa82a49 to your computer and use it in GitHub Desktop.
generate GRMs for each chromosome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in {1..9} | |
do | |
plink1.90 --bfile ~/data/alspac_1kg/data/genotypes/bestguess/subset_maf0.01_info0.8/data_chr0${i} --extract ~/data/1kg_scratch/hapmap3_autosome.snplist --make-grm-bin --out data_chr0${i} --maf 0.01 | |
done | |
for i in {10..22} | |
do | |
plink1.90 --bfile ~/data/alspac_1kg/data/genotypes/bestguess/subset_maf0.01_info0.8/data_chr${i} --extract ~/data/1kg_scratch/hapmap3_autosome.snplist --make-grm-bin --out data_chr${i} --maf 0.01 | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment