-
Notifications
You must be signed in to change notification settings - Fork 13
/
4.gwas.sh
15 lines (11 loc) · 970 Bytes
/
4.gwas.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
## prepare data for GWAS
plink=plink
# plink=~/Downloads/plink
$plink --file rice_imputed --recode A --out rice_imputed
$plink --dog --file dogs_imputed --recode A --out dogs_imputed
## stand-alone script
Rscript --vanilla ../4.gwas/gwas_rrblup.R genotype_file=dogs_imputed.raw snp_map=dogs_imputed.map phenotype_file=data/dogs_phenotypes.txt trait=phenotype trait_label=cleft_lip
Rscript --vanilla ../4.gwas/gwas_sommer.R genotype_file=rice_imputed.raw snp_map=rice_imputed.map phenotype_file=data/rice_phenotypes.txt trait=PH trait_label=plant_height covariates=population
Rscript --vanilla ../4.gwas/gwas_statgengwas.R genotype_file=rice_imputed.raw snp_map=rice_imputed.map phenotype_file=data/rice_phenotypes.txt trait=PH trait_label=plant_height systematic_effects=population
Rscript --vanilla ../4.gwas/gwas_rrblup.R genotype_file=rice_imputed.raw snp_map=rice_imputed.map phenotype_file=data/rice_phenotypes.txt trait=PH trait_label=plant_height