Raw content of Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter # Ensembl module for Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter # # Copyright (c) 2007 Ensembl # =head1 NAME Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter =head1 SYNOPSIS my $runnable = Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter->new ( -db => $db, -input_id => 'chromosome::20:1:100000:1', -analysis => $analysis, ); $runnable->fetch_input; $runnable->run; $runnable->write_output; =head1 DESCRIPTION This module provides an interface between the ensembl database and the Runnable Splitter which wraps the command line version of the Splitter program (http://zlab.bu.edu/splitter) =head1 LICENCE This code is distributed under an Apache style licence. Please see /info/about/code_licence.html for details. =head1 AUTHOR Stefan Graf, Ensembl Functional Genomics - =head1 CONTACT Post questions to the Ensembl development list: ensembl-dev@ebi.ac.uk =cut package Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter; use strict; use warnings; use Data::Dumper; use Bio::EnsEMBL::Analysis::RunnableDB; use Bio::EnsEMBL::Analysis::RunnableDB::Funcgen; use Bio::EnsEMBL::Analysis::Runnable::Funcgen::Splitter; use Bio::EnsEMBL::Analysis::Config::General; use Bio::EnsEMBL::Analysis::Config::Funcgen::Splitter; use Bio::EnsEMBL::Utils::Exception qw(throw warning); use vars qw(@ISA); @ISA = qw(Bio::EnsEMBL::Analysis::RunnableDB::Funcgen); =head2 new Arg [1] : Arg [2] : Description : Instantiates new Splitter runnabledb Returntype : Bio::EnsEMBL::Analysis::RunnableDB::Funcgen::Splitter object Exceptions : Example : =cut sub new { print "Analysis::RunnableDB::Funcgen::Splitter::new\n"; my ($class,@args) = @_; my $self = $class->SUPER::new(@args); $self->read_and_check_config($CONFIG); # add some runnable/program special params to analysis here # make sure we have the correct analysis object $self->check_Analysis(); # make sure we can store the correct feature_set, data_sets, and result_sets $self->check_Sets(); return $self; } 1;