in reply to How do i write code for searching motifs in a FASTA file?

At first glance you are missing a semi-colon at the end of your open ... line.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: How do i write code for searching motifs in a FASTA file?
by Anonymous Monk on Nov 23, 2010 at 00:10 UTC
    Hi JohnGG Thanks for the feedback. I got it to work with the changes you suggested. btw have you any idea how to return the title line of a fasta file for each line the motif is found? thanks

      Sadly, I have no idea as I'm not in the bio-informatics line. Hopefully, the links provided by Sinistral and umasuresh will provide some answers.

      Cheers,

      JohnGG