<div dir="ltr">Personally, for now, since I am about to start running VEP, I will be happy Will if you could point me all the places where I can patch the code to get rid of the dashes.<div><br></div><div>G.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2014 at 16:49, Michael Yourshaw <span dir="ltr"><<a href="mailto:myourshaw@ucla.edu" target="_blank">myourshaw@ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Will—<div><br></div><div>I suspect this is an issue for many others, as well. For one thing, in a database table the dash requires what should be a numerical field to be treated like text.</div><div><br></div><div> I deal with the dashes in post-processing, but as G says this can be a pain. Rather than users having to patch each new version of VEP, could you consider adding a new parameter so your code would look like</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div><span class=""><div>        $output = join "\t", map {</div></span><div>            (defined $line->{$_} ? $line->{$_} : (defined $extra{$_} ? $extra{$_} : $config->{empty_field_char}))</div><div>        } @{$config->{fields}};</div></div></div></blockquote><div><div dir="ltr"><div><div><br></div><div>and allow -- empty_field_char with no argument to yield ‘’.</div></div></div></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><span style="border-collapse:separate;font-family:'Lucida Grande';border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Grande';font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><p class="MsoNormal"><font face="'Devanagari MT'" size="7"><span style="font-size:27px"><font face="'Lucida Grande'" size="3"><span style="font-size:12px"><br></span></font><font size="5"><span style="font-size:18px">ॐ</span></font></span></font></p></span><p></p><p style="margin:0px 0px 6px;font-style:normal;font-variant:normal;font-weight:normal;font-size:16px;line-height:normal;font-family:Helvetica"><span style="font-family:'Lucida Grande';font-size:10px">Michael Yourshaw, PhD</span></p><div style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">UCLA Geffen School of Medicine</span></div><div style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">Department of Pediatrics</span></div><div style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">695 Charles E Young Drive S</span></div><div style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">Gonda 5554</span></div><p style="margin:0px 0px 3px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">Los Angeles CA 90095-8348 USA</span></p><p style="margin:0px 0px 3px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande';color:rgb(0,0,153)"><span style="text-decoration:underline;letter-spacing:0px"><a href="mailto:myourshaw@ucla.edu" target="_blank">myourshaw@ucla.edu</a></span></p><p style="margin:0px 0px 6px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px"><a href="tel:970.691.8299" value="+19706918299" target="_blank">970.691.8299</a></span></p><p style="margin:0px 0px 6px;font-style:normal;font-variant:normal;font-weight:normal;font-size:9px;line-height:normal;font-family:'Lucida Grande'"><span style="letter-spacing:0px">This message (including any attachments) is intended only for the use of the addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL, and/or may constitute ATTORNEY WORK PRODUCT. If you are not an intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this message in error, please</span> do not read, copy, or forward this message or any attachments. Please permanently<span style="letter-spacing:0px"> delete all copies of the message and any attachments and notify the sender immediately by sending an email to <a href="mailto:myourshaw@yourshaw.org" target="_blank">myourshaw@yourshaw.org</a>. Thank you. As part of our </span>commitment<span style="letter-spacing:0px"> to the environment, this </span>message was manufactured with 100% recycled electrons.</p><div><font size="1"><span style="font-size:9px"><br></span></font></div></span><br><br></span></div></span></div></div>
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On 3Dec, 2014, at 08:23, Will McLaren <<a href="mailto:wm2@ebi.ac.uk" target="_blank">wm2@ebi.ac.uk</a>> wrote:</div><br><div><div dir="ltr">Hi G,<div><br></div><div>The print_line() subroutine in <a href="http://variant_effect_predictor.pl/" target="_blank">variant_effect_predictor.pl</a> has the following code:</div><div><br></div><div><div>        $output = join "\t", map {</div><div>            (defined $line->{$_} ? $line->{$_} : (defined $extra{$_} ? $extra{$_} : '-'))</div><div>        } @{$config->{fields}};</div></div><div><br></div><div>So to do as you intend you could change this to</div><div><br></div><div><div>        $output = join "\t", map {</div><div>            (defined $line->{$_} ? $line->{$_} : (defined $extra{$_} ? $extra{$_} : ''))</div><div>        } @{$config->{fields}};</div></div><div><br></div><div>Regards</div><div><br></div><div>Will McLaren</div><div>Ensembl Variation</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2014 at 16:17, Genomeo Dev <span dir="ltr"><<a href="mailto:genomeodev@gmail.com" target="_blank">genomeodev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Current VEP script puts dash in empty fields in the default output. Could you please point me to the code where I can remove replace dash with an empty string? Modifying the output file after it is generated is non-trivial for very large files.<span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr">G.</div></div>
</font></span></div></div>
<br>_______________________________________________<br>
Dev mailing list    <a href="mailto:Dev@ensembl.org" target="_blank">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>
_______________________________________________<br>Dev mailing list    <a href="mailto:Dev@ensembl.org" target="_blank">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></div></blockquote></div><br></div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">G.</div></div>
</div>