Skip to content
Snippets Groups Projects
Commit 2a3982de authored by Leo Gordon's avatar Leo Gordon
Browse files

swapped hive_capacity for analysis_capacity in example PipeConfig files

parent c540fa9e
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,6 @@ sub pipeline_analyses {
'inputquery' => q{SHOW DATABASES LIKE "}.$self->o('only_databases').q{"},
'column_names' => [ 'dbname' ],
},
-hive_capacity => 5, # allow several workers to perform identical tasks in parallel
-input_ids => [
{ 'db_conn' => $self->o('source_server1'), 'input_id' => { 'db_conn' => {'-host' => $self->o('source_server1', '-host'), '-port' => $self->o('source_server1', '-port'), '-user' => $self->o('source_server1', '-user'), '-pass' => $self->o('source_server1', '-pass'), '-dbname' => '#dbname#'}, }, },
{ 'db_conn' => $self->o('source_server2'), 'input_id' => { 'db_conn' => {'-host' => $self->o('source_server2', '-host'), '-port' => $self->o('source_server2', '-port'), '-user' => $self->o('source_server2', '-user'), '-pass' => $self->o('source_server2', '-pass'), '-dbname' => '#dbname#'}, }, },
......@@ -81,7 +80,7 @@ sub pipeline_analyses {
-module => 'Bio::EnsEMBL::Hive::RunnableDB::Dummy', # use SqlCmd.pm to run your query or another JobFactory.pm to make another fan on table names
-parameters => {
},
-hive_capacity => 10, # allow several workers to perform identical tasks in parallel
-analysis_capacity => 10, # allow several workers to perform identical tasks in parallel
-input_ids => [
# (jobs for this analysis will be flown_into via branch-2 from 'get_databases' jobs above)
],
......
......@@ -109,7 +109,7 @@ sub pipeline_analyses {
-parameters => {
'cmd' => 'gzip '.($self->o('unzip')?'-d ':'').'#filename#',
},
-hive_capacity => $self->o('zipping_capacity'), # allow several workers to perform identical tasks in parallel
-analysis_capacity => $self->o('zipping_capacity'), # allow several workers to perform identical tasks in parallel
-input_ids => [
# (jobs for this analysis will be flown_into via branch-2 from 'get_tables' jobs above)
],
......
......@@ -87,7 +87,7 @@ sub pipeline_analyses {
{ -logic_name => 'run_cmd',
-module => 'Bio::EnsEMBL::Hive::RunnableDB::SystemCmd',
-parameters => { },
-hive_capacity => $self->o('capacity'), # allow several workers to perform identical tasks in parallel
-analysis_capacity => $self->o('capacity'), # allow several workers to perform identical tasks in parallel
},
];
}
......
......@@ -125,7 +125,7 @@ sub pipeline_analyses {
'target_dir' => $self->o('target_dir'),
'cmd' => 'mysqldump '.$self->dbconn_2_mysql('source_db', 0).' '.$self->o('source_db','-dbname').($self->o('with_schema')?'':' -t').' #table_name# | gzip >#target_dir#/#table_name#.sql.gz',
},
-hive_capacity => $self->o('dumping_capacity'), # allow several workers to perform identical tasks in parallel
-analysis_capacity => $self->o('dumping_capacity'), # allow several workers to perform identical tasks in parallel
-input_ids => [
# (jobs for this analysis will be flown_into via branch-2 from 'get_tables' jobs above)
],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment