473,487 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bio::SeqIO module in for loop

5 New Member
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
Oct 29 '08 #1
5 1949
nithinpes
410 Recognized Expert Contributor
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.
Oct 29 '08 #2
aarusiva
5 New Member
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..
Oct 30 '08 #3
KevinADC
4,059 Recognized Expert Specialist
You might get better help with BioPerl specific questions from the BioPerl mailing list:

http://www.bioperl.org/wiki/Mailing_lists
Oct 30 '08 #4
aarusiva
5 New Member
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 ....
Oct 31 '08 #5
nithinpes
410 Recognized Expert Contributor
Thanks for your responce towords my doubt i am trying the url which you have mentioned here ....
The URL was not mentioned by me :)
Oct 31 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
7148
by: Carl Waldbieser | last post by:
I tried to adapt the instructions for building the M2Crypto module (http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version compatible with Python2.3, but I've had some mixed results....
4
2250
by: idorjee | last post by:
hi guys, i've a perl script which does fine when i execute it as follows on unix environment: bash-2.05$ perl <scriptname> But, when i used CGI to output the result a browser, i see nothing....
15
2746
by: idorjee | last post by:
can anyone please give me an example of how to use HTML::Form module and its method @values = $form->param( $name ) thanks alot.
16
3941
by: idorjee | last post by:
hi guys, can anyone tell me what's wrong with the following script. i can print $fasta_file on the browser, but i get an error saying i can't open the file ( $fasta_file) when it comes to this line:...
7
5759
by: Nandu123 | last post by:
Does anyone help me with the script of standalone blast that will execute the blastn, blastp and tblastx, with one script and e values, and hits, and score
0
1185
by: ltalanki | last post by:
Hi , I wrote the following script : $program = "blastx"; $db_ToBlast = "nr"; $output_file = "results.txt"; $input_file = "4599.fas"; $expect_value = 0.00000000001; $number_of_seq = 2;
3
1779
by: freshpetals | last post by:
Is there any way to download Modules of Bioperl ?? If yes how could I download Bio::Structure::IO::pdb module??
1
2835
by: freshpetals | last post by:
Hi.. I am trying to run a bioperl program but it is giving some strange errors.My program code is as follows: use Bio::SeqIO; use Bio::Tools::Run::StandAloneBlast; use Bio::DB::SwissProt; my...
1
2874
by: nb175 | last post by:
hi, I need help with my blast script. I need to specify that i need only the first ten hits, any idea how i could go about that?Thanks. here;s the script #! /usr/bin/perl use warnings; use...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7132
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7180
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.