print"PIG MODE: Setting transcript display_xrefs and descriptions that were projected to NULL and status to NOVEL\n";
$sth=$to_ga->dbc()->prepare("UPDATE transcript g, xref x, transcript t SET t.display_xref_id = NULL, t.description=NULL, t.status='NOVEL' WHERE t.display_xref_id=x.xref_id AND x.info_type='PROJECTION'");
$sth->execute();
$sth->finish();
}
print"Deleting projected xrefs, object_xrefs and synonyms\n";
$sth=$to_ga->dbc()->prepare("DELETE es FROM xref x, external_synonym es WHERE x.xref_id=es.xref_id AND x.info_type='PROJECTION'");
$sth->execute();
...
...
@@ -794,7 +785,7 @@ sub check_overwrite_display_xref {
#Exit early if it was a RefSeq predicted name & source was a vetted good symbol