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
7c696ef5
Commit
7c696ef5
authored
20 years ago
by
Steve Trevanion
Browse files
Options
Downloads
Patches
Plain Diff
inherits from ../HomoSapiens.pm
parent
38375adf
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/HomoSapiens.pm
+7
-35
7 additions, 35 deletions
misc-scripts/surgery/SeqStoreConverter/vega/HomoSapiens.pm
with
7 additions
and
35 deletions
misc-scripts/surgery/SeqStoreConverter/vega/HomoSapiens.pm
+
7
−
35
View file @
7c696ef5
...
...
@@ -2,46 +2,13 @@
use
strict
;
use
warnings
;
use
SeqStoreConverter::
BasicConverter
;
use
SeqStoreConverter::
HomoSapiens
;
package
SeqStoreConverter::vega::
HomoSapiens
;
use
vars
qw(@ISA)
;
@ISA
=
qw(SeqStoreConverter::BasicConverter)
;
sub
create_attribs
{
my
$self
=
shift
;
#
# Human clones need their htg phase information copied
#
my
$source
=
$self
->
source
();
my
$target
=
$self
->
target
();
my
$dbh
=
$self
->
dbh
();
$self
->
SUPER::
create_attribs
();
$self
->
debug
("
HomoSapiens specific: Creating HTG Phase seq_region attribs
");
$dbh
->
do
("
INSERT INTO
$target
.attrib_type( code, name, description )
"
.
"
VALUES ('htg_phase', 'HTG Phase', 'High Throughput Genome Phase')
");
$dbh
->
do
("
INSERT INTO
$target
.seq_region_attrib( seq_region_id, attrib_type_id,
"
.
"
value)
"
.
"
SELECT tmp_cln.new_id, attrib_type.attrib_type_id, cln.htg_phase
"
.
"
FROM
$target
.tmp_cln_map tmp_cln,
$target
.attrib_type attrib_type,
"
.
"
$source
.clone cln
"
.
"
WHERE cln.clone_id = tmp_cln.old_id
"
.
"
AND attrib_type.code = 'htg_phase'
");
return
;
}
@ISA
=
qw(SeqStoreConverter::HomoSapiens)
;
sub
copy_other_tables
{
my
$self
=
shift
;
...
...
@@ -89,4 +56,9 @@ sub copy_other_tables {
"
input_id_analysis
");
}
sub
update_clone_info
{
my
$self
=
shift
;
return
;
}
1
;
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