Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
2fec6d35
Commit
2fec6d35
authored
19 years ago
by
Web Admin
Browse files
Options
Downloads
Patches
Plain Diff
removed warn
parent
c17771a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/Slice.pm
+18
-19
18 additions, 19 deletions
modules/Bio/EnsEMBL/Slice.pm
with
18 additions
and
19 deletions
modules/Bio/EnsEMBL/Slice.pm
+
18
−
19
View file @
2fec6d35
...
...
@@ -1825,30 +1825,29 @@ sub _mask_features {
=cut
sub
get_all_SearchFeatures
{
my
$self
=
shift
;
my
$ticket
=
shift
;
local
$_
;
unless
(
$ticket
)
{
throw
("
ticket argument is required
");
}
my
$self
=
shift
;
my
$ticket
=
shift
;
local
$_
;
unless
(
$ticket
)
{
throw
("
ticket argument is required
");
}
if
(
!
$self
->
adaptor
())
{
warning
("
Cannot get SearchFeatures without an attached adaptor
");
return
[]
;
}
if
(
!
$self
->
adaptor
())
{
warning
("
Cannot get SearchFeatures without an attached adaptor
");
return
[]
;
}
my
$sfa
=
$self
->
adaptor
()
->
db
()
->
get_db_adaptor
('
blast
');
my
$sfa
=
$self
->
adaptor
()
->
db
()
->
get_db_adaptor
('
blast
');
my
$offset
=
$self
->
start
-
1
;
my
$offset
=
$self
->
start
-
1
;
my
$features
=
$sfa
?
$sfa
->
get_all_SearchFeatures
(
$ticket
,
$self
->
chr_name
,
$self
->
start
,
$self
->
end
)
:
[]
;
my
$features
=
$sfa
?
$sfa
->
get_all_SearchFeatures
(
$ticket
,
$self
->
chr_name
,
$self
->
start
,
$self
->
end
)
:
[]
;
foreach
(
@$features
)
{
$_
->
start
(
$_
->
start
-
$offset
);
$_
->
end
(
$_
->
end
-
$offset
);
};
return
$features
;
foreach
(
@$features
)
{
$_
->
start
(
$_
->
start
-
$offset
);
$_
->
end
(
$_
->
end
-
$offset
);
};
return
$features
;
}
=head2 get_all_AssemblyExceptionFeatures
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment