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
b62550e4
Commit
b62550e4
authored
23 years ago
by
Web Admin
Browse files
Options
Downloads
Patches
Plain Diff
merged
parent
7c62d9d7
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/DBSQL/GeneAdaptor.pm
+15
-13
15 additions, 13 deletions
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
with
15 additions
and
13 deletions
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
+
15
−
13
View file @
b62550e4
...
...
@@ -384,7 +384,6 @@ sub get_description {
}
my
$sth
=
$self
->
prepare
("
select description from gene_description where gene_id =
$dbID
");
$sth
->
execute
;
my
@array
=
$sth
->
fetchrow_array
();
return
$array
[
0
];
...
...
@@ -549,18 +548,21 @@ sub remove {
sub
get_Interpro_by_geneid
{
my
(
$self
,
$gene
)
=
@_
;
my
$sth
=
$self
->
prepare
("
SELECT i.interpro_ac,idesc.description
FROM transcript t, protein_feature pf, interpro i,
interpro_description idesc, gene_stable_id gsi,
translation_stable_id tlsi
WHERE gsi.stable_id = '
$gene
'
AND t.gene_id = gsi.gene_id
AND t.translation_id = tlsi.translation_id
AND tlsi.stable_id = pf.translation
AND i.id = pf.hid
AND i.interpro_ac = idesc.interpro_ac
");
my
$sql
=
"
SELECT i.interpro_ac,
idesc.description
FROM transcript t,
protein_feature pf,
interpro i,
interpro_description idesc,
gene_stable_id gsi
WHERE gsi.stable_id = '
$gene
'
AND t.gene_id = gsi.gene_id
AND t.translation_id = pf.translation
AND i.id = pf.hid
AND i.interpro_ac = idesc.interpro_ac
";
my
$sth
=
$self
->
prepare
(
$sql
);
$sth
->
execute
;
my
@out
;
...
...
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