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
0fe0fb74
Commit
0fe0fb74
authored
22 years ago
by
Arne Stabenau
Browse files
Options
Downloads
Patches
Plain Diff
SNP db nameing inconsistent
parent
ef41c7f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm
+2
-1
2 additions, 1 deletion
modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm
modules/Bio/EnsEMBL/Slice.pm
+5
-2
5 additions, 2 deletions
modules/Bio/EnsEMBL/Slice.pm
modules/Bio/EnsEMBL/StickyExon.pm
+0
-1
0 additions, 1 deletion
modules/Bio/EnsEMBL/StickyExon.pm
with
7 additions
and
4 deletions
modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm
+
2
−
1
View file @
0fe0fb74
...
...
@@ -201,7 +201,7 @@ sub get_SNPAdaptor {
if
(
$lite
)
{
$primary_adaptor
=
$lite
->
get_SNPAdaptor
();
}
else
{
my
$snp
=
$self
->
get_db_adaptor
('
snp
');
my
$snp
=
$self
->
get_db_adaptor
('
SNP
');
unless
(
$snp
)
{
warn
("
No lite or SNP database, cannot get snp adaptor
\n
");
...
...
@@ -209,6 +209,7 @@ sub get_SNPAdaptor {
}
$primary_adaptor
=
$snp
->
get_SNPAdaptor
();
$primary_adaptor
->
ensembl_db
(
$self
);
}
#return a proxy adaptor which can use the lite or the core database
...
...
This diff is collapsed.
Click to expand it.
modules/Bio/EnsEMBL/Slice.pm
+
5
−
2
View file @
0fe0fb74
...
...
@@ -486,8 +486,11 @@ sub get_all_SNPs {
my
$self
=
shift
;
my
$snpa
=
$self
->
adaptor
()
->
db
()
->
get_SNPAdaptor
();
return
$snpa
->
fetch_all_by_Slice
(
$self
);
if
(
$snpa
)
{
return
$snpa
->
fetch_all_by_Slice
(
$self
);
}
else
{
return
[]
;
}
}
...
...
This diff is collapsed.
Click to expand it.
modules/Bio/EnsEMBL/StickyExon.pm
+
0
−
1
View file @
0fe0fb74
...
...
@@ -425,7 +425,6 @@ sub transform {
}
# concatenate the raw sequence together
$dna_seq
.=
$c_exon
->
seq
();
# add the supporting features from the exons
# each exon has the pieces of the supporting features that fall in the corresponding contig
...
...
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