[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-134150-en":3,"doc-seo-134150-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},134150,2336475104736,"วิน","https://ap-avatar.wpscdn.com/avatar/22000c4c5e0e5b17e70?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786591360781797222",8,"Research & Report","Relate practical - Using genealogies for population genetics","Relate practical focuses on inferring genome-wide genealogies for the Simons Genome Diversity Project dataset of 278 modern humans using Relate binaries, bash scripts, and R. It explains how sampling locations are represented across seven regions and how to prepare input data by converting phased genotypes to the haps/sample format, setting ancestral alleles to 0, and applying masks. The practical then guides running Relate and estimating effective population sizes and split times from inferred genealogies, with additional sections on evidence for positive selection.","Relate practical 15-06-2022  \nRelate practical: Using genealogies for population genetics  \nJasmin Rees 1 , Leo Speidel 1 ,2 ,􀀃  \n1 Genetics Institute, University College London, London, UK  \n2 Francis Crick Institute, London, UK  \n􀀃 Contact: leo .speidel@outlook .com  \nIn this practical, we will infer genealgies for the Simons Genome Diversity Project dataset, downloaded from [https://reichdata.hms.harvard.edu/pub/datasets/sgdp/](https://reichdata.hms.harvard.edu/pub/datasets/sgdp/. This)[. This](https://reichdata.hms.harvard.edu/pub/datasets/sgdp/. This) dataset comprises wholegenome sequencing data of 278 modern humans with sampling locations shown in Fig. 1.  \nLatitude  \n\n| ●\u003Cbr>●\u003Cbr>● | ● |  | ●\u003Cbr>●\u003Cbr>● | ● ● |  | ● | ●●\u003Cbr>●\u003Cbr>●\u003Cbr>●●\u003Cbr>● |  | ●\u003Cbr>●●●●\u003Cbr>● ● ●●\u003Cbr>● ●\u003Cbr>●\u003Cbr>●●●\u003Cbr>● | ● |  | ●● |  | ●\u003Cbr>●\u003Cbr>●\u003Cbr>● ●●\u003Cbr>● ●●\u003Cbr>●●\u003Cbr>● | ●\u003Cbr>●● | ●\u003Cbr>● | ●\u003Cbr>● ● |  | ●\u003Cbr>●●\u003Cbr>● |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n|  |  |  |  | ●\u003Cbr>●\u003Cbr>●● | ●\u003Cbr>●● |  |  |  |  | ● | ●\u003Cbr>●●\u003Cbr>●● |  |  |  |  |  |  |  |  |\n|  | ●\u003Cbr>● | ● |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  | ●\u003Cbr>● |  |  |  |  |  |  |  |  | ● ● |  |  |  |  |\n|  |  |  |  | ●\u003Cbr>●● |  |  |  |  |  |  |  | ●●\u003Cbr>●● | ● |  | ●●\u003Cbr>●\u003Cbr>●\u003Cbr>●\u003Cbr>● |  |  | ● |  |\n|  |  |  |  |  |  |  |  |  |  | ● ● |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  | ● |  | ●\u003Cbr>● |  |  |  |  |  |  |  |  |  |  |  |\n|  | ●●\u003Cbr>● |  |  |  |  | ●●\u003Cbr>●● |  |  |  |  |  |  |  |  |  |  |  |  |  |\n| ● |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n\nLongitude  \nregion  \n● Africa  \n● America  \n● CentralAsiaSiberia  \n● EastAsia  \n● Oceania  \n● SouthAsia  \n● WestEurasia  \nFigure 1: Sampling locations of the 278 modern humans in the Simons Genome Diversity Project. Samples are classi􀀌ed into seven regions shown by colours.  \nNote 1  \nThe data was downloaded from:  \n- Phased genotypes: [https://sharehost.hms.harvard.edu/genetics/reich_lab/sgdp/](https://sharehost.hms.harvard.edu/genetics/reich_lab/sgdp/)[ ](https://sharehost.hms.harvard.edu/genetics/reich_lab/sgdp/)[phased_data/PS2_multisample_public](phased_data/PS2_multisample_public)  \n- Genomic mask: [https://reichdata.hms.harvard.edu/pub/datasets/sgdp/filters/](https://reichdata.hms.harvard.edu/pub/datasets/sgdp/filters/)[ ](https://reichdata.hms.harvard.edu/pub/datasets/sgdp/filters/)[all_samples/](all_samples/)  \n- Human ancestral genome: [ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/phase1/](ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/phase1/)[ ](ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/phase1/)[analysis_results/supporting/ancestral_alignments/](analysis_results/supporting/ancestral_alignments/)  \n- Recombination maps: [https://mathgen.stats.ox.ac.uk/impute/1000GP_Phase3.html](https://mathgen.stats.ox.ac.uk/impute/1000GP_Phase3.html)  \n[We then used](We then used RelateFileFormats--mode ConvertFromVcf to convert to the haps/sample)[ RelateFileFormats--mode ConvertFromVcf](We then used RelateFileFormats--mode ConvertFromVcf to convert to the haps/sample)[ to convert to the haps/sample](We then used RelateFileFormats--mode ConvertFromVcf to convert to the haps/sample) 􀀌le format and the [PrepareInputFiles.sh](PrepareInputFiles.sh) script to make sure ancestral alleles are denoted by 0 and to 􀀌lter out regions according to the genomic mask.  \nOverview  \n1 Relate 2  \n1.1 Data requirements and 􀀌le formats ............................. 3  \n1.2 The arguments ........................................ 3  \n2 Running Relate on the Simons Genome Diversity Project dataset 4  \n2.1 Running Relate ........................................ 4  \n3 E􀀋ective population sizes and split times 6  \n3.1 Estimating population sizes given a genealogy ....................... 6  \n3.2 Joint 􀀌tting of population size and branch lengths .................... 8  \n3.3 Colate: Inferring coalescence rates for low-coverage genomes ............... 9  \n","cbCaiiukqATLP6a7","https://ap.wps.com/l/cbCaiiukqATLP6a7","pdf",808679,1,13,"English","en",105,"# Overview\n## Relate\n# Data requirements and file formats\n## The arguments\n# Running Relate on the Simons Genome Diversity Project dataset\n## Running Relate\n# Effective population sizes and split times\n## Estimating population sizes given a genealogy\n## Joint fitting of population size and branch lengths\n## Coaleate: Inferring coalescence rates for low-coverage genomes\n# Detecting evidence for positive selection","[{\"question\":\"What is Relate used for in this practical?\",\"answer\":\"Relate estimates joint genealogies for many thousands of modern individuals across the genome, describing relationships through most-recent common ancestors.\"},{\"question\":\"How are the SGDP input data prepared for Relate?\",\"answer\":\"Phased genotypes are converted to the haps/sample file format, ancestral alleles are denoted by 0, and genomic regions are filtered using the provided genomic mask.\"},{\"question\":\"What analyses are performed after running Relate?\",\"answer\":\"The practical estimates effective population sizes and split times from inferred genealogies, including methods such as joint fitting and coalescence-rate inference for low-coverage genomes.\"}]","Relate practical - Using genealogies for population genetics | PDF",1787235207,33,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"relate-practical-using-genealogies-for-population-genetics","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/relate-practical-using-genealogies-for-population-genetics/134150/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-21","2026-08-20",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What is Relate used for in this practical?","Question",{"text":76,"@type":77},"Relate estimates joint genealogies for many thousands of modern individuals across the genome, describing relationships through most-recent common ancestors.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How are the SGDP input data prepared for Relate?",{"text":81,"@type":77},"Phased genotypes are converted to the haps/sample file format, ancestral alleles are denoted by 0, and genomic regions are filtered using the provided genomic mask.",{"name":83,"@type":74,"acceptedAnswer":84},"What analyses are performed after running Relate?",{"text":85,"@type":77},"The practical estimates effective population sizes and split times from inferred genealogies, including methods such as joint fitting and coalescence-rate inference for low-coverage genomes.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":93},[94,98,102,106,111,116,121,124,129,132,136],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":112,"doc_module":4,"doc_module_name":46,"category_name":113,"show_sort_weight":114,"slug":115},6,"Technology",50,"technology",{"id":117,"doc_module":4,"doc_module_name":46,"category_name":118,"show_sort_weight":119,"slug":120},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":122,"slug":123},30,"research-report",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":46,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":133,"doc_module":4,"doc_module_name":46,"category_name":134,"show_sort_weight":133,"slug":135},10,"Lifestyle","lifestyle",{"id":137,"doc_module":4,"doc_module_name":46,"category_name":138,"show_sort_weight":107,"slug":139},19,"General","general"]