<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {mso-style-name:"Subtitle\,CONSOLE";
        mso-style-priority:11;
        mso-style-link:"Subtitle Char\,CONSOLE Char";
        margin:0in;
        margin-bottom:.0001pt;
        background:#F2F2F2;
        font-size:9.0pt;
        font-family:Consolas;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.MsoSubtleEmphasis
        {mso-style-name:"Subtle Emphasis\,CON-HEAD";
        mso-style-priority:19;
        font-family:Consolas;
        color:white;
        font-weight:bold;}
span.SubtitleChar
        {mso-style-name:"Subtitle Char\,CONSOLE Char";
        mso-style-priority:11;
        mso-style-link:"Subtitle\,CONSOLE";
        font-family:Consolas;
        background:#F2F2F2;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been using the VEP to annotate a GATK-generated VCF containing indels from a WGS genotyping project, and have encountered a small number of entries that result in the following error (only when –hgvs is enabled):<o:p></o:p></p>
<p class="MsoNormal">    “Use of uninitialized value in string eq at /<mypath>/ensembl-tools-release-78/scripts/variant_effect_predictor/Bio/EnsEMBL/Variation/TranscriptVariationAllele.pm line 1220”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are the offending lines in the perl module:<o:p></o:p></p>
<p class="MsoNormal">     1219   ### Convert peptide to 3 letter code as used in HGVS<o:p></o:p></p>
<p class="MsoNormal">     1220   unless( $hgvs_notation->{ref} eq "-"){<o:p></o:p></p>
<p class="MsoNormal">    1221       $hgvs_notation->{ref}  = Bio::SeqUtils->seq3(Bio::PrimarySeq->new(-seq => $hgvs_notation->{ref}, -id => 'ref',  -alphabet => 'protein')) || "";<o:p></o:p></p>
<p class="MsoNormal">     1222   }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tracked down one of the offending entries, but it isn’t immediately obvious to me why it is causing an error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#CHROM             POS        ID            REF         ALT         QUAL    FILTER   INFO      FORMAT              MySample<o:p></o:p></p>
<p class="MsoNormal">13           21729289             .               T              TCAGTTTTCTTTGTTGCTGACATCTCGGATGTTCTGTCCATGTTTAAGGAACCTTTTA                118.19   .               AC=1;AF=5.556e-03;AN=180;BaseQRankSum=0.744;DP=2652;FS=3.538;GQ_MEAN=66.68;GQ_STDDEV=20.39;InbreedingCoeff=-0.0085;MLEAC=1;MLEAF=5.556e-03;MQ=60.00;MQ0=0;MQRankSum=0.609;NCC=0;QD=0.13;ReadPosRankSum=-1.220e-01;SOR=0.252   
 GT:AD:DP:GQ:PL              0/1:41,8:.:99:160,0,14558<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any ideas what the problem might be?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Oliver Homann<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">P.S.  Apart from this small glitch, VEP is teriffic!<o:p></o:p></p>
</div>
</body>
</html>