Commit c7ddcadb authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-253]. Adding a "hack" to temporarily wave the sub sequence remaps if we've got lrgs.

parent 98358e8d
...@@ -736,7 +736,7 @@ COORD_SYSTEM: foreach my $feat_cs (@feat_css) { ...@@ -736,7 +736,7 @@ COORD_SYSTEM: foreach my $feat_cs (@feat_css) {
# use regional constraints if there are less than a # use regional constraints if there are less than a
# specific number of regions covered. # specific number of regions covered.
if ( @coords > $MAX_SPLIT_QUERY_SEQ_REGIONS ) { if ( @coords > $MAX_SPLIT_QUERY_SEQ_REGIONS && ! $slice->isa('Bio::EnsEMBL::LRGSlice') && $slice_cs->name() ne 'lrg') {
my $constraint = $orig_constraint; my $constraint = $orig_constraint;
my $id_str = join( ',', @ids ); my $id_str = join( ',', @ids );
$constraint .= " AND " if ($constraint); $constraint .= " AND " if ($constraint);
...@@ -779,7 +779,7 @@ COORD_SYSTEM: foreach my $feat_cs (@feat_css) { ...@@ -779,7 +779,7 @@ COORD_SYSTEM: foreach my $feat_cs (@feat_css) {
push @features, @$fs; push @features, @$fs;
} }
} ## end else [ if ( @coords > $MAX_SPLIT_QUERY_SEQ_REGIONS)] } ## end else [ if ( @coords > $MAX_SPLIT_QUERY_SEQ_REGIONS && ! $slice->isa('Bio::EnsEMBL::LRGSlice') && $slice_cs->name() ne 'lrg')]
} ## end else [ if ( $feat_cs->equals(...))] } ## end else [ if ( $feat_cs->equals(...))]
} ## end foreach my $feat_cs (@feat_css) } ## end foreach my $feat_cs (@feat_css)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment