On Thu, Oct 29, 2009 at 9:23 PM, Jyoti <jcutiep...@gmail.com> wrote: > Hello All, > > I just want help to open and read a file. I have to make a script so that it > should open and read a file which is in fasta format. I have done something > with subroutine but getting some errors. May be everyone do not know the > fasta format.... > Fasta format have peculiar feature: its starts with symbol " > " and > contains alpabets and numbers. So acc to that code have been given... > > Can anyone please check the code n lemme know changes please!!! > > Thanks...
I might be missing something (maybe sleep) but I think there are tools for reading Fasta files in the Bioperl package and I think you are using that already. See this description: http://search.cpan.org/~birney/bioperl-1.4/Bio/DB/Fasta.pm Gabor -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/