tutorials:population-diversity:snp-chips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:population-diversity:snp-chips [2020/09/21 11:44] – [Data analysis workflow with Plink 1.9] bngina | tutorials:population-diversity:snp-chips [2020/09/22 10:21] (current) – [Data analysis workflow with Plink 1.9] bngina | ||
---|---|---|---|
Line 165: | Line 165: | ||
< | < | ||
+ | |||
+ | |||
+ | |||
+ | ######### summary statistics ######## | ||
# | # | ||
Line 179: | Line 183: | ||
*// | *// | ||
- | < | ||
- | #The missing information found in the '' | ||
+ | #The missing information found in the '' | ||
+ | < | ||
FID IID MISS_PHENO | FID IID MISS_PHENO | ||
| | ||
Line 195: | Line 199: | ||
10 | 10 | ||
- | ##the information in each header is as follows; | + | </ |
+ | The information in each header is as follows; | ||
+ | < | ||
FID Family ID | FID Family ID | ||
IID Individual ID | IID Individual ID | ||
Line 203: | Line 209: | ||
N_GENO | N_GENO | ||
F_MISS | F_MISS | ||
+ | </ | ||
- | + | The information found in the '' | |
- | #The information found in the '' | + | < |
| | ||
| | ||
Line 218: | Line 224: | ||
| | ||
| | ||
- | + | </ | |
- | #The information in each column is as follows; | + | |
+ | The information in each column is as follows; | ||
+ | < | ||
SNP SNP identifier | SNP SNP identifier | ||
CHR Chromosome number | CHR Chromosome number | ||
Line 226: | Line 233: | ||
N_GENO | N_GENO | ||
F_MISS | F_MISS | ||
+ | </ | ||
+ | We can generate a file with filters added for the rate missing data in individuals '' | ||
- | </ | + | The thresholds for these filters should be adjusted accordingly to the different data sets. |
+ | < | ||
+ | |||
+ | #### filter data ### | ||
+ | |||
+ | plink --file ${file} \ | ||
+ | | ||
+ | --maf 0.01\ #SNPs with less than 1% minor allele frequencies | ||
+ | | ||
+ | --out ${out}/ | ||
+ | | ||
+ | |||
+ | </ | ||
===== Data analysis workflow with R and adegenet ===== | ===== Data analysis workflow with R and adegenet ===== | ||
tutorials/population-diversity/snp-chips.1600688698.txt.gz · Last modified: 2020/09/21 11:44 by bngina