<div dir="auto">Could not be clearer, thanks a lot!<div dir="auto"><br></div><div dir="auto">(and +1 to have the possibility of having the 3'shifted info)</div><div dir="auto"><br></div><div dir="auto">Have a nice weekend</div><div dir="auto">D</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 26 jul. 2019 12:43, Andrew Parton <<a href="mailto:aparton@ebi.ac.uk">aparton@ebi.ac.uk</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
Thank you for your query, there are a couple of reasons for these differences. <br>
<br>
1) Insertions/deletions are always described in their most 3’ position in HGVS notation. So if, for example, you insert an A into a repeated region of As, the HGVS output will be reported at the most 3’ region, whereas the protein position column will report the position as it was given to VEP. We are currently looking at shifting all variants 3’ by default, and will include this in a future release.<br>
<br>
2) The protein position column will cover all input locations (including the reference), while the HGVS output will use only a minimal allele string. For example, in the sequence<br>
<br>
ATG CTG<br>
<br>
Then input of an insertion of a T in position [3,4] in the standard VCF format of ‘chr 3 varName G GT’ would provide a range of 1-2 for the protein position (as it is also considering the reference G that was given), while the HGVS would recognise the insertion as only being in position 2.<br>
<br>
I think these two cases cover all of your examples. If you have any more questions, or any particular examples that you’d like us to take a closer look at, please let us know.<br>
<br>
Kind Regards,<br>
Andrew<br>
<br>
> On 25 Jul 2019, at 16:11, David Tamborero <<a href="mailto:david.tamborero@gmail.com" target="_blank" rel="noreferrer">david.tamborero@gmail.com</a>> wrote:<br>
> <br>
> Hi ensembl devs,<br>
> <br>
> I m struggling to fully understand how the 'protein position' column is calculated when I check the variant hgvsp representation <br>
> <br>
> this happens only for indels; some examples (left=hgvsp entry; right=protein position entry):<br>
> <br>
> frameshift:<br>
> ENSP00000277541.6:p.Gln2444ThrfsTer34   2444<br>
> ENSP00000256474.2:p.Lys159ArgfsTer14   158-159<br>
> ENSP00000324856.6:p.Tyr253SerfsTer32   252-254<br>
> <br>
> inframe deletions:<br>
> ENSP00000356379.4:p.Tyr1373del   1373-1374<br>
> ENSP00000361824.3:p.Glu2207del    2207<br>
> ENSP00000339004.3:p.His57del      53-54<br>
> ENSP00000268125.5:p.Phe96_Phe99del    96-99<br>
> ENSP00000413720.3:p.Ala171_Ala174del    171-175<br>
> ENSP00000368332.4:p.Ala114_Ala115del    110-112<br>
> <br>
> inframe insertions:<br>
> ENSP00000369497.3:p.Glu238_Ser239insArg   239<br>
> ENSP00000339867.2:p.Asp687_Gly688insPhe   687-688<br>
> ENSP00000445920.1:p.Val188_Ala192dup   188-192<br>
> ENSP00000361824.3:p.Arg2308_Met2309dup   2308-2310<br>
> <br>
> I m guessing that this may be related in part to right/left alignement discrepancies in the reported coordinates between these two columns (e.g. ENSP00000368332.4:p.Ala114_Ala115del --> 110-112 or ENSP00000339004.3:p.His57del  ---> 53-54) ?  <br>
> <br>
> and that there is certain issue that sometimes makes you report in the protein column 'n' or 'n+1' positions -where n is the number of affected residues according to the HGVSp (e.g.  ENSP00000277541.6:p.Gln2444ThrfsTer34-->2444  or ENSP00000445920.1:p.Val188_Ala192dup  -- > 188-192  report 'n'  whereas ENSP00000413720.3:p.Ala171_Ala174del -->171-175 or ENSP00000368332.4:p.Ala114_Ala115del-->110-112 report 'n+1')?<br>
> <br>
> apologies if this is documented somewhere, i ve been not able to find the details of that entry<br>
> <br>
> thanks in advance!<br>
> d<br>
> _______________________________________________<br>
> Dev mailing list    <a href="mailto:Dev@ensembl.org" target="_blank" rel="noreferrer">Dev@ensembl.org</a><br>
> Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" rel="noreferrer noreferrer" target="_blank">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
> Ensembl Blog: <a href="http://www.ensembl.info/" rel="noreferrer noreferrer" target="_blank">http://www.ensembl.info/</a><br>
<br>
<br>
_______________________________________________<br>
Dev mailing list    <a href="mailto:Dev@ensembl.org" target="_blank" rel="noreferrer">Dev@ensembl.org</a><br>
Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" rel="noreferrer noreferrer" target="_blank">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/" rel="noreferrer noreferrer" target="_blank">http://www.ensembl.info/</a><br>
</blockquote></div>