hotfix-4.0: genome_info.pl no longer fails for S. cerevisiae. Closes
@@ -165,9 +165,11 @@ sub createCoreTables {
# Additional synonyms
my ($display_xref_entry);
$display_xref_entry = $gene->display_xref();
+ if(defined($display_xref_entry)) {
foreach my $synonym_str(@{ $display_xref_entry->get_all_synonyms }) {
print XREFS $trans->stable_id() . "\t" . $synonym_str . "\t" . &get_dbname_short("Ensembl gene") . "\t" . "Ensembl gene" . "\t" . $gene->description() . "\n";
}
+ }
# print XREF $ntrans."\t".$gene->external_name."\t".&get_dbname($gene->get_all_DBEntries->[0]->{'db_display_name'})."\t".$gene->get_all_DBEntries->[0]->{'description'}."\n";
# print XREFS $trans->stable_id()."\t".$gene->external_name()."\t".&get_dbname_short($gene->get_all_DBEntries->[0]->{'db_display_name'})."\t".$gene->get_all_DBEntries->[0]->{'db_display_name'}."\t".$gene->get_all_DBEntries->[0]->{'description'}."\n";
