Bio::EnsEMBL::Analysis::RunnableDB::ProteinAnnotation Seg
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
  Bio::EnsEMBL::Analysis::RunnableDB::ProteinAnnotation::Seg
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::Analysis::Runnable::ProteinAnnotation::Seg
Bio::EnsEMBL::Analysis::RunnableDB::ProteinAnnotation
Inherit
Bio::EnsEMBL::Analysis::RunnableDB::ProteinAnnotation
Synopsis
  my $seg = Bio::EnsEMBL::Analysis::RunnableDB::ProteinAnnotation::Seg->new ( -db      => $db,
-input_id => $input_id,
-analysis => $analysis,
);
$seg->fetch_input; # gets sequence from DB
$seg->run;
$seg->output;
$seg->write_output; # writes features to to DB
NB: The input_id can either be a peptide id or the location for a protein file.
Description
  This object wraps Bio::EnsEMBL::Analysis::Runnable::ProteinAnnotation::Seg
to add functionality to read and write to databases.
The query sequence is provided through the input_id.
The appropriate Bio::EnsEMBL::Analysis object
must be passed for extraction of parameters.
Methods
fetch_input
No description
Code
Methods description
None available.
Methods code
fetch_inputdescriptionprevnextTop
sub fetch_input {
  my ($self, @args) = @_;

  $self->SUPER::fetch_input(@args);

  my $run = Bio::EnsEMBL::Analysis::Runnable::ProteinAnnotation::Seg->new(-query     => $self->query,
                                                                          -analysis  => $self->analysis);
  $self->runnable($run);
}


1;
}
General documentation
CONTACTTop
  Marc Sohrmann: ms2@sanger.ac.uk
APPENDIXTop
  The rest of the documentation details each of the object methods. 
Internal methods are usually preceded with a _.