[Bioperl-l] translate() oddities

Laurent DOUCHY l.douchy at gmail.com
Tue Apr 29 14:16:40 UTC 2008


Hello,

I resolved this issue in Bio::seqIO with the following line :

my $sequence = $seq->translate('*', 'X', '0', '1', '0', '0', '0', '0')->seq;
the third parameter set the frame.

I hope to have been helpful.

laurent.

On Tue, Apr 29, 2008 at 3:58 PM, Tristan Lefebure <
tristan.lefebure at gmail.com> wrote:

> Aren't you forgetting the dash?
>
> my $frame1_obj = $seqobj->translate(-frame => 1)
>
>
> On Tuesday 29 April 2008 08:21:05 Derek Gatherer wrote:
> > my $frame1_obj = $seqobj->translate(frame => 1)
>
>
>
> -Tristan
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>



More information about the Bioperl-l mailing list