<html><div style='background-color:'><DIV class=RTE>Hello,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I'm using seqIO object to load a DNA sequence in a fasta-like format (">" + some info, in the header). The header doesn't contain any info about the length of the sequence. </DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$in = Bio::SeqIO->new(-file =>$fastaFile , '-format' => 'largefasta');<BR></DIV>
<DIV class=RTE>Then I load my sequence to a seq object</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>my $seq = $in->next_seq()</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>but when I try to get the length of the sequence I get 0</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$len=$seq.length(); #----> 0</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>so how to get simple length ?</DIV>
<DIV class=RTE> </DIV></div><br clear=all><hr>Don't just search. Find. <a href="http://g.msn.com/8HMBEN/2746??PS=47575" target="_top">MSN Search</a> Check out the new MSN Search!</html>