diff --git a/misc-scripts/id_mapping/id_mapping.pl b/misc-scripts/id_mapping/id_mapping.pl index b21fd69057df967c6e000817146cfad03f5faaaf..e9576a408b2107ccdf47453c7bb3b3a52213a1a6 100755 --- a/misc-scripts/id_mapping/id_mapping.pl +++ b/misc-scripts/id_mapping/id_mapping.pl @@ -127,10 +127,10 @@ my $translation_mappings; # loading cache from file my $cache = Bio::EnsEMBL::IdMapping::Cache->new( - -LOGGER => $logger, - -CONF => $conf, + -LOGGER => $logger, + -CONF => $conf, + -LOAD_INSTANCE => 1, ); -$cache->read_instance_from_file; # get a stable ID mapper diff --git a/misc-scripts/id_mapping/synteny_rescore.pl b/misc-scripts/id_mapping/synteny_rescore.pl index bb79167fcd0363aeffa94cc5e82a5251132e5bb9..2cdfa4baf0acb78830002e2a3842c2e4de009509 100755 --- a/misc-scripts/id_mapping/synteny_rescore.pl +++ b/misc-scripts/id_mapping/synteny_rescore.pl @@ -89,10 +89,10 @@ my $logger = new Bio::EnsEMBL::Utils::Logger( # loading cache from file my $cache = Bio::EnsEMBL::IdMapping::Cache->new( - -LOGGER => $logger, - -CONF => $conf, + -LOGGER => $logger, + -CONF => $conf, + -LOAD_INSTANCE => 1, ); -$cache->read_instance_from_file; # load SyntenyFramework and gene ScoredMappingMatrix from files my $basedir = $conf->param('basedir');