<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">As the documentation for -minimal mentions you should use -allele_number to track alleles from input to output.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">As you note for your example the ALT will be “-“ in all cases, but the start/end coordinates used to calculate the consequences will be different.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">It’s a matter of opinion unfortunately whether -minimal should be the default or not; we err on the side of trying not to confuse users too much by making it not the default. It’s something that could be up for consideration for change in the future, though.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Will</div> <br> <div id="bloop_sign_1500039394681844992" class="bloop_sign"></div> <br><p class="airmail_on">On 14 July 2017 at 12:28:46, João Eiras (<a href="mailto:joao.eiras@gmail.com">joao.eiras@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>On 14 July 2017 at 12:15, William McLaren <wm2@ebi.ac.uk> wrote:<br>> Hi João,<br>><br>> VEP trims alleles if the substitution is unbalanced (typically an insertion<br>> or deletion where the length(REF) != length(ALT)), and by default only trims<br>> the first base from each.<br>><br>> You may force VEP to fully strip each pair of alleles using --minimal [1];<br>> using this flag I get missense as expected.<br>><br>> We’re currently working on expanding and clarifying the documentation for<br>> this, with the update available in release 90.<br>><br>> Regards<br>><br><br>Hi William.<br><br>Indeed that option fixes the annotation, but it breaks other things.<br>I'm parsing the JSON output and using the variant_allele property to<br>match an annotation with the input allele. But variant_allele is<br>missing in deletes so the match cannot happen. But meanwhile I managed<br>to get the code working with "codons".<br><br>I think the minimal option shouldn't be there as it breaks deletes<br>awfully. For instance, how to strip "chr1 99772782 ACTG ACT,ATG,ACG"?<br>The alt will always be empty.<br><br>I also think that VEP should do the stripping internally always when<br>producing the annotation. Whether minimal is present or not should<br>have no influence in the annotation.<br><br>Thank you for your time !<br>_______________________________________________<br>Dev mailing list    Dev@ensembl.org<br>Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev<br>Ensembl Blog: http://www.ensembl.info/<br></div></div></span></blockquote></body></html>