Skip to content
Snippets Groups Projects
Commit a551abf5 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

when clearing up, also reset transcript display xrefs and descriptions

parent 372d935c
No related branches found
No related tags found
No related merge requests found
......@@ -728,7 +728,7 @@ sub delete_names {
my ($to_ga, $to_ta) = @_;
print "Setting projected transcript statuses to NOVEL\n";
my $sth = $to_ga->dbc()->prepare("UPDATE gene g, xref x, transcript t SET t.status='NOVEL' WHERE g.display_xref_id=x.xref_id AND x.info_type='PROJECTION' AND g.gene_id = t.gene_id");
my $sth = $to_ga->dbc()->prepare("UPDATE gene g, xref x, transcript t SET t.display_xref_id = NULL, t.description = NULL, t.status='NOVEL' WHERE g.display_xref_id=x.xref_id AND x.info_type='PROJECTION' AND g.gene_id = t.gene_id");
$sth->execute();
$sth->finish();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment