[ensembl-dev] SNP Effect Predictor --hgnc error when no db entry

Michael Yourshaw myourshaw at ucla.edu
Sun Oct 24 19:19:35 BST 2010

The snp_effect_predictor.pl script fails at the line
	$hgnc_name = $entries[0]->display_id || undef;
when $entries[0] is undefined. To correct this:
	$hgnc_name = defined($entries[0]) ? $entries[0]->display_id || undef : undef;					


Michael Yourshaw
UCLA Geffen School of Medicine
Department of Human Genetics, Nelson Lab
695 Charles E Young Drive S
Gonda 5554
Los Angeles CA 90095-8348 USA
myourshaw at ucla.edu

This message is intended only for the use of the addressee and may contain information that is PRIVILEGED and CONFIDENTIAL, and/or may contain ATTORNEY WORK PRODUCT. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20101024/28bde01a/attachment.html>

More information about the Dev mailing list