From 2a7421cf748cedf402b03678ae4ae8d7e6e98e46 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Wed, 14 Nov 2012 12:01:45 +0000 Subject: [PATCH] Make the efo search case-insensitive --- misc-scripts/ontology/scripts/load_OBO_file.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-scripts/ontology/scripts/load_OBO_file.pl b/misc-scripts/ontology/scripts/load_OBO_file.pl index 1ea10e04f7..2d27d283e6 100755 --- a/misc-scripts/ontology/scripts/load_OBO_file.pl +++ b/misc-scripts/ontology/scripts/load_OBO_file.pl @@ -488,7 +488,7 @@ if ($delete_unknown) { #if parsing an EFO obo file delete xref lines - not compatible with OBO:Parser #requires correct default-namespace defined my $efo_default_namespace; -my @returncode = `grep "default-namespace: efo" $obo_file_name`; +my @returncode = `grep -i "default-namespace: efo" $obo_file_name`; @returncode = `grep 'property_value: "hasDefaultNamespace" "EFO"' $obo_file_name` if scalar(@returncode) == 0; my $returncode = @returncode; if ($returncode > 0) { -- GitLab