3 See the NOTICE file distributed with
this work
for additional information
4 regarding copyright ownership.
6 Licensed under the Apache License, Version 2.0 (the
"License");
7 you may not use
this file except in compliance with the License.
8 You may obtain a copy of the License at
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an
"AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License
for the specific language governing permissions and
16 limitations under the License.
20 package Bio::EnsEMBL::Hive::Examples::QPT::PipeConfig::AAA_conf;
25 use base (
'Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf'); # All Hive databases configuration files should inherit from HiveGeneric, directly or indirectly
30 sub pipeline_create_commands {
33 @{$self->SUPER::pipeline_create_commands}, # inheriting database and hive tables
' creation
35 # additional tables needed for long multiplication pipeline's operation:
36 $self->db_cmd(
'CREATE TABLE final_result (a_multiplier varchar(40) NOT NULL, b_multiplier varchar(40) NOT NULL, result varchar(80) NOT NULL, PRIMARY KEY (a_multiplier, b_multiplier))'),
41 sub pipeline_analyses {
45 { -logic_name =>
'call_BBB',
46 -module =>
'Bio::EnsEMBL::Hive::RunnableDB::Dummy',
48 {
'a_multiplier' =>
'9650156169',
'b_multiplier' =>
'327358788' },
49 {
'a_multiplier' =>
'327358788',
'b_multiplier' =>
'9650156169' },
52 '1->A' => $self->o(
'BBB_url').
'?logic_name=call_CCC_or_DDD',
53 'A->1' =>
'AAA_funnel',
57 { -logic_name =>
'AAA_funnel',
58 -module =>
'Bio::EnsEMBL::Hive::RunnableDB::Dummy',
60 2 =>
'?table_name=final_result',