Bio::SeqIO module in for loop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aarusiva
    New Member
    • Oct 2008
    • 5

    Bio::SeqIO module in for loop

    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
    Recognized Expert Contributor
    • Dec 2007
    • 410

    #2
    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.

    Comment

    • aarusiva
      New Member
      • Oct 2008
      • 5

      #3
      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 ...
      Code:
      for($i=1;$i<=$no;$++)
      {
      my $filename = $session[$i].".txt";
              my $seqobj = Bio::SeqIO->new( -format => 'GenBank',-file => $filename);
              my $seq=$seqobj->next_seq();
      ....
      
      etc...
      }
      thank you..
      Last edited by numberwhun; Oct 30 '08, 12:43 PM. Reason: Please use code tags

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

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

        Comment

        • aarusiva
          New Member
          • Oct 2008
          • 5

          #5
          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 ....

          Comment

          • nithinpes
            Recognized Expert Contributor
            • Dec 2007
            • 410

            #6
            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 :)

            Comment

            Working...