plink 软件中 cases 和 controls
表型2是case。
表型1是control。
001、
root@DESKTOP-1N42TVH:/home/test4# ls outcome.map outcome.ped root@DESKTOP-1N42TVH:/home/test4# cat outcome.map 1 s64199.1 0 55910 1 OAR19_64675012.1 0 85204 1 OAR19_64715327.1 0 122948 root@DESKTOP-1N42TVH:/home/test4# cat outcome.ped DOR 1 0 0 0 1 0 0 C C G G DOR 2 0 0 0 1 G G G C G G DOR 3 0 0 0 2 G G 0 0 G G DOR 4 0 0 0 -9 G G C C G G DOR 5 0 0 0 -9 G G C C G G DOR 6 0 0 0 -9 G G C C 0 0 root@DESKTOP-1N42TVH:/home/test4# plink --file outcome --recode tab --out test PLINK v1.90b6.26 64-bit (2 Apr 2022) www.cog-genomics.org/plink/1.9/ (C) 2005-2022 Shaun Purcell, Christopher Chang GNU General Public License v3 Logging to test.log. Options in effect: --file outcome --out test --recode tab 16007 MB RAM detected; reserving 8003 MB for main workspace. .ped scan complete (for binary autoconversion). Performing single-pass .bed write (3 variants, 6 people). --file: test-temporary.bed + test-temporary.bim + test-temporary.fam written. 3 variants loaded from .bim file. 6 people (0 males, 0 females, 6 ambiguous) loaded from .fam. Ambiguous sex IDs written to test.nosex . 3 phenotype values loaded from .fam. Warning: Ignoring phenotypes of missing-sex samples. If you don't want those phenotypes to be ignored, use the --allow-no-sex flag. Using 1 thread (no multithreaded calculations invoked). Before main variant filters, 6 founders and 0 nonfounders present. Calculating allele frequencies... done. Total genotyping rate is 0.833333. 3 variants and 6 people pass filters and QC. Among remaining phenotypes, 1 is a case and 2 are controls. (3 phenotypes are missing.) --recode ped to test.ped + test.map ... done.
002、
root@DESKTOP-1N42TVH:/home/test4# ls outcome.map outcome.ped root@DESKTOP-1N42TVH:/home/test4# cat outcome.map 1 s64199.1 0 55910 1 OAR19_64675012.1 0 85204 1 OAR19_64715327.1 0 122948 root@DESKTOP-1N42TVH:/home/test4# cat outcome.ped DOR 1 0 0 0 1 0 0 C C G G DOR 2 0 0 0 2 G G G C G G DOR 3 0 0 0 2 G G 0 0 G G DOR 4 0 0 0 2 G G C C G G DOR 5 0 0 0 2 G G C C G G DOR 6 0 0 0 -9 G G C C 0 0 root@DESKTOP-1N42TVH:/home/test4# plink --file outcome --recode tab --out test PLINK v1.90b6.26 64-bit (2 Apr 2022) www.cog-genomics.org/plink/1.9/ (C) 2005-2022 Shaun Purcell, Christopher Chang GNU General Public License v3 Logging to test.log. Options in effect: --file outcome --out test --recode tab 16007 MB RAM detected; reserving 8003 MB for main workspace. .ped scan complete (for binary autoconversion). Performing single-pass .bed write (3 variants, 6 people). --file: test-temporary.bed + test-temporary.bim + test-temporary.fam written. 3 variants loaded from .bim file. 6 people (0 males, 0 females, 6 ambiguous) loaded from .fam. Ambiguous sex IDs written to test.nosex . 5 phenotype values loaded from .fam. Warning: Ignoring phenotypes of missing-sex samples. If you don't want those phenotypes to be ignored, use the --allow-no-sex flag. Using 1 thread (no multithreaded calculations invoked). Before main variant filters, 6 founders and 0 nonfounders present. Calculating allele frequencies... done. Total genotyping rate is 0.833333. 3 variants and 6 people pass filters and QC. Among remaining phenotypes, 4 are cases and 1 is a control. (1 phenotype is missing.) --recode ped to test.ped + test.map ... done.
003、
root@DESKTOP-1N42TVH:/home/test4# ls outcome.map outcome.ped root@DESKTOP-1N42TVH:/home/test4# cat outcome.map 1 s64199.1 0 55910 1 OAR19_64675012.1 0 85204 1 OAR19_64715327.1 0 122948 root@DESKTOP-1N42TVH:/home/test4# cat outcome.ped DOR 1 0 0 0 2 0 0 C C G G DOR 2 0 0 0 1 G G G C G G DOR 3 0 0 0 1 G G 0 0 G G DOR 4 0 0 0 1 G G C C G G DOR 5 0 0 0 1 G G C C G G DOR 6 0 0 0 1 G G C C 0 0 root@DESKTOP-1N42TVH:/home/test4# plink --file outcome --recode tab --out test PLINK v1.90b6.26 64-bit (2 Apr 2022) www.cog-genomics.org/plink/1.9/ (C) 2005-2022 Shaun Purcell, Christopher Chang GNU General Public License v3 Logging to test.log. Options in effect: --file outcome --out test --recode tab 16007 MB RAM detected; reserving 8003 MB for main workspace. .ped scan complete (for binary autoconversion). Performing single-pass .bed write (3 variants, 6 people). --file: test-temporary.bed + test-temporary.bim + test-temporary.fam written. 3 variants loaded from .bim file. 6 people (0 males, 0 females, 6 ambiguous) loaded from .fam. Ambiguous sex IDs written to test.nosex . 6 phenotype values loaded from .fam. Warning: Ignoring phenotypes of missing-sex samples. If you don't want those phenotypes to be ignored, use the --allow-no-sex flag. Using 1 thread (no multithreaded calculations invoked). Before main variant filters, 6 founders and 0 nonfounders present. Calculating allele frequencies... done. Total genotyping rate is 0.833333. 3 variants and 6 people pass filters and QC. Among remaining phenotypes, 1 is a case and 5 are controls. --recode ped to test.ped + test.map ... done.
分类:
生信
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
2021-07-12 c语言为什么设计这么多种数据类型
2021-07-12 c语言中不同进制数的表示
2021-07-12 计算机的字长是指什么