diff --git a/modules/Bio/EnsEMBL/Pipeline/Production/ClassSpeciesFactory.pm b/modules/Bio/EnsEMBL/Pipeline/Production/ClassSpeciesFactory.pm index 9ffba4756928c88ae4e624119485c4c3c666251f..6495e62d1f103d9063033d5058963e1210066201 100644 --- a/modules/Bio/EnsEMBL/Pipeline/Production/ClassSpeciesFactory.pm +++ b/modules/Bio/EnsEMBL/Pipeline/Production/ClassSpeciesFactory.pm @@ -71,11 +71,6 @@ sub run { next; } - my $variation = $self->production_flow($dba, 'variation'); - if ($variation) { - push(@dbs, [$self->input_id($dba), $variation]); - } - my $all = $self->production_flow($dba, 'all'); if ($self->param('run_all')) { $all = 2; @@ -86,6 +81,10 @@ sub run { if ($vega) { push(@dbs, [$self->input_id($dba), $vega]); } + my $variation = $self->production_flow($dba, 'variation'); + if ($variation) { + push(@dbs, [$self->input_id($dba), $variation]); + } my $karyotype = $self->production_flow($dba, 'karyotype'); if ($karyotype) { push(@dbs, [$self->input_id($dba), $karyotype]);