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
b8a7c680
Commit
b8a7c680
authored
12 years ago
by
Magali Ruffier
Browse files
Options
Downloads
Patches
Plain Diff
added config file for analyses to run after otherfeatures handover
parent
7e845316
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
modules/Bio/EnsEMBL/Pipeline/PipeConfig/Otherf_handover_conf.pm
+127
-0
127 additions, 0 deletions
...s/Bio/EnsEMBL/Pipeline/PipeConfig/Otherf_handover_conf.pm
with
127 additions
and
0 deletions
modules/Bio/EnsEMBL/Pipeline/PipeConfig/Otherf_handover_conf.pm
0 → 100644
+
127
−
0
View file @
b8a7c680
package
Bio::EnsEMBL::Pipeline::PipeConfig::
Otherf_handover_conf
;
use
strict
;
use
warnings
;
use
base
('
Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf
');
use
Bio::EnsEMBL::
ApiVersion
qw/software_version/
;
sub
default_options
{
my
(
$self
)
=
@_
;
return
{
# inherit other stuff from the base class
%
{
$self
->
SUPER::
default_options
()
},
### OVERRIDE
### Optional overrides
species
=>
[]
,
release
=>
software_version
(),
run_all
=>
0
,
### Defaults
pipeline_name
=>
'
otherf_handover_update_
'
.
$self
->
o
('
release
'),
email
=>
$self
->
o
('
ENV
',
'
USER
')
.
'
@sanger.ac.uk
',
};
}
sub
pipeline_create_commands
{
my
(
$self
)
=
@_
;
return
[
# inheriting database and hive tables' creation
@
{
$self
->
SUPER::
pipeline_create_commands
},
];
}
## See diagram for pipeline structure
sub
pipeline_analyses
{
my
(
$self
)
=
@_
;
return
[
{
-
logic_name
=>
'
ScheduleSpecies
',
-
module
=>
'
Bio::EnsEMBL::Pipeline::Production::ClassSpeciesFactory
',
-
parameters
=>
{
species
=>
$self
->
o
('
species
'),
run_all
=>
$self
->
o
('
run_all
')
},
-
input_ids
=>
[
{}
],
-
flow_into
=>
{
1
=>
'
Notify
',
2
=>
['
PepStatsOtherf
',
'
PepStatsVega
'],
},
},
{
-
logic_name
=>
'
PepStatsOtherf
',
-
module
=>
'
Bio::EnsEMBL::Pipeline::Production::PepStats
',
-
parameters
=>
{
tmpdir
=>
'
/tmp
',
binpath
=>
'
/software/pubseq/bin/emboss
',
dbtype
=>
'
otherfeatures
',
},
-
max_retry_count
=>
5
,
-
hive_capacity
=>
10
,
-
rc_name
=>
'
mem
',
-
can_be_empty
=>
1
,
},
{
-
logic_name
=>
'
PepStatsVega
',
-
module
=>
'
Bio::EnsEMBL::Pipeline::Production::PepStats
',
-
parameters
=>
{
tmpdir
=>
'
/tmp
',
binpath
=>
'
/software/pubseq/bin/emboss
',
dbtype
=>
'
vega
',
},
-
max_retry_count
=>
5
,
-
hive_capacity
=>
10
,
-
rc_name
=>
'
mem
',
-
can_be_empty
=>
1
,
},
####### NOTIFICATION
{
-
logic_name
=>
'
Notify
',
-
module
=>
'
Bio::EnsEMBL::Pipeline::Production::EmailSummaryCore
',
-
parameters
=>
{
email
=>
$self
->
o
('
email
'),
subject
=>
$self
->
o
('
pipeline_name
')
.
'
has finished
',
},
-
wait_for
=>
['
PepStatsOtherf
',
'
PepStatsVega
'],
}
];
}
sub
pipeline_wide_parameters
{
my
(
$self
)
=
@_
;
return
{
%
{
$self
->
SUPER::
pipeline_wide_parameters
()
},
# inherit other stuff from the base class
release
=>
$self
->
o
('
release
'),
};
}
# override the default method, to force an automatic loading of the registry in all workers
sub
beekeeper_extra_cmdline_options
{
my
$self
=
shift
;
return
"
-reg_conf
"
.
$self
->
o
("
registry
");
}
sub
resource_classes
{
my
$self
=
shift
;
return
{
'
default
'
=>
{
'
LSF
'
=>
''},
'
normal
'
=>
{
'
LSF
'
=>
'
-q normal -M 500000 -R"select[mem>500] rusage[mem=500]"
'},
'
mem
'
=>
{
'
LSF
'
=>
'
-q normal -M 1000000 -R"select[mem>1000] rusage[mem=1000]"
'},
}
}
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