None available.
sub _convert_single
{ my ($self, $input) = @_;
$input || $self->throw("a input object needed");
$self->throw("a Bio::Tools::Prediction::Exon object needed")
unless($input->isa("Bio::Tools::Prediction::Exon"));
my $output = Bio::EnsEMBL::Exon->new(
-start => $input->start,
-end => $input->end,
-strand => $input->strand
);
$output->score($input->score);
$output->p_value($input->significance);
$output->phase($input->get_tag_values("phase")); $output->end_phase($input->get_tag_values("end_phase"));
$output->contig($self->contig);
return $output;
}
1; } |
my $converter = new Bio::EnsEMBL::Utils::Converter(
-in => 'Bio::Tools::Prediction::Exon',
-out => 'Bio::EnsEMBL::Exon',
-contig => $ens_contig
);