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
3fa0c994
Commit
3fa0c994
authored
20 years ago
by
Steve Trevanion
Browse files
Options
Downloads
Patches
Plain Diff
modifed for new attrib_type name
parent
1a7a8b4b
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/surgery/SeqStoreConverter/vega/DanioRerio.pm
+7
-2
7 additions, 2 deletions
misc-scripts/surgery/SeqStoreConverter/vega/DanioRerio.pm
with
7 additions
and
2 deletions
misc-scripts/surgery/SeqStoreConverter/vega/DanioRerio.pm
+
7
−
2
View file @
3fa0c994
...
...
@@ -148,8 +148,13 @@ sub copy_internal_clone_names {
my
$source
=
$self
->
source
();
my
$dbh
=
$self
->
dbh
();
$self
->
debug
("
Vega Danio specific - copying internal clone names to seq_region_attrib
");
#get id for 'name' attribute
my
(
$attrib_id
)
=
$dbh
->
selectrow_array
("
Select attrib_type_id from
$target
.attrib_type where code = 'name'
");
#get id for 'fpc_clone_id' attribute
$dbh
->
do
("
INSERT INTO
$target
.attrib_type (code,name,description)
"
.
"
values ('fpc_clone_id','fpc clone','clone id used for linking to Zebrafish webFPC')
");
my
(
$attrib_id
)
=
$dbh
->
selectrow_array
("
Select attrib_type_id from
$target
.attrib_type where code = 'fpc_clone_id'
");
warn
"
No attrib id found
\n
"
unless
defined
(
$attrib_id
);
#get clone details
...
...
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