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
0ac45b00
Commit
0ac45b00
authored
17 years ago
by
Glenn Proctor
Browse files
Options
Downloads
Patches
Plain Diff
Updated for release 48.
parent
0b533902
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/xref_projection/submit_projections.pl
+10
-7
10 additions, 7 deletions
misc-scripts/xref_projection/submit_projections.pl
with
10 additions
and
7 deletions
misc-scripts/xref_projection/submit_projections.pl
+
10
−
7
View file @
0ac45b00
...
@@ -4,11 +4,11 @@ use strict;
...
@@ -4,11 +4,11 @@ use strict;
# Remember to check/set the various config optons
# Remember to check/set the various config optons
# ------------------------------ config -------------------------------
# ------------------------------ config -------------------------------
my
$release
=
4
7
;
my
$release
=
4
8
;
my
$base_dir
=
"
/lustre/work1/ensembl/gp1/projections/
";
my
$base_dir
=
"
/lustre/work1/ensembl/gp1/projections/
";
my
$conf
=
"
release_4
7
.ini
";
# registry config file, specifies Compara location
my
$conf
=
"
release_4
8
.ini
";
# registry config file, specifies Compara location
# location of other databases
# location of other databases
my
$host
=
"
ens-staging
";
my
$host
=
"
ens-staging
";
...
@@ -32,7 +32,10 @@ if (! -e $dir) {
...
@@ -32,7 +32,10 @@ if (! -e $dir) {
}
}
# common options
# common options
my
$opts
=
"
-conf
$conf
-host
$host
-user
$user
-port
$port
-pass
$pass
-version
$release
-release
$release
-quiet -nobackup
";
my
$script_opts
=
"
-conf
$conf
-host
$host
-user
$user
-port
$port
-pass
$pass
-version
$release
-release
$release
-quiet -nobackup
";
#my $bsub_opts = "-R'select[myens-staging<200]'";
my
$bsub_opts
=
"";
my
@names_1_1
=
(["
human
",
"
chimp
"
],
my
@names_1_1
=
(["
human
",
"
chimp
"
],
["
human
",
"
opossum
"
],
["
human
",
"
opossum
"
],
...
@@ -128,7 +131,7 @@ foreach my $pair (@names_1_1) {
...
@@ -128,7 +131,7 @@ foreach my $pair (@names_1_1) {
$e
=
"
$dir
/names_
${from}
_
$to
.err
";
$e
=
"
$dir
/names_
${from}
_
$to
.err
";
$n
=
substr
("
n_
${from}
_
$to
",
0
,
10
);
# job name display limited to 10 chars
$n
=
substr
("
n_
${from}
_
$to
",
0
,
10
);
# job name display limited to 10 chars
print
"
Submitting name projection from
$from
to
$to
\n
";
print
"
Submitting name projection from
$from
to
$to
\n
";
system
"
bsub -o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$opts
-from
$from
-to
$to
-names -delete_names -no_database
";
system
"
bsub
$bsub_opts
-o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$
script_
opts
-from
$from
-to
$to
-names -delete_names -no_database
";
}
}
# 1:many
# 1:many
...
@@ -138,13 +141,13 @@ foreach my $pair (@names_1_many) {
...
@@ -138,13 +141,13 @@ foreach my $pair (@names_1_many) {
$e
=
"
$dir
/names_
${from}
_
$to
.err
";
$e
=
"
$dir
/names_
${from}
_
$to
.err
";
$n
=
substr
("
n_
${from}
_
$to
",
0
,
10
);
$n
=
substr
("
n_
${from}
_
$to
",
0
,
10
);
print
"
Submitting name projection from
$from
to
$to
(1:many)
\n
";
print
"
Submitting name projection from
$from
to
$to
(1:many)
\n
";
system
"
bsub -o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$opts
-from
$from
-to
$to
-names -delete_names -no_database -one_to_many
";
system
"
bsub
$bsub_opts
-o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$
script_
opts
-from
$from
-to
$to
-names -delete_names -no_database -one_to_many
";
}
}
# ----------------------------------------
# ----------------------------------------
# GO terms
# GO terms
$opts
.=
"
-nobackup
";
$
script_
opts
.=
"
-nobackup
";
foreach
my
$pair
(
@go_terms
)
{
foreach
my
$pair
(
@go_terms
)
{
(
$from
,
$to
)
=
@$pair
;
(
$from
,
$to
)
=
@$pair
;
...
@@ -152,7 +155,7 @@ foreach my $pair (@go_terms) {
...
@@ -152,7 +155,7 @@ foreach my $pair (@go_terms) {
$e
=
"
$dir
/go_
${from}
_
$to
.err
";
$e
=
"
$dir
/go_
${from}
_
$to
.err
";
$n
=
substr
("
g_
${from}
_
$to
",
0
,
10
);
$n
=
substr
("
g_
${from}
_
$to
",
0
,
10
);
print
"
Submitting GO term projection from
$from
to
$to
\n
";
print
"
Submitting GO term projection from
$from
to
$to
\n
";
system
"
bsub -o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$opts
-from
$from
-to
$to
-go_terms -delete_go_terms
";
system
"
bsub
$bsub_opts
-o
$o
-e
$e
-J
$n
perl project_display_xrefs.pl
$
script_
opts
-from
$from
-to
$to
-go_terms -delete_go_terms
";
}
}
# ----------------------------------------
# ----------------------------------------
...
...
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