From c1325273bd201c1766c76577697105e53b09dff5 Mon Sep 17 00:00:00 2001
From: Ian Longden <ianl@sanger.ac.uk>
Date: Tue, 19 Dec 2006 12:55:08 +0000
Subject: [PATCH] new reason added

---
 misc-scripts/unmapped_reason/unmapped_reason.txt        | 1 +
 misc-scripts/unmapped_reason/update_unmapped_reasons.pl | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/misc-scripts/unmapped_reason/unmapped_reason.txt b/misc-scripts/unmapped_reason/unmapped_reason.txt
index eb0f325fe7..b7b92411e9 100644
--- a/misc-scripts/unmapped_reason/unmapped_reason.txt
+++ b/misc-scripts/unmapped_reason/unmapped_reason.txt
@@ -13,3 +13,4 @@
 14	Failed to match at thresholds	Unable to match at the thresholds of 99% for the query or 99% for the target
 15	Failed to match at thresholds	Unable to match at the thresholds of 100% for the query or 100% for the target
 16	Failed to match at thresholds	Unable to match at the thresholds of 55% for the query or 55% for the target
+17	Parent xref failed to match	Unable to match as parent xref was not mapped
diff --git a/misc-scripts/unmapped_reason/update_unmapped_reasons.pl b/misc-scripts/unmapped_reason/update_unmapped_reasons.pl
index 3f8fb13015..2aae78c5bd 100644
--- a/misc-scripts/unmapped_reason/update_unmapped_reasons.pl
+++ b/misc-scripts/unmapped_reason/update_unmapped_reasons.pl
@@ -116,10 +116,10 @@ sub usage {
  E.g.:
 
   #update 2 databases
-  perl update_unmapped_reasons.pl -host ecs1c -file external_dbs.txt -user ensadmin -pass secret -dbnames homo_sapiens_core_14_33 -dbnames mus_musculus_core_14_30
+  perl update_unmapped_reasons.pl -host ecs1c -file unmapped_reason.txt -user ensadmin -pass secret -dbnames homo_sapiens_core_14_33 -dbnames mus_musculus_core_14_30
 
   #update all core databases for release 14
-  perl update_unmapped_reasons.pl -host ecs2d -file external_dbs.txt -user ensadmin -pass secret -release 14
+  perl update_unmapped_reasons.pl -host ecs2d -file unmapped_reason.txt -user ensadmin -pass secret -release 14
 
 EOF
 ;
-- 
GitLab