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
=head1 NAME
=head1 SYNOPSIS Bio::EnsEMBL::Hive::PipeConfig::AnyCommands_conf -password <your_password> -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip pdfs/RondoAllaTurca_Mozart_Am.pdf; sleep 5'}" -url $HIVE_URL -url $HIVE_URL -logic_name perform_cmd -input_id "{'cmd' => 'gzip -d pdfs/RondoAllaTurca_Mozart_Am.pdf.gz ; sleep 4'}" -url $HIVE_URL
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.
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',
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