From 48a0078f1702fb4e38c8abb785dd3eb5f61a5575 Mon Sep 17 00:00:00 2001
From: Monika Komorowska <mk8@sanger.ac.uk>
Date: Thu, 29 Mar 2012 16:46:49 +0000
Subject: [PATCH] don't store digits in type

---
 misc-scripts/xref_mapping/XrefParser/MIMParser.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/xref_mapping/XrefParser/MIMParser.pm b/misc-scripts/xref_mapping/XrefParser/MIMParser.pm
index f7bd8803c2..5459e10c84 100644
--- a/misc-scripts/xref_mapping/XrefParser/MIMParser.pm
+++ b/misc-scripts/xref_mapping/XrefParser/MIMParser.pm
@@ -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;
-- 
GitLab