I have installed activeperl in windows xp.
through Perl Package Manager i have installed BioPerl repositories.
but while trying to execute BioPerl program..
#!/usr/bin/env perl
use Bio::Seq;
use Bio::SeqIO;
# create a sequence object of some DNA
my $seq = Bio::Seq->new(-id => 'testseq', -seq => 'CATGTAGATAG');
# print out some details about it
print "seq is ", $seq->length, " bases long\n";
print "revcom seq is ", $seq->revcom->seq, "\n";
# write it to a file in Fasta format
my $out = Bio::SeqIO->new(-file => '>testseq.fsa', -format => 'Fasta');
$out->write_seq($seq);
the following error is coming
Cant locate Bio/Seq.pm in @INC <INC contains : C:/Perl/site/lib C:/Perl/lib.> at C:\Perl\bin\Sequence.pl line1.
BEGIN failed--compilation aborted at C:\Perl\bin\Sequence.pl line1.
what is the problem here??
How to identify whether BioPerl is installed or not???
Please guide me....
thanks & Regards
through Perl Package Manager i have installed BioPerl repositories.
but while trying to execute BioPerl program..
#!/usr/bin/env perl
use Bio::Seq;
use Bio::SeqIO;
# create a sequence object of some DNA
my $seq = Bio::Seq->new(-id => 'testseq', -seq => 'CATGTAGATAG');
# print out some details about it
print "seq is ", $seq->length, " bases long\n";
print "revcom seq is ", $seq->revcom->seq, "\n";
# write it to a file in Fasta format
my $out = Bio::SeqIO->new(-file => '>testseq.fsa', -format => 'Fasta');
$out->write_seq($seq);
the following error is coming
Cant locate Bio/Seq.pm in @INC <INC contains : C:/Perl/site/lib C:/Perl/lib.> at C:\Perl\bin\Sequence.pl line1.
BEGIN failed--compilation aborted at C:\Perl\bin\Sequence.pl line1.
what is the problem here??
How to identify whether BioPerl is installed or not???
Please guide me....
thanks & Regards
Comment