Skip to content
Snippets Groups Projects
Commit 9effbafa authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Set status of projected genes to "KNOWN_BY_PROJECTION" rather than KNOWN.

Also set status of the gene's transcripts.
parent 58b43c22
No related branches found
No related tags found
No related merge requests found
......@@ -187,11 +187,13 @@ sub project_display_names {
}
# Set gene status to "KNOWN" and update display_xref
$to_gene->status("KNOWN");
#$to_gene->description($from_gene->description() . $txt) if ($from_gene->description());
# Set gene status to "KNOWN_BY_PROJECTION" and update display_xref
# also set the status of the gene's transcripts
$to_gene->status("KNOWN_BY_PROJECTION");
$to_gene->display_xref($dbEntry);
foreach my $transcript (@{$to_gene->get_all_Transcripts()}) {
$transcript->status("KNOWN_BY_PROJECTION");
}
print $to_gene->stable_id() . " --> " . $dbEntry->display_id() . "\n" if ($print);
......
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