[Bioperl-l] Error message.

Andreas Kahari ak at ebi.ac.uk
Thu Sep 16 12:18:34 EDT 2004


On Thu, Sep 16, 2004 at 09:00:23AM -0700, Thomas J Keller wrote:
> The message I received had html markup (>) within the perl. I don't 
> know if it's present in his program. Obviously if it is, it is a syntax 
> error.


Also, we don't know what the error message actually says, or if
the code that was presented to us in fact was the complete code
of the program.  If it was, is lacks "use Bio::AlignIO;".

See the SYNOPSIS section of the documentation of Bio::AlignIO
for how to use the newFh() method.


    Cheers,
    Andreas


> >>my $in = new Bio::AlignIO ( -file => $ARGV[0], -format => 
> >>'clustalw' );
> >>
> >>my $out = newFh Bio::AlignIO ( -fh => \*STDOUT, -format => 
> >>'clustalw' );
> >>
> >>my $aln = $in->next_aln();
> >>
> >>
> vs
> 
> >my $in = new Bio::AlignIO ( -file => $ARGV[0], -format => 'clustalw' );
> >
> >my $out = newFh Bio::AlignIO ( -fh => \*STDOUT, -format => 'clustalw' 
> >);
> >
> >my $aln = $in->next_aln();

-- 
Andreas Kähäri
EMBL-EBI/ensembl

GnuPG: 1024D/C2E163CB, F4C4 A41A 665B 448A 3FA9  6AEA 12E3 39DA C2E1 63CB


More information about the Bioperl-l mailing list