ensembl-hive  2.8.1
AnyCommands_conf.pm
Go to the documentation of this file.
1 =pod
2 
3 =head1 NAME
4 
6 
7 =head1 SYNOPSIS
8 
9  init_pipeline.pl Bio::EnsEMBL::Hive::Examples::SystemCmd::PipeConfig::AnyCommands_conf -password <your_password>
10 
11  seed_pipeline.pl -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip pdfs/RondoAllaTurca_Mozart_Am.pdf; sleep 5'}"
12 
13  runWorker.pl -url $HIVE_URL
14 
15  seed_pipeline.pl -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip -d pdfs/RondoAllaTurca_Mozart_Am.pdf.gz ; sleep 4'}"
16 
17  runWorker.pl -url $HIVE_URL
18 
19 =head1 DESCRIPTION
20 
21  This is the smallest Hive pipeline example possible.
22  The pipeline has only one analysis, which can run any shell command defined in each job by setting its 'cmd' parameter.
23 
24 =head1 LICENSE
25 
26  See the NOTICE file distributed with this work for additional information
27  regarding copyright ownership.
28 
29  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
30  You may obtain a copy of the License at
31 
32  http://www.apache.org/licenses/LICENSE-2.0
33 
34  Unless required by applicable law or agreed to in writing, software distributed under the License
35  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36  See the License for the specific language governing permissions and limitations under the License.
37 
38 =head1 CONTACT
39 
40  Please subscribe to the Hive mailing list: http://listserver.ebi.ac.uk/mailman/listinfo/ehive-users to discuss Hive-related questions or to be notified of our updates
41 
42 =cut
43 
44 
45 package Bio::EnsEMBL::Hive::Examples::SystemCmd::PipeConfig::AnyCommands_conf;
46 
47 use strict;
48 use warnings;
49 use base ('Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf');
50 
51 
52 sub pipeline_analyses {
53  return [
54  { -logic_name => 'perform_cmd',
55  -module => 'Bio::EnsEMBL::Hive::RunnableDB::SystemCmd',
56  },
57  ];
58 }
59 
60 1;
61 
Bio::EnsEMBL::Hive::Examples::SystemCmd::PipeConfig::AnyCommands_conf
Definition: AnyCommands_conf.pm:27
run
public run()