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
85b8b357
Commit
85b8b357
authored
Jul 18, 2008
by
Glenn Proctor
Browse files
Changed references to protein_feature.hit_id to hit_name to reflect column rename in release 51.
parent
04a5f84b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
+2
-2
modules/Bio/EnsEMBL/DBSQL/ProteinFeatureAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/ProteinFeatureAdaptor.pm
+5
-5
modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/DBSQL/GeneAdaptor.pm
View file @
85b8b357
...
...
@@ -340,7 +340,7 @@ sub fetch_all_by_domain {
transcript tr,
translation tl
WHERE i.interpro_ac = ?
AND i.id = pf.hit_
id
AND i.id = pf.hit_
name
AND pf.translation_id = tl.translation_id
AND tr.transcript_id = tl.transcript_id
AND tr.is_current = 1
...
...
@@ -1205,7 +1205,7 @@ sub get_Interpro_by_geneid {
AND t.is_current = 1
AND tl.transcript_id = t.transcript_id
AND tl.translation_id = pf.translation_id
AND i.id = pf.hit_
id
AND i.id = pf.hit_
name
AND i.interpro_ac = x.dbprimary_acc
)
;
...
...
modules/Bio/EnsEMBL/DBSQL/ProteinFeatureAdaptor.pm
View file @
85b8b357
...
...
@@ -86,9 +86,9 @@ sub fetch_all_by_translation_id {
my
$sth
=
$self
->
prepare
("
SELECT protein_feature_id, p.seq_start, p.seq_end, p.analysis_id,
"
.
"
p.score, p.perc_ident, p.evalue, p.hit_start, p.hit_end,
"
.
"
p.hit_
id
, x.display_label, i.interpro_ac
"
.
"
p.hit_
name
, x.display_label, i.interpro_ac
"
.
"
FROM protein_feature p
"
.
"
LEFT JOIN interpro AS i ON p.hit_
id
= i.id
"
.
"
LEFT JOIN interpro AS i ON p.hit_
name
= i.id
"
.
"
LEFT JOIN xref AS x ON x.dbprimary_acc = i.interpro_ac
"
.
"
WHERE p.translation_id = ?
");
...
...
@@ -150,10 +150,10 @@ sub fetch_by_dbID{
my
$sth
=
$self
->
prepare
(
"
SELECT p.seq_start, p.seq_end, p.analysis_id,
"
.
"
p.score, p.perc_ident, p.evalue,
"
.
"
p.hit_start, p.hit_end, p.hit_
id
,
"
.
"
p.hit_start, p.hit_end, p.hit_
name
,
"
.
"
x.display_label, i.interpro_ac
"
.
"
FROM protein_feature p
"
.
"
LEFT JOIN interpro AS i ON p.hit_
id
= i.id
"
.
"
LEFT JOIN interpro AS i ON p.hit_
name
= i.id
"
.
"
LEFT JOIN xref AS x ON x.dbprimary_acc = i.interpro_ac
"
.
"
WHERE p.protein_feature_id = ?
");
...
...
@@ -245,7 +245,7 @@ sub store {
"
analysis_id = ?,
"
.
"
hit_start = ?,
"
.
"
hit_end = ?,
"
.
"
hit_
id
= ?,
"
.
"
hit_
name
= ?,
"
.
"
score = ?,
"
.
"
perc_ident = ?,
"
.
"
evalue = ?
");
...
...
modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm
View file @
85b8b357
...
...
@@ -821,7 +821,7 @@ sub get_Interpro_by_transid {
WHERE tsi.stable_id = ?
AND tl.transcript_id = tsi.transcript_id
AND tl.translation_id = pf.translation_id
AND i.id = pf.hit_
id
AND i.id = pf.hit_
name
AND i.interpro_ac = x.dbprimary_acc
AND tsi.transcript_id = t.transcript_id
AND t.is_current = 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