Skip to content

Commit

Permalink
Update import_AGR_gene_objects.pl
Browse files Browse the repository at this point in the history
add the CURI prefix
  • Loading branch information
Michael Paulini authored Nov 26, 2020
1 parent 899edf8 commit 1838de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/AGR/import_AGR_gene_objects.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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}});
Expand Down

0 comments on commit 1838de8

Please sign in to comment.