diff --git a/modules/Bio/EnsEMBL/Utils/IO/GFFSerializer.pm b/modules/Bio/EnsEMBL/Utils/IO/GFFSerializer.pm index 5d96988a94a4d4eef49052e745947a07e33ac286..b40f47c84fcd8b06adb168fb9f5aa1ce48a8ef58 100644 --- a/modules/Bio/EnsEMBL/Utils/IO/GFFSerializer.pm +++ b/modules/Bio/EnsEMBL/Utils/IO/GFFSerializer.pm @@ -327,7 +327,7 @@ sub print_main_header { # Get the build. name gives us GRCh37.p1 where as default gives us GRCh37 my $assembly_name = $gc->get_assembly_name(); - my $providers = $mc->list_value_by_key('provider.name') || ''; + my $providers = $mc->list_value_by_key('assembly.provider_name') || ''; my $provider = join(";", @$providers); print $fh "#!genome-build $provider $assembly_name\n" if $assembly_name; diff --git a/scripts/gff3_serializer.pl b/scripts/gff3_serializer.pl index 9bcbdfa90713e945437058bdfa4e4e726a1a095b..169d07874e063c0ce8a563f78a1bc288603d2bd2 100644 --- a/scripts/gff3_serializer.pl +++ b/scripts/gff3_serializer.pl @@ -92,7 +92,7 @@ my $gc = $dba->get_GenomeContainer(); # Get the build. name gives us GRCh37.p1 where as default gives us GRCh37 my $assembly_name = $gc->get_assembly_name(); -my $providers = $mc->list_value_by_key('provider.name') || ''; +my $providers = $mc->list_value_by_key('assembly.provider_name') || ''; my $provider = join(";", @$providers); $serializer->write(Bio::EnsEMBL::IO::Object::GXFMetadata->ens_directive('genome-build', $provider, $assembly_name)) if $assembly_name; diff --git a/scripts/gtf_serializer.pl b/scripts/gtf_serializer.pl index 497b4abcfa26710e15b877a71542709507ced8e7..a65c53d1e386eec0b25a4ec19795af2219c27a31 100644 --- a/scripts/gtf_serializer.pl +++ b/scripts/gtf_serializer.pl @@ -90,7 +90,7 @@ my $gc = $dba->get_GenomeContainer(); # Get the build. name gives us GRCh37.p1 where as default gives us GRCh37 my $assembly_name = $gc->get_assembly_name(); -my $providers = $mc->list_value_by_key('provider.name') || ''; +my $providers = $mc->list_value_by_key('assembly.provider_name') || ''; my $provider = join(";", @$providers); $serializer->write(Bio::EnsEMBL::IO::Object::GXFMetadata->ens_directive('genome-build', $provider, $assembly_name)) if $assembly_name;