{"id":25259,"date":"2025-04-19T12:06:11","date_gmt":"2025-04-19T04:06:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/25259.html"},"modified":"2025-04-19T12:06:11","modified_gmt":"2025-04-19T04:06:11","slug":"linux%e4%b8%8b%e8%bd%bdadmixture","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/25259.html","title":{"rendered":"Linux\u4e0b\u8f7dADMIXTURE"},"content":{"rendered":"<\/p>\n<p>\u5728\u5b66\u4e60GWAS&#xff0c;\u6c42Q\u77e9\u9635\u3002\u8bd5\u4e86\u4e00\u4e0bSTRUCTURE&#xff0c;\u62a5\u9519\u4e00\u76f4\u6ca1\u89e3\u51b3&#xff0c;\u4e0d\u77e5\u9053\u4e3a\u5565\u3002&#xff08;Windows\u7684\u6ca1\u8bd5&#xff0c;\u7528\u7684Linux\u865a\u62df\u673a&#xff09;<\/p>\n<p>\u6240\u4ee5\u6362ADMIXTURE\u8bd5\u8bd5\u770b\u5148\u3002<\/p>\n<p>ADMIXTURE<\/p>\n<p>\u529f\u80fd: ADMIXTURE \u7c7b\u4f3c\u4e8e STRUCTURE&#xff0c;\u4f46\u5177\u6709\u66f4\u5feb\u7684\u8ba1\u7b97\u901f\u5ea6&#xff0c;\u9002\u5408\u5927\u89c4\u6a21\u6570\u636e\u96c6\u3002<\/p>\n<p>\u7279\u70b9: \u5b83\u4f7f\u7528\u6700\u5927\u4f3c\u7136\u4f30\u8ba1\u65b9\u6cd5\u6765\u4f30\u8ba1\u7fa4\u4f53\u5f52\u5c5e\u548c\u4e2a\u4f53\u7684\u6df7\u5408\u6bd4\u4f8b\u3002<\/p>\n<p>\u9002\u7528\u8303\u56f4: \u9002\u5408\u5904\u7406\u5927\u89c4\u6a21 SNP \u6570\u636e&#xff0c;\u8ba1\u7b97\u6548\u7387\u9ad8\u3002<\/p>\n<p>\u5b98\u7f51&#xff1a;ADMIXTURE<\/p>\n<p>1.\u4e0b\u8f7d<\/p>\n<p>\u8fdb\u5165\u5b98\u7f51&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"655\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-680321311e5df.png\" width=\"1200\" \/><\/p>\n<p>\u5982\u679c\u4f60\u662fMac\u5c31\u4e0b\u8f7d\u4e0b\u9762\u7684&#xff0c;\u597d\u50cf\u6ca1\u6709Windows\u7248\u672c\u7684\u3002<\/p>\n<p>&#xff08;2&#xff09;\u89e3\u538b<\/p>\n<p>\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u5939&#xff0c;\u628a\u4e0b\u8f7d\u4e0b\u6765\u7684\u5b89\u88c5\u5305\u62d6\u5230\u65b0\u7684\u6587\u4ef6\u5939\u4e2d\u8fdb\u884c\u89e3\u538b<\/p>\n<p>tar -zxvf admixture_linux-1.3.0.tar.gz  <\/p>\n<p>\u89e3\u538b\u5b8c\u4e86\u4f1a\u6709\u8fd9\u4e9b\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"173\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-6803213174b84.png\" width=\"859\" \/><\/p>\n<p>&#xff08;3&#xff09;\u6dfb\u52a0\u73af\u5883\u53d8\u91cf<\/p>\n<p>sudo vim ~\/.bashrc<br \/>\nexport PATH&#061;$PATH:\/home\/cb2\/admixture\/dist\/admixture_linux-1.3.0<br \/>\nsource ~\/.bashrc <\/p>\n<p>\u8fd9\u91ccvim\u7f16\u8f91\u5668\u7684\u4f7f\u7528\u4e0d\u4ecb\u7ecd\u4e86&#xff0c;\u628a&#xff1a;\u540e\u9762\u7684\u6539\u6210\u81ea\u5df1\u7684\u8def\u5f84\u5373\u53ef&#xff0c;\u4e0d\u77e5\u9053\u7684\u8bdd\u5c31pwd\u4e00\u4e0b<\/p>\n<p>\u540e\u9762\u662f\u91cd\u65b0\u52a0\u8f7d\u4e00\u4e0b\u6587\u4ef6<\/p>\n<p>&#xff08;4&#xff09;\u68c0\u67e5\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"248\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-680321319b3e7.png\" width=\"878\" \/><\/p>\n<p>\u5b89\u88c5\u6210\u529f\u7684\u8bdd\u4f1a\u6709\u4ee5\u4e0b\u63d0\u9192<\/p>\n<p>2.\u8f93\u5165\u6587\u4ef6\u683c\u5f0f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"417\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-68032131c5713.png\" width=\"1192\" \/><\/p>\n<p>\u6700\u597d\u770b\u4e00\u4e0b\u8fd9\u4e2apdf\u6587\u4ef6<\/p>\n<p>\u6570\u636e\u5982\u679c\u662fplink\u7684bed\u6587\u4ef6&#xff0c;\u90a3\u8fd8\u8981\u5305\u542bbim\u548cfam\u6587\u4ef6<\/p>\n<p>\u6570\u636e\u5982\u679c\u662fplink\u7684ped\u6587\u4ef6&#xff0c;\u90a3\u8fd8\u8981\u5305\u542bmap\u6587\u4ef6<\/p>\n<p>3.K\u503c<\/p>\n<p>K\u503c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u8bbe\u7f6e&#xff0c;\u901a\u8fc7\u6bd4\u8f83\u5f97\u5230\u6700\u4f73K\u503c&#xff0c;admixture\u4f7f\u7528\u4ea4\u53c9\u9a8c\u8bc1\u786e\u5b9aK\u503c<\/p>\n<p>for K in {1..10}; do     .\/admixture &#8211;cv&#061;10 1G_new.bed $K | tee log${K}.out; done <\/p>\n<p>\u628a\u8fd9\u91cc\u76841G_new.bed\u6362\u6210\u4f60\u81ea\u5df1\u7684\u6587\u4ef6\u540d\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p>\u8dd1\u8fd9\u4e2a\u7a0b\u5e8f\u9700\u8981\u4e00\u70b9\u65f6\u95f4\u7684&#xff0c;\u8010\u5fc3\u7b49\u5f85\u4e00\u4e0b\u5c31\u597d<\/p>\n<p>\u7a0b\u5e8f\u8dd1\u5b8c\u4f1a\u751f\u6210\u5f88\u591a\u65b0\u7684\u6587\u4ef6&#xff0c;\u6bcf\u4e2aK\u503c\u90fd\u4f1a\u751f\u6210\u4e24\u4e2a\u6587\u4ef6&#xff0c;.P\u548c.Q<\/p>\n<p>.P&#xff1a;\u50a8\u5b58\u63a8\u65ad\u7684\u7956\u5148\u79cd\u7fa4\u7684\u7b49\u4f4d\u57fa\u56e0\u9891\u7387<\/p>\n<p>.Q&#xff1a;\u6bcf\u4e2a\u6837\u672c\u4e2d\u5404\u4e2a\u7956\u5148\u79cd\u7fa4\u6240\u5360\u7684\u767e\u5206\u6bd4<\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"155\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040610-68032132120a3.png\" width=\"987\" \/><\/p>\n<p>\u7136\u540e\u6211\u4eec\u9009\u62e9CV\u503c\u6700\u4f4e\u7684K\u503c\u4e3a\u6211\u4eec\u7684\u5206\u7fa4\u6570\u76ee<\/p>\n<p>grep -h CV log*.out <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf10\u6b21\u3002Linux\u4e0b\u8f7dAdmixture\u4ee5\u53caAdmixture\u7684\u4f7f\u7528_admixture\u5b89\u88c5<\/p>\n","protected":false},"author":2,"featured_media":25254,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1977,58,43,44],"topic":[],"class_list":["post-25259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gwas","tag-linux","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/25259.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf10\u6b21\u3002Linux\u4e0b\u8f7dAdmixture\u4ee5\u53caAdmixture\u7684\u4f7f\u7528_admixture\u5b89\u88c5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/25259.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T04:06:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-680321311e5df.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/25259.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/25259.html\",\"name\":\"Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T04:06:11+00:00\",\"dateModified\":\"2025-04-19T04:06:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/25259.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/25259.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/25259.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u4e0b\u8f7dADMIXTURE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/25259.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf10\u6b21\u3002Linux\u4e0b\u8f7dAdmixture\u4ee5\u53caAdmixture\u7684\u4f7f\u7528_admixture\u5b89\u88c5","og_url":"https:\/\/www.wsisp.com\/helps\/25259.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T04:06:11+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419040609-680321311e5df.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/25259.html","url":"https:\/\/www.wsisp.com\/helps\/25259.html","name":"Linux\u4e0b\u8f7dADMIXTURE - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T04:06:11+00:00","dateModified":"2025-04-19T04:06:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/25259.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/25259.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/25259.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u4e0b\u8f7dADMIXTURE"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/25259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=25259"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/25259\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/25254"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=25259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=25259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=25259"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=25259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}