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
b07e9eb4
Commit
b07e9eb4
authored
Apr 23, 2004
by
Graham McVicker
Browse files
made remap method static
parent
2351bc35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
+4
-4
No files found.
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
View file @
b07e9eb4
...
...
@@ -503,7 +503,7 @@ sub _slice_fetch {
# features may still have to have coordinates made relative to slice
# start
$fs
=
$self
->
_remap
(
$fs
,
$mapper
,
$slice
);
$fs
=
_remap
(
$fs
,
$mapper
,
$slice
);
push
@features
,
@$fs
;
}
else
{
...
...
@@ -534,7 +534,7 @@ sub _slice_fetch {
my
$fs
=
$self
->
generic_fetch
(
$constraint
,
$mapper
,
$slice
);
$fs
=
$self
->
_remap
(
$fs
,
$mapper
,
$slice
);
$fs
=
_remap
(
$fs
,
$mapper
,
$slice
);
push
@features
,
@$fs
;
...
...
@@ -550,7 +550,7 @@ sub _slice_fetch {
"
${tab_syn}
.seq_region_end >=
"
.
$coords
[
$i
]
->
start
();
my
$fs
=
$self
->
generic_fetch
(
$constraint
,
$mapper
,
$slice
);
$fs
=
$self
->
_remap
(
$fs
,
$mapper
,
$slice
);
$fs
=
_remap
(
$fs
,
$mapper
,
$slice
);
push
@features
,
@$fs
;
}
...
...
@@ -671,7 +671,7 @@ sub _check_start_end_strand {
# converted and placed on the slice.
#
sub
_remap
{
my
(
$self
,
$features
,
$mapper
,
$slice
)
=
@_
;
my
(
$features
,
$mapper
,
$slice
)
=
@_
;
#check if any remapping is actually needed
if
(
@$features
&&
(
!
$features
->
[
0
]
->
isa
('
Bio::EnsEMBL::Feature
')
||
...
...
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