Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
ddb0478d
Commit
ddb0478d
authored
Mar 11, 2008
by
Andreas Kusalananda Kähäri
Browse files
When call via a binning routine, do not join with other tables.
parent
e106d606
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
modules/Bio/EnsEMBL/Collection/RepeatFeature.pm
modules/Bio/EnsEMBL/Collection/RepeatFeature.pm
+37
-0
No files found.
modules/Bio/EnsEMBL/Collection/RepeatFeature.pm
View file @
ddb0478d
...
...
@@ -48,4 +48,41 @@ sub _create_feature_fast {
return
$feature
;
}
sub
_tables
{
my
(
$this
)
=
@_
;
if
(
$this
->
_lightweight
()
)
{
return
(['
repeat_feature
','
r
']);
}
return
$this
->
SUPER::
_tables
();
}
sub
_columns
{
my
(
$this
)
=
@_
;
if
(
$this
->
_lightweight
()
)
{
# 14 columns needed.
return
(
'
r.repeat_feature_id
',
'
r.seq_region_id
',
'
r.seq_region_start
',
'
r.seq_region_end
',
'
r.seq_region_strand
',
'
1
',
'
1
',
'
1
',
'
1
',
'
1
',
'
1
',
'
1
',
'
1
',
'
1
'
);
}
return
$this
->
SUPER::
_columns
();
}
sub
_default_where_clause
{
my
(
$this
)
=
@_
;
if
(
$this
->
_lightweight
()
)
{
return
'';
}
return
$this
->
SUPER::
_default_where_clause
();
}
1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment