{"id":1364,"date":"2016-09-15T14:24:32","date_gmt":"2016-09-15T14:24:32","guid":{"rendered":"http:\/\/www.jmhartley.com\/HBlog\/?p=1364"},"modified":"2017-04-13T11:45:09","modified_gmt":"2017-04-13T11:45:09","slug":"phasing-raw-dna-with-ms-access-a-la-whit-athey-part-1","status":"publish","type":"post","link":"http:\/\/www.jmhartley.com\/HBlog\/2016\/09\/15\/phasing-raw-dna-with-ms-access-a-la-whit-athey-part-1\/","title":{"rendered":"Phasing Raw DNA with MS Access a la Whit Athey: Part 1"},"content":{"rendered":"<p>In this Blog, I would like to look at my raw DNA data. Those are the A&#8217;s, T&#8217;s, G&#8217;s and C&#8217;s. I have tested at AncestryDNA as has my mom and 2 sisters, so I will use those results. Whit Athey has a paper that describes how to phase your DNA when the DNA from one parent is missing:<\/p>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"223.09659999999997\"><em>Journal of Genetic Genealogy, 6(1), 2010<\/em><\/div>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"165.95899999999997\"><em>Journal of Genetic Genealogy<\/em><\/div>\n<div style=\"padding-left: 30px;\"><\/div>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"151.17879999999997\"><em>Fall 2010, Vol. 6, Number 1<\/em><\/div>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"746.0154000000005\"><em><a href=\"http:\/\/www.jogg.info\/62\/files\/Athey.pdf\">Phasing the Chromosomes of a Family Group When One Parent is Missing<\/a><\/em><\/div>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"116.33999999999999\"><em>T. Whit Athey<\/em><\/div>\n<div style=\"padding-left: 30px;\" data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">Many have used MS Excel to phase their raw DNA results. However, it occurred to me that perhaps MS Access would be a better tool for phasing than Excel. When I download my AncestryDNA data, I get about 700,000 lines of data. That is a lot more data than Excel can handle easily. I will go through the Athey Paper and use Access to get results. However, I will not be giving a tutorial on Access as that would take too long.<\/div>\n<h4 data-canvas-width=\"116.33999999999999\">Downloading AncestryDNA: Getting Rid of Zeros<\/h4>\n<p>Many people have downloaded raw data to upload to gedmatch.com. Ancestry raw data is in text form. Access gets along with Excel well, so first I import the AncestryDNA text data into Excel. Perhaps if you are curious, you have taken a look at your raw data to see what it looks like. Unfortunately, it takes a while to open up such a large file. Here is what a few lines of my AncestryDNA text file look like:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Text-File.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1374\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Text-File.jpg\" alt=\"ancestry-text-file\" width=\"690\" height=\"700\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Text-File.jpg 690w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Text-File-296x300.jpg 296w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<p>It is important to note in the information above that Ancestry uses Build 37. That means that these results need to be converted to compare to Build 36. For example, Gedmatch uses Build 36. I remove the information above the column titles and bring it into Excel. However, I put my name on the top of the last 2 columns because eventually there will be columns for 4 people&#8217;s results (mine, my mom&#8217;s and my 2 sisters&#8217;). I will need to distinguish between each person&#8217;s alleles. It is important to note that when importing this text file to Excel, Excel retains the file as text. This is probably such a file as note that the no-calls have been changed to zeros. To save the file as an Excel file, you must specifically do that step.<\/p>\n<p>Here is a file with the no-calls as blanks, like I want them, and with my name at the top and the verbiage removed:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/JoelAllele12-text.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1375\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/JoelAllele12-text.jpg\" alt=\"joelallele12-text\" width=\"564\" height=\"195\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/JoelAllele12-text.jpg 564w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/JoelAllele12-text-300x104.jpg 300w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/a><\/p>\n<p>Here is the file in Excel. I have used the search and replace in the last 2 columns. I want blanks for no-calls and not zeros which Excel likes to add.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Raw-Excel.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1376\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Raw-Excel.jpg\" alt=\"ancestry-raw-excel\" width=\"361\" height=\"414\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Raw-Excel.jpg 361w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Ancestry-Raw-Excel-262x300.jpg 262w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/a><\/p>\n<h4>Using Access<\/h4>\n<p>At this point, I had to switch to my laptop as I don&#8217;t have Access on my desk top. I open up Access and name\u00a0a new database. I go to External Data and choose the Excel icon with the arrow pointing up to import my 4 Excel Files of Raw DNA for Mom, my 2 sisters and me.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Access-Import.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1367\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Access-Import.png\" alt=\"access-import\" width=\"703\" height=\"118\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Access-Import.png 703w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Access-Import-300x50.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/a><\/p>\n<p>Next under Create, I choose Query Design. I choose the 4 Excel files that I have imported to Excel.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1379\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1.png\" alt=\"4-tables-in-query\" width=\"1033\" height=\"584\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1.png 1033w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1-300x170.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1-768x434.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/4-tables-in-query-1-1024x579.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>I should note that when I imported the Excel files, that Access creates a unique ID for each row. I let Access do that. It has set that ID as a key identifier. I could have used the rsid as a key that is somewhat as a unique constant. Next I will connect each table by the rsid&#8217;s with something called an equal join. That is the dark line I added between the rsid Field for each persons DNA data.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Equal-Join.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1381\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Equal-Join.png\" alt=\"equal-join\" width=\"754\" height=\"164\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Equal-Join.png 754w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Equal-Join-300x65.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/a><\/p>\n<p>This means return the results when the rsid is the same for each file. Note the last table ( 2 images above) was wrong, so I took that out and added my sister Heidi&#8217;s Raw data table on the right. It is important to get the initial importing right and in the right format as this will save a lot of time later. Here is the form that I want the data in:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Whit-Table-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1371\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Whit-Table-1.png\" alt=\"whit-table-1\" width=\"702\" height=\"160\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Whit-Table-1.png 702w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Whit-Table-1-300x68.png 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/a><\/p>\n<p>This is a portion of Table 1 from the Whit Athey Paper. The difference is that Whit only had part of Chromosome 16. I will have all Chromosomes at once. In my Access query I choose the Excel Titles as Fields. I need the rsid, chromosome and chromosome position only once. Then I add the 2 alleles for each person. FTDNA uses right and left alleles. AncestryDNA uses allele 1 and 2. They are the same undifferentiated alleles.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1382\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query.png\" alt=\"fields-for-query\" width=\"1282\" height=\"446\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query.png 1282w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query-300x104.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query-768x267.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Fields-for-query-1024x356.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>When I run the view the query results, I get this:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1383\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results.png\" alt=\"view-first-query-results\" width=\"1112\" height=\"411\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results.png 1112w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results-300x111.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results-768x284.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/View-First-Query-Results-1024x378.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>So with one push of the button, I have all the raw results of 4 people in my family in one area. I actually have more information than I need. AncestryDNA includes chromosome 24 and 25 which is YDNA and mitochondrial information that I don&#8217;t care about here. This is easily filtered out in the criteria section of the design view. I choose &#8216;Between 1 and 23&#8217; there. That gives me each chromosome between and including 1 and 23.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chromosome-Criteria.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1384\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chromosome-Criteria.png\" alt=\"chromosome-criteria\" width=\"389\" height=\"90\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chromosome-Criteria.png 389w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chromosome-Criteria-300x69.png 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/a><\/p>\n<p>Now I am down from roughly 701,000 lines of data to the 700,000 lines that I want. It is important to save these results as a Table in Access as we will be using that Table to make more tables. Also save the query. Even though I say to do this, I didn&#8217;t. but just saved the results under the next step.<\/p>\n<h4>Whit Athey&#8217;s Principle 1<\/h4>\n<p>This Principle is\u00a0simple and straightforward. It says that if you have two letters the same in your results, one of those came from one parent and one came from the other. In line 1 of my results above I have TT. All my siblings have this result also. My mother is already shown as TT as she was tested. My father who was not tested must have had a T which he gave to me and my 2 sisters. Here is Table 2 from Athey showing the next set of data that we need to produce the AncestryDNA raw data. Ancestry didn&#8217;t tell us which side each of our bases came from, so we will figure that out.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Athey-Table-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1387\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Athey-Table-2.png\" alt=\"athey-table-2\" width=\"675\" height=\"332\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Athey-Table-2.png 675w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Athey-Table-2-300x148.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/a><\/p>\n<p>I have only 3 siblings that I&#8217;m looking at right now, so I need 6 more &#8216;Fields&#8217; in my database. There are a few ways to do this in Access. Here is one way that I did it.<\/p>\n<h4>Athey Principal 1 in Access: Homozygous Siblings<\/h4>\n<p>Homozygous is just a fancy term for my TT result found in the 1st position tested of my 1st Chrmosome. I created 6 more fields. These are to show what allele (letter) I got from my dad and my mom when I had a TT or other such homozygous results. Here is what the first field out of six that I added looks like on the Access Query Screen.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Homozyous-Sib-Query.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1388\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Homozyous-Sib-Query.png\" alt=\"homozyous-sib-query\" width=\"492\" height=\"106\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Homozyous-Sib-Query.png 492w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Homozyous-Sib-Query-300x65.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/a><\/p>\n<p>JoelFromDad is the first new field name. After the semicolon is the criteria. In English is says that if my allele1 is the same as my allele2, then put my allele1 in as the result I got from my dad. I used the same reasoning for a field called JoelFromMom and in similar fields for my two sisters. I viewed the results to make sure they made sense. I chose Make Table as I want the results in a Table to use later.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Make-Table.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1389\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Make-Table.png\" alt=\"make-table\" width=\"989\" height=\"149\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Make-Table.png 989w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Make-Table-300x45.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Make-Table-768x116.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<div data-canvas-width=\"116.33999999999999\">\u00a0I hit the Run button and created a Table called tblAncestrySibHomozygous. Here I have squished the results together.<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\"><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/tblSibHomozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1390\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/tblSibHomozygous.png\" alt=\"tblsibhomozygous\" width=\"672\" height=\"347\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/tblSibHomozygous.png 672w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/tblSibHomozygous-300x155.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/a><\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">The results are as above: MomAllele1,2, etc. Then I added in the last 6 columns: JoelFromDad; SharonFromDad; HeidiFromDad; JoelFromMom; etc. In the first line above, The T&#8217;s that we all had were added as contributed from our mom and dad. There appears to be an error on line 3. Note that there were no-calls for Joel and Heidi. What we got from Dad was right, but we shouldn&#8217;t know what we got from our mom, just based on our own results. I must have saved my next step to this table also.<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">Fortunately, when I view the original query, the results are correct:<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\"><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1391\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous.png\" alt=\"qrysibhomozygous\" width=\"1074\" height=\"148\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous.png 1074w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous-300x41.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous-768x106.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/qrySibHomozygous-1024x141.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">Note now that the blanks that should be there in the end of the 3rd line are there. Now I have 700,153 lines of results showing where my 2 sisters and I got our DNA from each parents just based on our own &#8216;homozygous&#8217; results. Good old Principle 1.<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">Another tip is that when you make a Table from a query, the order may be slightly different than what you want. To keep the same order, in the Sort row, choose Ascending for the chromosome and position.<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\"><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sort-Order.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1392\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sort-Order.png\" alt=\"sort-order\" width=\"422\" height=\"108\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sort-Order.png 422w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sort-Order-300x77.png 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><\/div>\n<p data-canvas-width=\"116.33999999999999\">This will make sure that the chromosomes and positions within the chromosomes stay in the correct order. Otherwise, Access may try to sort by the first field which is the rsid.<\/p>\n<h4 data-canvas-width=\"116.33999999999999\">Principle 2 in Access: Homozygous Parent<\/h4>\n<p>In my case, the homozygous parent is my mom. I spilled the beans already by my mistake above. In Line 3 above, my mom is GG. That means she had no other choice than but to contribute one of those G&#8217;s to each of her children at that location on Chrmomosome 1. Now I will put that Principle into Access language. For this portion I will use an Update Table. An Update Table will add new information to an existing Table. In this case, I added it to my tblAncestrySibHomozygous Table. That is why it showed the results already above. Here is what the Update Query looks like in design:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-for-MomHomozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1393\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-for-MomHomozygous.png\" alt=\"update-for-momhomozygous\" width=\"799\" height=\"502\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-for-MomHomozygous.png 799w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-for-MomHomozygous-300x188.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-for-MomHomozygous-768x483.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Here I have the tblAncestrySibHomozygous Table which I reran (or un-updated). This query says for the criteria where Momallel1 equals Momallele2, update the JoelFromMom, etc Fields with the Momallele2 value. Obviously I could have chosen either of her alleles to update the fields as they are the same. In the bottom left of the image above there is a pink highlighted query called qryMomHomozygous for Table. That is this update query. the ! means that it is going to create something. I assume that the little symbol to the left of the ! means that it is an update query. I ran the query and then created a new table with the results called tableAncestryMomHomozygous. Again, what I had forgotten was that by running this query, I also updated tblSibAncestryHomozygous. It&#8217;s always good to do quality checks &#8211; especially when you are dealing with over 700,000 rows of results at one time.<\/p>\n<p>I did the update and got a warning from Access that I was updating over 400,000 rows.\u00a0 And that action cannot be reversed. Here is my old tblAncestryMomHomozygous to show the zeros that I didn&#8217;t like:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Old-Mom-Homozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1395\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Old-Mom-Homozygous.png\" alt=\"old-mom-homozygous\" width=\"900\" height=\"426\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Old-Mom-Homozygous.png 900w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Old-Mom-Homozygous-300x142.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Old-Mom-Homozygous-768x364.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<div data-canvas-width=\"116.33999999999999\">I&#8217;ll delete that table and replace it with the update on tblAncestrySibHomozygous that I just did. Here is the new table without zeros.<\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\"><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/New-MomHomozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1396\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/New-MomHomozygous.png\" alt=\"new-momhomozygous\" width=\"701\" height=\"254\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/New-MomHomozygous.png 701w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/New-MomHomozygous-300x109.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/a><\/div>\n<div data-canvas-width=\"116.33999999999999\"><\/div>\n<div data-canvas-width=\"116.33999999999999\">I still had to sort the table to get it right. The trick is to sort the position first and then the chromosome and everything comes out in the right order. Notice that I got rid of my old zero problem. Now I have over 700,000 rows of phased DNA based on homozygous results. Next, I look at heterozygous DNA. Whoa.<\/div>\n<h4 data-canvas-width=\"116.33999999999999\">Principle 3: Heterozygous Child<\/h4>\n<p>I&#8217;ll copy the Athey Principle as he stated it as it is slightly more complicated than the previous two:<\/p>\n<p style=\"padding-left: 30px;\"><em>Principle 3 &#8212; A final phasing principle is almost trivial, but it is normally not useful because there is usually no way to satisfy its conditions: If a child is heterozygous at a particular SNP, and if it is possible to determine which parent contributed one of the bases, then the other parent necessarily contributed the other (or alternate) base. This principle will be very useful in the present approach.<\/em><\/p>\n<h5>How to put Principle 3 into access?<\/h5>\n<p>Here is an example of heterozygous children alleles where the mother&#8217;s contributing base is known:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Heterozygous-Example.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1397\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Heterozygous-Example.png\" alt=\"heterozygous-example\" width=\"678\" height=\"176\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Heterozygous-Example.png 678w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Heterozygous-Example-300x78.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p>We know that each sibling got a G from mom as she only has G&#8217;s at this location. All the siblings have TG for their raw results, which means the T must have come from dad. I can go through over 700,000 lines and apply that rule or try to use the Access Update Query to produce the same results. This time I copied the tblAncestryMomHomozygous to a table called tblSibHeterozygous\u00a0<em>before\u00a0<\/em>I did the update to maintain the integrity of the older table. In the Update Query, I combined 2 steps. First I set a criteria that there has to be something in the JoelFromMom for this to work. So I said that JoelFromMom is not Null. Next, my allele1 is T. I want this to go into my JoelFromDad spot. If this T doesn&#8217;t equal the G I got from my mom, I am already heterozygous, so I don&#8217;t need an extra query for that. [That was the step that I didn&#8217;t need.]<\/p>\n<p>Here is what I have for an Update Query:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1398\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2.png\" alt=\"query-heterozygous-allele2\" width=\"1100\" height=\"456\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2.png 1100w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2-300x124.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2-768x318.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-Heterozygous-Allele2-1024x424.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>However, note that instead of looking at allele1 here I chose allele2. I am thinking that this will be a 2 step process for each allele. This query is updating over 70,000 rows, or a little over 10% of all the data. I&#8217;m trying to show that this Update Query did not address\u00a0my example above which had to do with allele1 and it didn&#8217;t:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele2-query-heterozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1399\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele2-query-heterozygous.png\" alt=\"allele2-query-heterozygous\" width=\"688\" height=\"167\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele2-query-heterozygous.png 688w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele2-query-heterozygous-300x73.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>The first line was my example. The 3 blanks in the first line are the bases from Dad that were not produced from the query as expected. However, it did work for the second line. In that case, my allele2 was not equal to the allele I got from my mom, so it inserted that allele (G) as the allele I got from my Dad. Next I&#8217;ll copy the query: qryHeterozygousSibsAllele2 and rename it as qryHeterozygousSibsAllele1. Then I changed 6 of the allele2&#8217;s to allele1&#8217;s. This is to cover my original example where allele 1 wasn&#8217;t the same as the base contributed from Mom.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1400\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous.png\" alt=\"allele1-query-heterozygous\" width=\"1097\" height=\"103\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous.png 1097w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous-300x28.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous-768x72.png 768w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Allele1-query-heterozygous-1024x96.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>In English: When allele1 doesn&#8217;t equal the allele that you got from Mom, put it in as the allele you got from Dad. This results in over 76,000 row changes. By the way, if I haven&#8217;t mentioned it, in the Update Query, the row that says Update To is the one where the update to your data is happening. So in the above example if Sharon&#8217;s allele1 doesn&#8217;t equal the one she got from Mom, that allele is then known to be the one from dad and is inserted in the correct place in a new table.<\/p>\n<p>I check my updated table for good old rs13303118 and find:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-Allele1-Sib-Heterozygous.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1401\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-Allele1-Sib-Heterozygous.png\" alt=\"update-allele1-sib-heterozygous\" width=\"700\" height=\"183\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-Allele1-Sib-Heterozygous.png 700w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Update-Allele1-Sib-Heterozygous-300x78.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>So I think that it looks pretty good. The first line is now filled in with our Dad&#8217;s contributing base. Also all the applicable following lines out of 700,000. There are some situations there <em>should<\/em> be blanks. In the third line, my mom is AC and I am AC. That is the situation where it is not possible to know what base came from what parent. So the base for each of my contributing parent is left blank &#8211; meaning that it is unknown.<\/p>\n<h4>One Last Step: Looking for Patterns<\/h4>\n<p>This is about as far as I&#8217;ve gotten and understood. The next issue that Whit Athey looked at in his paper were patterns. In his example there were 4 siblings tested, so more patterns. He added a column between the allele inherited from Dad and one from Mom called Dad informative pattern.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Dad-Informative-Pattern.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1403\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Dad-Informative-Pattern.jpg\" alt=\"dad-informative-pattern\" width=\"842\" height=\"587\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Dad-Informative-Pattern.jpg 842w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Dad-Informative-Pattern-300x209.jpg 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Dad-Informative-Pattern-768x535.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>The idea is that there will be a pattern that lasts for a long time as we go down the results sequentially. These are the patterns of the segments that we inherit from our grandparents. Where the patterns change are the crossovers. Whit says to use those patterns to fill some of the missing letters. I haven&#8217;t started filling in the missing bases yet for a few reasons. One is that I&#8217;m not sure why I need to. In scanning the Athey paper there is a repetitive procedure of going back and forth between the data using the base from Dad&#8217;s side fill-in&#8217;s to help with the base from Mom&#8217;s side and then back again. First I&#8217;m not sure how to automate this yet. And if I could, how much better would the data be? I have quite a bit of data already. Once I get some answers of why I need to do this, I will continue on.<\/p>\n<p>Here is a paragraph from the Athey Paper concerning the above Table 2:<\/p>\n<p style=\"padding-left: 30px;\"><em>Note the pattern of inheritance from Dad shown in Table 2 for the four siblings in the leftmost four columns. The first few rows show an AABB base pattern, but this gives way in about lines 12-13 to a new pattern, ABBB. Even though we only can see the pattern showing in some of the rows, these patterns persist over hundreds or thousands of SNPs, and can be assumed to exist also in the intervening rows where no pattern was discernable (and in the underlying sequence). Note that often there will be the same base in every location, a case of \u201caccidental matching\u201d which does not contribute to or detract from the pattern we are looking for. When two or more bases are different in a row, however, this represents an informative pattern\u2014if any two are different, then since there are only two possible chromosomes contributing, it means we can see the chromosomal origins of the bases. <\/em><\/p>\n<p>One of the reasons that I quote the above is to address the accidental matching where there was the same contributing parent base for each sibling. However, what I didn&#8217;t see addressed is that there are cases where that is not just accidental which I will discuss later.<\/p>\n<h5>Finding the crossovers<\/h5>\n<p>I do know the importance of finding the crossovers. I wrote a query in Access to cull out the patterns that Whit mentions.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-for-patterns.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1405\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-for-patterns.png\" alt=\"query-for-patterns\" width=\"349\" height=\"122\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-for-patterns.png 349w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Query-for-patterns-300x105.png 300w\" sizes=\"auto, (max-width: 349px) 100vw, 349px\" \/><\/a><\/p>\n<p>Above is my query in design view using the table that has Principles, 1, 2, and 3 already applied. This query basically filters out the situations where the 3 siblings have the same base. The thought is that if one sibling has one base that is different from one of the others, then the three siblings&#8217; will not share the same base.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Results-of-Dad-Pattern-Query.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1406\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Results-of-Dad-Pattern-Query.png\" alt=\"results-of-dad-pattern-query\" width=\"319\" height=\"511\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Results-of-Dad-Pattern-Query.png 319w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Results-of-Dad-Pattern-Query-187x300.png 187w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/a><\/p>\n<p>Above is the start of the results of the query. Note the XYX pattern. This should make it possible to fill in Heidi&#8217;s missing bases from Dad. It looks like multiple choice test answers, but I would add C, G, C, C, C and A in the last column for the bases that Heidi got from Dad. \u00a0My homework assignment is to find a formula to fill in those letters so I don&#8217;t have to do it manually 10&#8217;s of thousands of times.<\/p>\n<p>Another thing I want Access to do is find where the crossovers are. Here I scrolled down all the bases the my sisters and I had from Dad. I can see where the XYX pattern changes to XYY:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Change-in-Dad-Pattern.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1407\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Change-in-Dad-Pattern.png\" alt=\"change-in-dad-pattern\" width=\"319\" height=\"366\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Change-in-Dad-Pattern.png 319w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Change-in-Dad-Pattern-261x300.png 261w\" sizes=\"auto, (max-width: 319px) 100vw, 319px\" \/><\/a><\/p>\n<p>But there was a problem. the XYX pattern stopped at position 18,759,377 and the XYY pattern started at 23,288,828. That means we have a large area with no pattern. Exactly. That is the area of XXX pattern that I just queried out. That has to be the area where all three siblings match the same paternal grandparent.<\/p>\n<h5>Checking my results with m macneill&#8217;s work<\/h5>\n<p>Fortunately, I have secret weapon. M MacNeill \u2013 <a class=\"moz-txt-link-abbreviated\" href=\"mailto:prairielad_genealogy@hotmail.com\"> prairielad_genealogy@hotmail.com<\/a> has also been looking at my raw DNA using his own Excel spreadsheet method. Here is what he has for Chromosome 1:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/MacNeill-Chr1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1408\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/MacNeill-Chr1.png\" alt=\"macneill-chr1\" width=\"968\" height=\"449\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/MacNeill-Chr1.png 968w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/MacNeill-Chr1-300x139.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/MacNeill-Chr1-768x356.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Now just look at the first 3 red bars above. They represent my paternal side. The first break would be on Sharon&#8217;s bar &#8211; the third red bar from the top. The end of her dark red bar is at 18,631,964:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sharon-Chr-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1417\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sharon-Chr-1.jpg\" alt=\"sharon-chr-1\" width=\"307\" height=\"180\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sharon-Chr-1.jpg 307w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Sharon-Chr-1-300x176.jpg 300w\" sizes=\"auto, (max-width: 307px) 100vw, 307px\" \/><\/a><\/p>\n<p>Look at Sharon&#8217;s bar in that region and then scan up the 3 red bars. There is an area where all three siblings match on the paternal grandmother side (lighter red).<\/p>\n<p>That is my paternal XXX Pattern.<\/p>\n<p>To satisfy my curiosity, I went back to my unfiltered\/unqueried table at the spot that the first pattern changed from XYX to XXX. The end of the first base pattern from Dad is highlighted in blue.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/XYX-to-XXX.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1419\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/XYX-to-XXX.png\" alt=\"xyx-to-xxx\" width=\"96\" height=\"484\" \/><\/a><\/p>\n<p>Line 2 is a no-call. Line 3 is one of the random XXX matches in the XYX pattern area that Athey mentioned above. Note that I could not likely fill in line 4 with what I know as I don&#8217;t know if that should be AAA, AGA, or something else. Actually, I could fill in Heidi&#8217;s with an A. If her results are AAA or AGA, Heidi still gets the A from Dad. It is only Sharon&#8217;s base from Dad that I don&#8217;t know.<\/p>\n<p>However, starting at CCC, it seems like it would make sense to fill in all the letters in the XXX pattern area &#8211; even if there is only one known base out of three.<\/p>\n<h5>Converting Build 37 to Build 36 positions<\/h5>\n<p>At the top of the Blog I had mentioned that AncestryDNA results were in Build 37. M MacNeill&#8217;s work is in Build 36. I really didn&#8217;t want to have to convert results and thought that I was being clever by using all AncestryDNA results. However, to compare to M MacNeill&#8217;s Map above or to Gedmatch results, I still have to convert positions. Hey, life is tough.<\/p>\n<h5>NCBI genome Remapping service<\/h5>\n<p>Fortunately there is a way to convert positions <a href=\"http:\/\/www.ncbi.nlm.nih.gov\/genome\/tools\/remap\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Conversion.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1409\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Conversion.png\" alt=\"conversion\" width=\"879\" height=\"401\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Conversion.png 879w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Conversion-300x137.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Conversion-768x350.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Assuming we are all homo sapiens, we select that choice and we select that we want to go from Build 37 to 36:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Build-37-to-36.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1410\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Build-37-to-36.png\" alt=\"build-37-to-36\" width=\"872\" height=\"549\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Build-37-to-36.png 872w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Build-37-to-36-300x189.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Build-37-to-36-768x484.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Here is the place to enter the data we want converted. It has to be in the format below &#8211; &#8220;chr1:&#8221; followed by the position number.\u00a0 There is also a place to upload a file which I haven&#8217;t tried.<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Data-for-conversion.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1411\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Data-for-conversion.png\" alt=\"data-for-conversion\" width=\"912\" height=\"402\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Data-for-conversion.png 912w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Data-for-conversion-300x132.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Data-for-conversion-768x339.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>These are the 2 positions from my query where one pattern stopped and another started. Here is what they look like in Build 36 under Map Location:<\/p>\n<p><a href=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chr-Conversion-results.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1412\" src=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chr-Conversion-results.png\" alt=\"chr-conversion-results\" width=\"898\" height=\"229\" srcset=\"http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chr-Conversion-results.png 898w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chr-Conversion-results-300x77.png 300w, http:\/\/www.jmhartley.com\/HBlog\/wp-content\/uploads\/2016\/09\/Chr-Conversion-results-768x196.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>These Build 36 position numbers match up perfectly with M MacNeill&#8217;s map positions which gives me some confidence. This is where I&#8217;ll end Part 1.<\/p>\n<p>I have found 2 paternal crossover points. However, I have not yet figured out which siblings they belong to &#8211; unless I cheat and look at the MacNeill Map above. I can easily do the same thing and find the pattern changes for the maternal side. I have shown 2 crossovers, but all the others exist in my query for 23 chromosomes. I just haven&#8217;t looked for them yet.<\/p>\n<h4>Summary<\/h4>\n<ul>\n<li>The Whit Athey Paper has been very helpful in phasing my raw DNA based on my mother and 2 siblings test results.<\/li>\n<li>M MacNeill has piqued an interest in raw DNA data that I never thought I would have<\/li>\n<li>M MacNeill&#8217;s Chromosome Maps are very helpful in checking my work<\/li>\n<li>MS Access appears to be a great tool to use to quickly phase a lot of raw DNA<\/li>\n<li>There is probably no way around DNA remapping or conversions<\/li>\n<li>I still need:\n<ul>\n<li>An easy way to find all the crossover points<\/li>\n<li>A formula to fill in the various patterns<\/li>\n<li>A good reason to fill in those missing bases<\/li>\n<\/ul>\n<\/li>\n<li>I have a lot more to learn about DNA phasing using raw DNA data<\/li>\n<\/ul>\n<h4><\/h4>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Blog, I would like to look at my raw DNA data. Those are the A&#8217;s, T&#8217;s, G&#8217;s and C&#8217;s. I have tested at AncestryDNA as has my mom and 2 sisters, so I will use those results. Whit Athey has a paper that describes how to phase your DNA when the DNA from &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.jmhartley.com\/HBlog\/2016\/09\/15\/phasing-raw-dna-with-ms-access-a-la-whit-athey-part-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Phasing Raw DNA with MS Access a la Whit Athey: Part 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7,37],"tags":[],"class_list":["post-1364","post","type-post","status-publish","format-standard","hentry","category-chromosome-mapping","category-hartley-dna","category-raw-dna-phasing"],"_links":{"self":[{"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/posts\/1364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/comments?post=1364"}],"version-history":[{"count":17,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/posts\/1364\/revisions"}],"predecessor-version":[{"id":1424,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/posts\/1364\/revisions\/1424"}],"wp:attachment":[{"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/media?parent=1364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/categories?post=1364"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jmhartley.com\/HBlog\/wp-json\/wp\/v2\/tags?post=1364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}