教育资源为主的文档平台

当前位置: 查字典文档网> 所有文档分类> 高等教育> 生物学> admixture-manual

admixture-manual

上传者:李小滨
|
上传时间:2015-04-24
|
次下载

admixture-manual

admixture软件使用手册

Admixture1.23SoftwareManualDavidH.AlexanderJohnNovembre

August22,2013KennethLange

admixture软件使用手册

Contents1Quickstart

2Reference

2.1HowdoIchoosethecorrectvalueforK?..........

2.1.1Background.......................

2.2HowdoIplottheQestimates?................

2.3DoIneedtothinthemarkersetforlinkagedisequilibrium?

2.4HowmanymarkersdoIneedtosupplytoADMIXTURE?.

2.5HowdoIchangetherandomseed?’.............

2.6OptimizationMethods.....................

2.7Terminationcriteria......................

2.8Accelerationmethods.....................

2.9Bootstrapping..........................

2.10Supervisedanalysis.......................

2.11Multithreadedmode......................

2.12Penalizedestimation......................

3Citationandfurtherinformation.....................................................................................................................1334556777888101010Notetousers:thematrixformerlyreferredtoasF,containingthepopulationallelefrequencies,isnowknown(asofv1.20)asP,andisoutputtoa.P?le.ThisistobringournotationinlinewiththatoftheSTRUCUTREpapers.

1Quickstart

ADMIXTUREisaprogramforestimatingancestryinamodel-basedmannerfromlargeautosomalSNPgenotypedatasets,wheretheindividualsareunrelated(forexample,theindividualsinacase-controlassociationstudy).

ADMIXTURE’sinputisbinaryPLINK(.bed),ordinaryPLINK(.ped),orEIGENSTRAT(.geno)formatted?lesanditsoutputissimplespace-delimited?lescontainingtheparam-eterestimates.

TouseADMIXTURE,youneedaninput?leandanideaofK,yourbeliefofthenumberofancestralpopulations.Youshouldalsohavetheassociatedsupport?lesalongsideyourmaininput?le,inthesamedirectory.Forexample,ifyourprimaryinput?leisa.bed?le,youshouldhavetheassociated.bim(binarymarkerinformation?le)and.fam(pedigreestub?le)?lesinthesamedirectory.Ifyourprimaryinput?leisa.pedor.geno?le,acorrespondingPLINKstyle.map?leshouldbeinthesamedirectory.

1

admixture软件使用手册

IfyouhaveanbinaryPED(.bed)formatted?leinyourcurrentdirectory

%ls

hapmap3.bedhapmap3.bimhapmap3.fam

andyoubelievethattheindividualsinthesamplederivetheirancestryfromthreeancestralpopulationsthenrunadmixturelikethis:

%admixturehapmap3.bed3

ADMIXTUREwillstartrunning.Hopefullyitwill?nishsoon,anditwillthenoutputsomeestimates:

%ls

hapmap3.bedhapmap3.bimhapmap3.famhapmap3.3.Qhapmap3.3.P

Thereisanoutput?leforeachparameterset:Q(theancestryfractions),andP(theallelefrequenciesoftheinferredancestralpopulations).Notethattheoutput?lenameshave‘3’inthem.Thisindicatesthenumberofpopulations(K)thatwasassumedfortheanalysis.This?lenameconventionmakesiteasytorunanalysesusingdi?erentvaluesofKinthesamedirectory.

IfyouhaveaPLINK.ped“12”coded?le—generatedbyacommandlike

%plink--filehapmap--recode12--outhapmap

—thenyoufollowbasicallythesameinstructions:

%admixturehapmap3.ped3

NotethatADMIXTUREinferstheformatofyourinput?lebasedonthe?leextension(.bed,.ped,or.geno).

YoucanrunADMIXTUREonainput?lelocatedinanotherdirectory,butitsoutputwillalwaysbeputinthecurrentworkingdirectory.Forexample:

%pwd

/home/dalexander/AdmixtureRuns

%ls

(nooutput—currentdirectoryisempty)

%ls~/Data

hapmap3.pedhapmap3.map

%admixture~/Data/hapmap3.ped3

(waitforittorun)

2

admixture软件使用手册

%ls

hapmap3.3.Qhapmap3.3.P

%ls~/Data

hapmap3.pedhapmap3.map

Ifyoualsowantedstandarderrors,theninsteadofthelastcommandyoushouldhaveused

%admixture-B~/Data/hapmap3.ped3

Thiswillperformpointestimationandthenwillalsouseabootstrappingproceduretocalculatethestandarderrors.Notethat(point-estimation&bootstrapping)takesconsid-erablylongerthanpoint-estimationalone,soyouwillhavetobepatient.Eventuallyitwill?nish,yieldingpointestimatesandstandarderrors:

%ls

hapmap3.3.Qhapmap3.3.Phapmap3.3.Q_se

The“se”?leisinthesameunadorned?leformatasthepointestimates.

Ifyouranalysesaretakingalongtime,?rstconsiderwhy.Isyourdatasethuge?Doyoureallyneedtoanalyzeallthemarkers,orcanyouthinthemarkerset(asdescribedinSection2.3)?Ifyoureallydoneedtoanalyzeallthemarkers,orifyouranalysisisslowishforotherreasons(verylargeK,extensivecross-validationorbootstrapping)youmightconsiderrunningADMIXTUREinmultithreadedmode.Ifyourcomputerhasfourprocessors,forexample,youcoulduseacommandlike

%admixture~Data/huge_dataset.bed3-j4

tosplitADMIXTURE’sworkamongfourthreads—whichcanmakeADMIXTURErunalmostfourtimesasfast.

2

2.1ReferenceHowdoIchoosethecorrectvalueforK?

UseADMIXTURE’scross-validationprocedure.AgoodvalueofKwillexhibitalowcross-validationerrorcomparedtootherKvalues.Cross-validationisenabledbysimplyaddingthe--cv?agtotheADMIXTUREcommandline.Inthisdefaultsetting,thecross-validationprocedurewillperform5-foldCV—youcanget10-foldCV,forexample,using--cv=10.Thecross-validationerrorisreportedintheoutput.Forexample,ifinourbashshellweran

3

admixture软件使用手册

%forKin12345;\

doadmixture--cvhapmap3.bed$K|teelog${K}.out;done

(i.e.,ranADMIXTUREwithcross-validationforKvalues1,2,3,4and5),thenwecouldquicklyviewtheCVerrors:

%grep-hCVlog*.out

CVerror(K=1):0.55248

CVerror(K=2):0.48190

CVerror(K=3):0.47835

CVerror(K=4):0.48236

CVerror(K=5):0.48985

wherethenumberinparenthesesisthestandarderrorofthecross-validationerrorestimate.Wecaneasilyplotthesevaluesforcomparison,asinFigure

内容需要下载文档才能查看

1,whichmakesitfairlyclearthatK=3isasensiblemodelingchoice.

Figure1:Cross-validationplotforthehapmap3dataset

2.1.1Background

ThosefamiliarwithSTRUCTUREknowthatitprovidesameansofidentifyingthe“best”valueforK,thenumberofpopulations,basedoncomputingthemodelevidenceforeachpossibleKvalue.ThemodelevidenceforKisde?nedas

Pr(G|K)=f(G|Q,P,K)π(Q,P|K)dQdP

4

版权声明:此文档由查字典文档网用户提供,如用于商业用途请与作者联系,查字典文档网保持最终解释权!

下载文档

热门试卷

2016年四川省内江市中考化学试卷
广西钦州市高新区2017届高三11月月考政治试卷
浙江省湖州市2016-2017学年高一上学期期中考试政治试卷
浙江省湖州市2016-2017学年高二上学期期中考试政治试卷
辽宁省铁岭市协作体2017届高三上学期第三次联考政治试卷
广西钦州市钦州港区2016-2017学年高二11月月考政治试卷
广西钦州市钦州港区2017届高三11月月考政治试卷
广西钦州市钦州港区2016-2017学年高一11月月考政治试卷
广西钦州市高新区2016-2017学年高二11月月考政治试卷
广西钦州市高新区2016-2017学年高一11月月考政治试卷
山东省滨州市三校2017届第一学期阶段测试初三英语试题
四川省成都七中2017届高三一诊模拟考试文科综合试卷
2017届普通高等学校招生全国统一考试模拟试题(附答案)
重庆市永川中学高2017级上期12月月考语文试题
江西宜春三中2017届高三第一学期第二次月考文科综合试题
内蒙古赤峰二中2017届高三上学期第三次月考英语试题
2017年六年级(上)数学期末考试卷
2017人教版小学英语三年级上期末笔试题
江苏省常州西藏民族中学2016-2017学年九年级思想品德第一学期第二次阶段测试试卷
重庆市九龙坡区七校2016-2017学年上期八年级素质测查(二)语文学科试题卷
江苏省无锡市钱桥中学2016年12月八年级语文阶段性测试卷
江苏省无锡市钱桥中学2016-2017学年七年级英语12月阶段检测试卷
山东省邹城市第八中学2016-2017学年八年级12月物理第4章试题(无答案)
【人教版】河北省2015-2016学年度九年级上期末语文试题卷(附答案)
四川省简阳市阳安中学2016年12月高二月考英语试卷
四川省成都龙泉中学高三上学期2016年12月月考试题文科综合能力测试
安徽省滁州中学2016—2017学年度第一学期12月月考​高三英语试卷
山东省武城县第二中学2016.12高一年级上学期第二次月考历史试题(必修一第四、五单元)
福建省四地六校联考2016-2017学年上学期第三次月考高三化学试卷
甘肃省武威第二十三中学2016—2017学年度八年级第一学期12月月考生物试卷

网友关注

2014年教师资格考试基本能力备考指导
2014年教师资格考试综合素质科技常识
教师资格证考试《中学综合素质》资料整理九:道德发展理论
教师资格证考试《中学综合素质》资料整理十一:中学生心理辅导
教师资格考试《教师职业道德》考点一:教师职业道德解读
教师资格考试《教师职业道德》考点五:教育职业道德范畴
教师资格证考试《中学综合素质》资料整理七:中学德育的原则、方法和途径
教资备考|教师资格考试中学综合素质知识重点八
教师资格证考试《中学综合素质》资料整理十五:人格理论
教资备考|中学综合素质写作基础知识与手法一
教师资格证考试《中学综合素质》资料整理十六:中学生的心理发展
教师资格证考试《中学综合素质》资料整理五:课堂纪律
教资备考|教师资格考试中学综合素质知识重点三
教资备考|教师资格考试中学综合素质知识重点一
教师资格证考试《中学综合素质》资料整理二:课外活动
教师资格证考试《中学综合素质》资料整理十三:人格概述
教师资格证考试《中学综合素质》资料整理十四:影响人格发展的因素
教师资格证考试《中学综合素质》资料整理二十:认知策略
2013年全国教资统考考前模拟一——学生减负(中学写作部分)
教资备考|教师资格考试中学综合素质知识重点五
教师资格考试《教师职业道德》考点三:教师职业道德规范
教师资格证考试《中学综合素质》资料整理一:班集休的培养
2013年全国教资统考考前模拟二——因材施教(中学写作部分)
教师资格证考试《中学综合素质》资料整理十七:中学生的认知发展
教资考试之如何理解学生是“两独一发”的人
教师资格证考试《中学综合素质》资料整理四:中学班主任工作
教师资格证考试《中学综合素质》资料整理六:课堂管理
2013年全国教资统考考前模拟三——创新(中学写作部分)
教师资格证考试《中学综合素质》资料整理十八:中学生情绪和情感的发展
教师资格考试《教师职业道德》考点四:教师职业道德的新视野

网友关注视频

8 随形想象_第一课时(二等奖)(沪教版二年级上册)_T3786594
《空中课堂》二年级下册 数学第一单元第1课时
第8课 对称剪纸_第一课时(二等奖)(沪书画版二年级上册)_T3784187
沪教版八年级下册数学练习册21.4(1)无理方程P18
外研版英语三起5年级下册(14版)Module3 Unit2
北师大版八年级物理下册 第六章 常见的光学仪器(二)探究凸透镜成像的规律
【获奖】科粤版初三九年级化学下册第七章7.3浓稀的表示
苏教版二年级下册数学《认识东、南、西、北》
外研版八年级英语下学期 Module3
冀教版英语五年级下册第二课课程解读
冀教版小学数学二年级下册第二周第2课时《我们的测量》宝丰街小学庞志荣
30.3 由不共线三点的坐标确定二次函数_第一课时(市一等奖)(冀教版九年级下册)_T144342
化学九年级下册全册同步 人教版 第25集 生活中常见的盐(二)
外研版英语七年级下册module3 unit2第二课时
二年级下册数学第二课
沪教版牛津小学英语(深圳用) 五年级下册 Unit 10
沪教版牛津小学英语(深圳用) 四年级下册 Unit 8
北师大版数学 四年级下册 第三单元 第二节 小数点搬家
外研版英语三起6年级下册(14版)Module3 Unit1
【部编】人教版语文七年级下册《老山界》优质课教学视频+PPT课件+教案,安徽省
第五单元 民族艺术的瑰宝_15. 多姿多彩的民族服饰_第二课时(市一等奖)(岭南版六年级上册)_T129830
【部编】人教版语文七年级下册《逢入京使》优质课教学视频+PPT课件+教案,安徽省
8.练习八_第一课时(特等奖)(苏教版三年级上册)_T142692
沪教版牛津小学英语(深圳用) 五年级下册 Unit 7
【部编】人教版语文七年级下册《逢入京使》优质课教学视频+PPT课件+教案,安徽省
苏科版数学七年级下册7.2《探索平行线的性质》
精品·同步课程 历史 八年级 上册 第15集 近代科学技术与思想文化
小学英语单词
沪教版牛津小学英语(深圳用) 四年级下册 Unit 2
人教版历史八年级下册第一课《中华人民共和国成立》