<div dir="ltr">Ah, I understand, I misassumed the ancestral allele was the major allele, and just looked at the reference/alternate allele + the specified allele in the MAF when deciding which was major/minor allele. That was my wrong assumption. <div><br></div><div>Thank you!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 1:48 PM, Emily Perry <span dir="ltr"><<a href="mailto:emily@ebi.ac.uk" target="_blank">emily@ebi.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Lee<br>
    <br>
    Major does not mean ancestral. The major allele is the allele which
    is the most frequent. The ancestral allele is the allele found in
    the aligned region in related species. In most cases the ancestral
    allele will be the major one, but not always.<br>
    <br>
    Taking your first example, rs7636839, the minor allele is G because
    it's found in 42% of 1000 Genomes individuals:<br>
<a class="m_3315502616040803382moz-txt-link-freetext" href="http://www.ensembl.org/Homo_sapiens/Variation/Population?db=core;r=3:189638652-189639652;v=rs7636839;vdb=variation;vf=4598592" target="_blank">http://www.ensembl.org/Homo_<wbr>sapiens/Variation/Population?<wbr>db=core;r=3:189638652-<wbr>189639652;v=rs7636839;vdb=<wbr>variation;vf=4598592</a><br>
    <br>
    The ancestral allele is also G because that's the allele found in
    Chimpanzee and other primates:<br>
<a class="m_3315502616040803382moz-txt-link-freetext" href="http://www.ensembl.org/Homo_sapiens/Variation/Compara_Alignments?db=core;r=3:189638652-189639652;v=rs7636839;vdb=variation;vf=4598592" target="_blank">http://www.ensembl.org/Homo_<wbr>sapiens/Variation/Compara_<wbr>Alignments?db=core;r=3:<wbr>189638652-189639652;v=<wbr>rs7636839;vdb=variation;vf=<wbr>4598592</a><br>
    <br>
    All the best<br>
    <br>
    Emily<span class=""><br>
    <br>
    <div class="m_3315502616040803382moz-cite-prefix">On 21/07/2017 12:35, Lee Stopak wrote:<br>
    </div>
    </span><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi all, 
        <div><br>
        </div>
        <div>I am doing a number of calls to fetch ancestral allele,
          minor allele, and allele frequency data. Overall, I have about
          35000 SNPs to fetch. I have no problem doing the calls, but
          about 15% of them return an identical base as both the minor
          allele and the ancestral allele. When I then lookup that SNP
          on the ensembl webpage, they are NOT the same allele, but are
          different. Here are a few SNPs where the minor and ancestral
          allele are returned the same: </div>
        <div><br>
        </div>
        <div>rs7636839<br>
        </div>
        <div>rs2495239<br>
        </div>
        <div>rs11705932<br>
        </div>
        <div>rs6999859<br>
        </div>
        <div>rs7432328<br>
        </div>
        <div>rs546131<br>
        </div>
        <div>rs6003982<br>
        </div>
        <div>rs2203205<br>
        </div>
        <div>rs10101158<br>
        </div>
        <div>rs7366282<br>
        </div>
        <div><br>
        </div>
        <div>Does anybody know why this is? I don't think it is a bug in
          my code, considering the rest of the calls are returned
          correctly. </div>
        <div><br>
        </div>
        <div>Thanks!</div>
      </div>
      <br>
      <fieldset class="m_3315502616040803382mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
Dev mailing list    <a class="m_3315502616040803382moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org" target="_blank">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="m_3315502616040803382moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev" target="_blank">http://lists.ensembl.org/<wbr>mailman/listinfo/dev</a>
Ensembl Blog: <a class="m_3315502616040803382moz-txt-link-freetext" href="http://www.ensembl.info/" target="_blank">http://www.ensembl.info/</a>
</pre>
    </span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_3315502616040803382moz-signature" cols="72">-- 
Dr Emily Perry (Pritchard)
Ensembl Outreach Project Leader

European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge
CB10 1SD
UK </pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
Dev mailing list    <a href="mailto:Dev@ensembl.org">Dev@ensembl.org</a><br>
Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.ensembl.org/<wbr>mailman/listinfo/dev</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/" rel="noreferrer" target="_blank">http://www.ensembl.info/</a><br>
<br></blockquote></div><br></div>