Connecting Tech Pros Worldwide Help | Site Map

Bio::SeqIO module in for loop

Newbie
 
Join Date: Oct 2008
Posts: 5
#1: Oct 29 '08
Hi friends ...

Actually i am a beginner in perl i am using Bio::seqIO module for genbank file in a for loop, if the condition is below or equal to 10 (ten) the result is proper .. but when its crosses the limit 10 its not working properly its taking previous files sequence and next files limits to splice...

there is any limitations in that module ?

please help me friends

regards and thanks
siva
nithinpes's Avatar
Expert
 
Join Date: Dec 2007
Posts: 400
#2: Oct 29 '08

re: Bio::SeqIO module in for loop


Quote:

Originally Posted by aarusiva

Hi friends ...

Actually i am a beginner in perl i am using Bio::seqIO module for genbank file in a for loop, if the condition is below or equal to 10 (ten) the result is proper .. but when its crosses the limit 10 its not working properly its taking previous files sequence and next files limits to splice...

there is any limitations in that module ?

please help me friends

regards and thanks
siva

Probably you may have to undefine certain variables after looping in your script. But, can't predict anything without seeing your code. Post your code.
Newbie
 
Join Date: Oct 2008
Posts: 5
#3: Oct 30 '08

re: Bio::SeqIO module in for loop


Quote:

Originally Posted by nithinpes

Probably you may have to undefine certain variables after looping in your script. But, can't predict anything without seeing your code. Post your code.

hi ...

sorry i can't show fill part of my code ,but my code looks like below one ...
Expand|Select|Wrap|Line Numbers
  1. for($i=1;$i<=$no;$++)
  2. {
  3. my $filename = $session[$i].".txt";
  4.         my $seqobj = Bio::SeqIO->new( -format => 'GenBank',-file => $filename);
  5.         my $seq=$seqobj->next_seq();
  6. ....
  7.  
  8. etc...
  9. }
  10.  
thank you..
KevinADC's Avatar
Expert
 
Join Date: Jan 2007
Location: Southern California USA
Posts: 4,091
#4: Oct 30 '08

re: Bio::SeqIO module in for loop


You might get better help with BioPerl specific questions from the BioPerl mailing list:

http://www.bioperl.org/wiki/Mailing_lists
Newbie
 
Join Date: Oct 2008
Posts: 5
#5: Oct 31 '08

re: Bio::SeqIO module in for loop


Quote:

Originally Posted by KevinADC

You might get better help with BioPerl specific questions from the BioPerl mailing list:

http://www.bioperl.org/wiki/Mailing_lists

Thank you nithin
nithinpes ..

Thanks for your responce towords my doubt i am trying the url which you have mentioned here ....
nithinpes's Avatar
Expert
 
Join Date: Dec 2007
Posts: 400
#6: Oct 31 '08

re: Bio::SeqIO module in for loop


Quote:

Originally Posted by aarusiva

Thanks for your responce towords my doubt i am trying the url which you have mentioned here ....

The URL was not mentioned by me :)
Reply