<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 12px; font-family: Consolas, sans-serif; ">
<div>Hi Will,</div>
<div><br>
</div>
<div>This helped a lot, thanks! And great to hear about the change for the next release.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Eva</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Will McLaren <<a href="mailto:wm2@ebi.ac.uk">wm2@ebi.ac.uk</a>><br>
<span style="font-weight:bold">Reply-To: </span>Ensembl developers list <<a href="mailto:dev@ensembl.org">dev@ensembl.org</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, 11 February 2014 17:43<br>
<span style="font-weight:bold">To: </span>Ensembl developers list <<a href="mailto:dev@ensembl.org">dev@ensembl.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [ensembl-dev] VEP script - per gene and canonical options<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>There is only one canonical transcript per gene.</div>
<div><br>
</div>
<div>--per_gene picks the transcript that gives the most severe consequence type; no account is taken of whether the transcript is canonical. If two or more transcripts give the same consequence, the one chosen is essentially random - if this happens to be
 the canonical one then it will be shown as such.</div>
<div><br>
</div>
<div>This is being tweaked for the next release of VEP (75); priority is given to canonical then protein coding transcripts before consequence rank. There will be a new flag, --pick that picks one consequence per variant according to these criteria. --per_gene
 will do the same, but will give one per gene if more than one gene is overlapped by the variant.</div>
<div><br>
</div>
<div>Hope that helps</div>
<div><br>
</div>
<div>Will McLaren</div>
<div>Ensembl Variation</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 11 February 2014 16:31, Eva Goncalves Serra <span dir="ltr">
<<a href="mailto:egs@sanger.ac.uk" target="_blank">egs@sanger.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 style="font-size:12px;font-family:Consolas,sans-serif;word-wrap:break-word">
<div>
<div>Hi,</div>
<div><br>
</div>
<div>I am using VEP and the option —per_gene to output only the most severe consequence for a gene (the documentation says that the choice of transcript is arbitrary id more than one has the same predicted consequence) and also —canonical to denote whether
 the transcript is the canonical one or not. </div>
<div>My question is: if using these two options together, is the -canonical option relative to the transcript chosen with the most severe consequence by the –per_gene option?</div>
<div><br>
</div>
<div>Thanks a lot,</div>
<div><br>
</div>
<div>Eva</div>
<div>--</div>
<div>PhD Student, Wellcome Trust Sanger Institute</div>
</div>
</div>
<br>
_______________________________________________<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" target="_blank">
http://lists.ensembl.org/mailman/listinfo/dev</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/" target="_blank">http://www.ensembl.info/</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>