Skip to content
Snippets Groups Projects
Commit 15e78dcf authored by Monika Komorowska's avatar Monika Komorowska
Browse files

Append accession number to the display label.

JIRA ticket: http://www.ebi.ac.uk/panda/jira/browse/ENSCORESW-117
parent f50b9edf
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ sub run {
$long_desc = $2;
$type = $1;
$label =~ s/\;\s[A-Z0-9]+$//; # strip gene name at end
$label = substr($label,0,35)." [".$type."]";
$label = substr($label,0,35)." [".$type.$number."]";
if($type eq "*"){ # gene only
$gene++;
$self->add_xref({ acc => $number,
......
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