<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</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>
<div>
<div>Hi, </div>
<div><br>
</div>
<div>I am trying to use vep75 (with cache) and had to re-format my input (which was not in vcf/or other compatible formats) to the ensembl input format. Thought I have done this successfully but I get an error in a specific insertion: </div>
<div><br>
</div>
<div>Original file entry:</div>
<div>8:133984814<span class="Apple-tab-span" style="white-space:pre"> </span>c.6056-29<span class="Apple-tab-span" style="white-space:pre">
</span>G>GTT</div>
</div>
</div>
<div><br>
</div>
<div>Formatted to ensembl format: </div>
<div>8 133984816 133984814 G/GTT +</div>
<div><br>
</div>
<div>Error I get:</div>
<div>WARNING: start > end+1 : (START=133984816, END=133984814) on line 19.</div>
<div><br>
</div>
<div>My code to reformat the input was this: </div>
<div><br>
</div>
<div>      my @split = split(/\t/); # splitting file by tabs</div>
<div>
<div>      my @al = split(':',$split[1]); # getting the chr:pos</div>
<div>      my @al2 = split('>',$split[3]); # getting the ref>alt</div>
<div><br>
</div>
<div>      if ((length $al2[0]==1) && (length $al2[1]==1)) {</div>
<div>        print "$al[0] $al[1] $al[1] $al2[0]/$al2[1] +\n";</div>
<div>      } elsif (length $al2[1] > length $al2[0]) {</div>
<div>            my $sub = (length $al2[1])-(length $al2[0]);</div>
<div>            my $new = $al[1]+$sub;</div>
<div>            print "$al[0] $new $al[1] $al2[0]/$al2[1] +\n";</div>
<div>      } elsif (length $al2[1] < length $al2[0]) {</div>
<div>             my $sub2 = (length $al2[0])-(length $al2[1]);</div>
<div>             my $new2 = $al[1]-$sub2; </div>
<div>             print "$al[0] $new2 $al[1] $al2[0]/$al2[1] +\n";</div>
<div>      }</div>
</div>
<div><br>
</div>
<div>Am I missing something?</div>
<div><br>
</div>
<div>Thanks a lot!</div>
<div><br>
</div>
<div>Eva</div>
</body>
</html>