Hi all I am writing a script that gets a sequence from several hundred files containing genes from several database fasta files. I am reusing these database fasta files in a loop so it does not get reindexed.
However my code only works with 1 iteration.
The condition in the while loop "my $seq = $file->next_seq()" is not met after the first iteration and I am assuming that I may need to reset it. Does anyone know how I can go about this?
Thanks
Need to see more of the code to answer this properly.
why not delete the filehandle and create a new one?
Did you ask on the bioperl mailing list? It is a very active list.