From 1838de8184927d5469cc81ddcef025b50a528322 Mon Sep 17 00:00:00 2001 From: Michael Paulini Date: Thu, 26 Nov 2020 11:32:13 +0000 Subject: [PATCH] Update import_AGR_gene_objects.pl add the CURI prefix --- scripts/AGR/import_AGR_gene_objects.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/AGR/import_AGR_gene_objects.pl b/scripts/AGR/import_AGR_gene_objects.pl index 6c1e2cf24..60b150ad0 100644 --- a/scripts/AGR/import_AGR_gene_objects.pl +++ b/scripts/AGR/import_AGR_gene_objects.pl @@ -134,7 +134,7 @@ sub get_bgi{ print $outfh "Other_name \"$oId\"\n"; } - map {print $outfh "Other_name \"$_\"\n"} @{$bgE->{synonyms}} if $bgE->{taxonId}==9606; # only for human + map {print $outfh "Other_name \"$_\"\n"} @{$bgE->{synonyms}} if $bgE->{taxonId} eq 'NCBITaxon:9606'; # only for human print $outfh "Live\n"; $log->log_and_die("cannot find species ${\$bgE->{taxonId}}") unless($taxon2name{$bgE->{taxonId}});