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

don't store digits in type

parent 1df2e976
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,8 @@ sub run {
my $type =undef;
if(/\*FIELD\*\s+NO\n(\d+)/){
$number = $1;
$source_id = $gene_source_id;
if(/\*FIELD\*\sTI\n([\^\#\%\+\*]*\d+)(.*)\n/){
$source_id = $gene_source_id;
if(/\*FIELD\*\sTI\n([\^\#\%\+\*]*)\d+(.*)\n/){
$label =$2; # taken from description as acc is meaning less
$long_desc = $2;
$type = $1;
......
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