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
01ea4d89
Commit
01ea4d89
authored
20 years ago
by
Jan-hinnerk Vogel
Browse files
Options
Downloads
Patches
Plain Diff
- select-statement adapted to new schema
parent
33448548
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
misc-scripts/protein_match/maps2db.pl
+9
-3
9 additions, 3 deletions
misc-scripts/protein_match/maps2db.pl
with
9 additions
and
3 deletions
misc-scripts/protein_match/maps2db.pl
+
9
−
3
View file @
01ea4d89
...
...
@@ -582,9 +582,15 @@ if ($organism eq "drosophila") {
}
#Here we get CG accession numbers ($cg) corresponding to gene_stable_id in Ensembl, get all of the translation internal ids for the given entry
my
$query
=
"
select t.translation_id from transcript t, gene_stable_id g where g.gene_id = t.gene_id and g.stable_id = '
$cg
'
";
my
$sth
=
$db
->
prepare
(
$query
);
my
$query
=
qq{
SELECT tl.translation_id
FROM transcript ts, translation tl, gene_stable_id gsi
WHERE gsi.gene_id = ts.gene_id
AND ts.transcript_id = tl.transcript_id
AND gsi.stable_id = '$cg'
}
;
my
$sth
=
$db
->
dbc
()
->
prepare
(
$query
);
$sth
->
execute
();
while
(
my
$trans_id
=
$sth
->
fetchrow
)
{
...
...
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