[Bioperl-l] Bio::SeqIO fastq

Hang hangsyin at gmail.com
Wed Feb 20 00:20:18 UTC 2008


Hi,

I'd like to read and write fastq entry. I don't know what is wrong with the
following code:

use Bio::SeqIO;
my $in = Bio::SeqIO->new(-format => "fastq",
                                    -file => "test.fq");
while( my $seq = $in->next_seq ) {
   my $qual = $seq->qual;
   print $qual;
}

my test.fq file:
@test
AAAAA
+test
IIIII

I got "Can't locate method 'qual' via package "AAAAA", perhaps you forgot to
load "AAAAA?" at line XX ".

Thanks
Hang

-- 
View this message in context: http://www.nabble.com/Bio%3A%3ASeqIO-fastq-tp15579570p15579570.html
Sent from the Perl - Bioperl-L mailing list archive at Nabble.com.




More information about the Bioperl-l mailing list