Commit 6760af44 authored by Leo Gordon's avatar Leo Gordon
Browse files

The smallest Hive pipeline example possible. Just one SystemCmd-based analysis.

parent 8cf4b04b
=pod
=head1 NAME
Bio::EnsEMBL::Hive::PipeConfig::AnyCommands_conf
=head1 SYNOPSIS
init_pipeline.pl Bio::EnsEMBL::Hive::PipeConfig::AnyCommands_conf -password <your_password>
seed_pipeline.pl -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip pdfs/RondoAllaTurca_Mozart_Am.pdf; sleep 5'}"
runWorker.pl -url $HIVE_URL
seed_pipeline.pl -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip -d pdfs/RondoAllaTurca_Mozart_Am.pdf.gz ; sleep 4'}"
runWorker.pl -url $HIVE_URL
=head1 DESCRIPTION
This is the smallest Hive pipeline example possible.
The pipeline has only one analysis, which can run any shell command defined in each job by setting its 'cmd' parameter.
=cut
package Bio::EnsEMBL::Hive::PipeConfig::AnyCommands_conf;
use strict;
use warnings;
use base ('Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf');
sub pipeline_analyses {
return [
{ -logic_name => 'perform_cmd',
-module => 'Bio::EnsEMBL::Hive::RunnableDB::SystemCmd',
},
];
}
1;
Markdown is supported
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